[−][src]Trait truck_rendimpl::IntoInstance
The trait for generate PolygonInstance
from PolygonMesh
and StructuredMesh
, and
ShapeInstance
from Shell
and Solid
.
Associated Types
Loading content...Implementors
impl IntoInstance for PolygonMesh
[src]
type Instance = PolygonInstance
fn into_instance(
&self,
device: &Device,
desc: InstanceDescriptor
) -> Self::Instance
[src]
&self,
device: &Device,
desc: InstanceDescriptor
) -> Self::Instance
fn update_instance(&self, device: &Device, instance: &mut Self::Instance)
[src]
impl IntoInstance for StructuredMesh
[src]
type Instance = PolygonInstance
fn into_instance(
&self,
device: &Device,
desc: InstanceDescriptor
) -> Self::Instance
[src]
&self,
device: &Device,
desc: InstanceDescriptor
) -> Self::Instance
fn update_instance(&self, device: &Device, instance: &mut Self::Instance)
[src]
impl IntoInstance for Shell
[src]
type Instance = ShapeInstance
fn into_instance(
&self,
device: &Device,
desc: InstanceDescriptor
) -> ShapeInstance
[src]
&self,
device: &Device,
desc: InstanceDescriptor
) -> ShapeInstance
fn update_instance(&self, device: &Device, instance: &mut ShapeInstance)
[src]
impl IntoInstance for Solid
[src]
type Instance = ShapeInstance
fn into_instance(
&self,
device: &Device,
desc: InstanceDescriptor
) -> ShapeInstance
[src]
&self,
device: &Device,
desc: InstanceDescriptor
) -> ShapeInstance