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 Ord for Semantic
impl Ord for Semantic
source§impl PartialEq for Semantic
impl PartialEq for Semantic
source§impl PartialOrd for Semantic
impl PartialOrd for Semantic
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Semantic
impl StructuralEq for Semantic
impl StructuralPartialEq for Semantic
Auto Trait Implementations§
impl RefUnwindSafe for Semantic
impl Send for Semantic
impl Sync for Semantic
impl Unpin for Semantic
impl UnwindSafe for Semantic
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more