Enum gfx_core::state::StencilOp  
            
                [−]
            
        [src]
pub enum StencilOp {
    Keep,
    Zero,
    Replace,
    IncrementClamp,
    IncrementWrap,
    DecrementClamp,
    DecrementWrap,
    Invert,
}Stencil mask operation.
Variants
Keep | Keep the current value in the stencil buffer (no change).  | |
Zero | Set the value in the stencil buffer to zero.  | |
Replace | Set the stencil buffer value to   | |
IncrementClamp | Increment the stencil buffer value, clamping to its maximum value.  | |
IncrementWrap | Increment the stencil buffer value, wrapping around to 0 on overflow.  | |
DecrementClamp | Decrement the stencil buffer value, clamping to its minimum value.  | |
DecrementWrap | Decrement the stencil buffer value, wrapping around to the maximum value on overflow.  | |
Invert | Bitwise invert the current value in the stencil buffer.  |