Enum sierra::StencilOp [−][src]
pub enum StencilOp { Keep, Zero, Replace, IncrementAndClamp, DecrementAndClamp, Invert, IncrementAndWrap, DecrementAndWrap, }
Expand description
Defines what operation should be peformed on value in stencil buffer.
Variants
Keep the current value.
Write 0.
Replace value with reference value.
Increment value and clamp it to maximum value representable in stencil buffer format.
Decrement value and clamp to 0.
Invert all bits.
Increment value and wrap to 0 if maximum value representable in stencil buffer format would be exeeded.
Decrement value and wraps to maximum value representable in stencil buffer format if value would go below 0.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StencilOp
impl UnwindSafe for StencilOp
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more