pub enum VertexFormat {
Position,
PositionTexture,
PositionNormal,
PositionTextureNormal,
}
Expand description
Description of vertex format.
Variants§
Position
Vertex contains position coordinates.
PositionTexture
Vertex contains position and texture coordinates.
PositionNormal
Vertex contains position and normal coordinates.
PositionTextureNormal
Vertex contains both position, texture and normal coordinates.
Auto Trait Implementations§
impl Freeze for VertexFormat
impl RefUnwindSafe for VertexFormat
impl Send for VertexFormat
impl Sync for VertexFormat
impl Unpin for VertexFormat
impl UnwindSafe for VertexFormat
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