pub enum Semantic {
Positions,
Normals,
Tangents,
Colors(u32),
TexCoords(u32),
Joints(u32),
Weights(u32),
}
Expand description
Vertex attribute semantic name.
Variants§
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 PartialOrd for Semantic
impl PartialOrd for Semantic
impl Eq for Semantic
impl StructuralPartialEq for Semantic
Auto Trait Implementations§
impl Freeze for Semantic
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