pub enum Culling {
CullFace = 2_884,
Front = 1_028,
Back = 1_029,
FrontAndBack = 1_032,
}Expand description
Constants passed to WebGLRenderingContext.cullFace().
Variants§
CullFace = 2_884
Passed to enable/disable to turn on/off culling. Can also be used with getParameter to find the current culling method.
Front = 1_028
Passed to cullFace to specify that only front faces should be drawn.
Back = 1_029
Passed to cullFace to specify that only back faces should be drawn.
FrontAndBack = 1_032
Passed to cullFace to specify that front and back faces should be drawn.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Culling
impl RefUnwindSafe for Culling
impl Send for Culling
impl Sync for Culling
impl Unpin for Culling
impl UnwindSafe for Culling
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