pub enum Cull {
None,
Back,
Front,
FrontAndBack,
}
Expand description
Defines whether the triangles that are backfacing, frontfacing, both or none should be rendered in a render call.
Variants§
None
Render both front- and backfacing triangles.
Back
Render only frontfacing triangles.
Front
Render only backfacing triangles.
FrontAndBack
Render nothing.
Trait Implementations§
impl Copy for Cull
impl StructuralPartialEq for Cull
Auto Trait Implementations§
impl Freeze for Cull
impl RefUnwindSafe for Cull
impl Send for Cull
impl Sync for Cull
impl Unpin for Cull
impl UnwindSafe for Cull
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