Enum luminance::depth_stencil::StencilOp [−][src]
pub enum StencilOp {
Keep,
Zero,
Replace,
Increment,
IncrementWrap,
Decrement,
DecrementWrap,
Invert,
}
Expand description
Possible stencil operations.
Variants
Keep
Keep the current value.
Zero
Set the stencil value to zero.
Replace
Replace the stencil value.
Increment
Increment the stencil value.
If the stencil value reaches the maximum possible value, it is clamped.
IncrementWrap
Increment the stencil value.
If the stencil value reaches the maximum possible value, it wraps around back to 0
.
Decrement
Decrement the stencil value.
If the stencil value reaches 0, it is clamped.
DecrementWrap
Decrement the stencil value.
If the stencil value reaches 0, it wraps back to the maximum value.
Invert
Bit-wise inversion.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StencilOp
impl UnwindSafe for StencilOp
Blanket Implementations
Mutably borrows from an owned value. Read more