Enum glium::draw_parameters::StencilOperation
[−]
[src]
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
Keep | Keeps the value currently in the stencil buffer. |
Zero | Writes zero in the stencil buffer. |
Replace | Writes the reference value ( |
Increment | Increments the value currently in the stencil buffer. If the value is the maximum, don't do anything. |
IncrementWrap | Increments the value currently in the stencil buffer. If the value is the
maximum, wrap to |
Decrement | Decrements the value currently in the stencil buffer. If the value is |
DecrementWrap | Decrements the value currently in the stencil buffer. If the value is |
Invert | Inverts each bit of the value. |