pub enum Culling {
CullFace,
Front,
Back,
FrontAndBack,
}
Expand description
Constants passed to WebGLRenderingContext.cullFace().
Variants
CullFace
Passed to enable/disable to turn on/off culling. Can also be used with getParameter to find the current culling method.
Front
Passed to cullFace to specify that only front faces should be drawn.
Back
Passed to cullFace to specify that only back faces should be drawn.
FrontAndBack
Passed to cullFace to specify that front and back faces should be drawn.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Culling
impl Send for Culling
impl Sync for Culling
impl Unpin for Culling
impl UnwindSafe for Culling
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more