Enum StencilOperation
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
Identifies an action taken on samples that pass or fail the stencil test.
public enum StencilOperation : byte
Fields
DecrementAndClamp = 4Decrements the existing value and clamps it to 0.
DecrementAndWrap = 7Decrements the existing value and wraps it to the maximum representable unsigned value if it would be reduced below 0.
IncrementAndClamp = 3Increments the existing value and clamps it to the maximum representable unsigned value.
IncrementAndWrap = 6Increments the existing value and wraps it to 0 when it exceeds the maximum representable unsigned value.
Invert = 5Bitwise-inverts the existing value.
Keep = 0Keep the existing value.
Replace = 2Replaces the existing value with StencilReference.
Zero = 1Sets the value to 0.