Struct truck_rendimpl::WireFrameInstance [−][src]
pub struct WireFrameInstance { /* fields omitted */ }Expand description
Wire frame rendering
Implementations
Clone the instance as another drawn element.
Returns the wireframe state
Returns the mutable reference to wireframe state
Trait Implementations
fn vertex_buffer(
&self,
_: &DeviceHandler
) -> (Arc<BufferHandler>, Option<Arc<BufferHandler>>)
fn vertex_buffer(
&self,
_: &DeviceHandler
) -> (Arc<BufferHandler>, Option<Arc<BufferHandler>>)
Creates the pair (vertex buffer, index buffer).
Creates the bind group layout.
Creates the bind group in set = 1.
fn pipeline(
&self,
handler: &DeviceHandler,
layout: &PipelineLayout,
scene_desc: &SceneDescriptor
) -> Arc<RenderPipeline>
fn pipeline(
&self,
handler: &DeviceHandler,
layout: &PipelineLayout,
scene_desc: &SceneDescriptor
) -> Arc<RenderPipeline>
Creates the render pipeline.
type State = WireFrameState
type State = WireFrameState
Configuation deacriptor for instance.
Creates Instance from self.
type State = WireFrameState
type State = WireFrameState
Configuation deacriptor for instance.
Creates Instance from self.
type State = WireFrameState
type State = WireFrameState
Configuation deacriptor for instance.
fn to_instance(
&self,
handler: &DeviceHandler,
shaders: &WireShaders,
state: &WireFrameState
) -> WireFrameInstance
fn to_instance(
&self,
handler: &DeviceHandler,
shaders: &WireShaders,
state: &WireFrameState
) -> WireFrameInstance
Creates Instance from self.
type State = WireFrameState
type State = WireFrameState
Configuation deacriptor for instance.
fn to_instance(
&self,
handler: &DeviceHandler,
shaders: &WireShaders,
state: &WireFrameState
) -> WireFrameInstance
fn to_instance(
&self,
handler: &DeviceHandler,
shaders: &WireShaders,
state: &WireFrameState
) -> WireFrameInstance
Creates Instance from self.
type State = WireFrameState
type State = WireFrameState
Configuation deacriptor for instance.
fn to_instance(
&self,
handler: &DeviceHandler,
shaders: &WireShaders,
state: &WireFrameState
) -> WireFrameInstance
fn to_instance(
&self,
handler: &DeviceHandler,
shaders: &WireShaders,
state: &WireFrameState
) -> WireFrameInstance
Creates Instance from self.