pub enum Semantic {
Extras(String),
Positions,
Normals,
Tangents,
Colors(u32),
TexCoords(u32),
Joints(u32),
Weights(u32),
}
Expand description
Vertex attribute semantic name.
Variants
Extras(String)
Extra attribute name.
Positions
XYZ vertex positions.
Normals
XYZ vertex normals.
Tangents
XYZW vertex tangents where the w
component is a sign value indicating the
handedness of the tangent basis.
Colors(u32)
RGB or RGBA vertex color.
TexCoords(u32)
UV texture co-ordinates.
Joints(u32)
Joint indices.
Weights(u32)
Joint weights.
Trait Implementations
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Semantic
impl UnwindSafe for Semantic
Blanket Implementations
Mutably borrows from an owned value. Read more