#[repr(i32)]
pub enum FrontFace {
CounterClockwise,
Clockwise,
}
Expand description
Specifies which triangle orientation corresponds to the front or the triangle.
Variants
CounterClockwise
Triangles whose vertices are oriented counter-clockwise on the screen will be considered as facing their front. Otherwise they will be considered as facing their back.
Clockwise
Triangles whose vertices are oriented clockwise on the screen will be considered as facing their front. Otherwise they will be considered as facing their back.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FrontFace
impl UnwindSafe for FrontFace
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.