Enum gltf::Semantic[][src]

pub enum Semantic {
    Positions,
    Normals,
    Tangents,
    Colors(u32),
    TexCoords(u32),
    Joints(u32),
    Weights(u32),
}

Vertex attribute semantic name.

Variants

XYZ vertex positions.

XYZ vertex normals.

XYZW vertex tangents where the w component is a sign value indicating the handedness of the tangent basis.

RGB or RGBA vertex color.

UV texture co-ordinates.

Joint indices.

Joint weights.

Trait Implementations

impl Hash for Semantic
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Serialize for Semantic
[src]

Serialize this value into the given Serde serializer. Read more

impl ToString for Semantic
[src]

Converts the given value to a String. Read more

impl Clone for Semantic
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Semantic
[src]

Formats the value using the given formatter. Read more

impl Eq for Semantic
[src]

impl PartialEq<Semantic> for Semantic
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Semantic

impl Sync for Semantic