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§
source§impl PartialEq<Semantic> for Semantic
impl PartialEq<Semantic> for Semantic
source§impl Serialize for Semantic
impl Serialize for Semantic
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
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