Enum conrod::backend::glium::glium::StencilOperation [] [src]

#[repr(u32)]
pub enum StencilOperation { Keep, Zero, Replace, Increment, IncrementWrap, Decrement, DecrementWrap, Invert, }

Specificies which operation the GPU will do depending on the result of the stencil test.

Variants

Keeps the value currently in the stencil buffer.

Writes zero in the stencil buffer.

Writes the reference value (stencil_reference_value_clockwise or stencil_reference_value_counter_clockwise) in the stencil buffer.

Increments the value currently in the stencil buffer. If the value is the maximum, don't do anything.

Increments the value currently in the stencil buffer. If the value is the maximum, wrap to 0.

Decrements the value currently in the stencil buffer. If the value is 0, don't do anything.

Decrements the value currently in the stencil buffer. If the value is 0, wrap to -1.

Inverts each bit of the value.

Trait Implementations

impl Copy for StencilOperation
[src]

impl Clone for StencilOperation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<StencilOperation> for StencilOperation
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Debug for StencilOperation
[src]

[src]

Formats the value using the given formatter.

impl Eq for StencilOperation
[src]