Safe Haskell | Safe-Infered |
---|
Documentation
data EnumStencilOperation Source
SOP_KEEP | Leave the stencil buffer unchanged. |
SOP_ZERO | Set the stencil value to zero. |
SOP_REPLACE | Set the stencil value to the reference value. |
SOP_INCREMENT | Increase the stencil value by 1, clamping at the maximum value. |
SOP_DECREMENT | Decrease the stencil value by 1, clamping at 0. |
SOP_INCREMENT_WRAP | Increase the stencil value by 1, wrapping back to 0 when incrementing the maximum value. |
SOP_DECREMENT_WRAP | Decrease the stencil value by 1, wrapping when decrementing 0. |
SOP_INVERT | Invert the bits of the stencil buffer. |