Enum amethyst_renderer::MeshData[][src]

pub enum MeshData {
    PosColor(Vec<PosColor>),
    PosTex(Vec<PosTex>),
    PosNormTex(Vec<PosNormTex>),
    PosNormTangTex(Vec<PosNormTangTex>),
    Creator(Box<MeshCreator>),
}

Mesh data for loading

Variants

Position and color

Position and texture coordinates

Position, normal and texture coordinates

Position, normal, tangent and texture coordinates

Create a mesh from a given creator

Trait Implementations

impl Debug for MeshData
[src]

Formats the value using the given formatter. Read more

impl Clone for MeshData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Vec<PosColor>> for MeshData
[src]

Performs the conversion.

impl From<Vec<PosTex>> for MeshData
[src]

Performs the conversion.

impl From<Vec<PosNormTex>> for MeshData
[src]

Performs the conversion.

impl From<Vec<PosNormTangTex>> for MeshData
[src]

Performs the conversion.

impl<M> From<M> for MeshData where
    M: MeshCreator
[src]

Performs the conversion.

impl<'a> PrefabData<'a> for 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 Send for MeshData

impl Sync for MeshData