Enum glenum::Culling
[−]
[src]
pub enum Culling { CullFace, Front, Back, FrontAndBack, }
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
impl Debug for Culling
[src]
impl Clone for Culling
[src]
fn clone(&self) -> Culling
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more