Enum lux::graphics::StencilType [] [src]

pub enum StencilType {
    Deny,
    Allow,
}

When modifying a stencil or clearing the stencil buffer, operations require a StencilType.

Variants

Deny

Deny blacklists pixels on the screen when drawing or clearing.

Allow

Deny whitelists pixels on the screen when drawing or clearing.

Methods

impl StencilType

fn inverse(&self) -> StencilType

Returns the opposite of this stencil type.

Trait Implementations

Derived Implementations

impl Copy for StencilType

impl Clone for StencilType

fn clone(&self) -> StencilType

fn clone_from(&mut self, source: &Self)