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]

[src]

Formats the value using the given formatter.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.