Enum StencilOperationValue
- Namespace
- ShadowDusk.Core
- Assembly
- ShadowDusk.Core.dll
What happens to a stencil value on a test outcome (mirrors MonoGame's StencilOperation ordinals).
public enum StencilOperationValue
Fields
Decrement = 4Decrement the stencil value, wrapping on underflow.
DecrementSaturation = 6Decrement the stencil value, clamping at zero.
Increment = 3Increment the stencil value, wrapping on overflow.
IncrementSaturation = 5Increment the stencil value, clamping at the maximum.
Invert = 7Bitwise-invert the stencil value.
Keep = 0Keep the existing stencil value.
Replace = 2Replace the stencil value with the reference value.
Zero = 1Set the stencil value to zero.