Enum StencilOperation
Defines stencil buffer operations.
public enum StencilOperation
Fields
Decrement = 4Decrements the stencil buffer entry, wrapping to the maximum value if the new value is less than 0.
DecrementSaturation = 6Decrements the stencil buffer entry, clamping to 0.
Increment = 3Increments the stencil buffer entry, wrapping to 0 if the new value exceeds the maximum value.
IncrementSaturation = 5Increments the stencil buffer entry, clamping to the maximum value.
Invert = 7Inverts the bits in the stencil buffer entry.
Keep = 0Does not update the stencil buffer entry.
Replace = 2Replaces the stencil buffer entry with a reference value.
Zero = 1Sets the stencil buffer entry to 0.