Enum glenum::Culling [] [src]

pub enum Culling {
    CullFace,
    Front,
    Back,
    FrontAndBack,
}

Constants passed to WebGLRenderingContext.cullFace().

Variants

Passed to enable/disable to turn on/off culling. Can also be used with getParameter to find the current culling method.

Passed to cullFace to specify that only front faces should be drawn.

Passed to cullFace to specify that only back faces should be drawn.

Passed to cullFace to specify that front and back faces should be drawn.

Trait Implementations

impl Debug for Culling
[src]

[src]

Formats the value using the given formatter.

impl Clone for Culling
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Culling
[src]