Struct amethyst_renderer::ShapePrefab[][src]

pub struct ShapePrefab<V> { /* fields omitted */ }

Prefab for generating Mesh from basic shapes

Type parameters:

V: Vertex format to use, must be one of: * Vec<PosTex> * Vec<PosNormTex> * Vec<PosNormTangTex> * ComboMeshCreator

Trait Implementations

impl<V: Clone> Clone for ShapePrefab<V>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, V> PrefabData<'a> for ShapePrefab<V> where
    V: From<InternalShape> + Into<MeshData>, 
[src]

SystemData needed to perform the load

The result type returned by the load operation

Load the data for this prefab onto the given Entity Read more

Trigger asset loading for any sub assets. Read more

Auto Trait Implementations

impl<V> Send for ShapePrefab<V> where
    V: Send

impl<V> Sync for ShapePrefab<V> where
    V: Sync