Enum StencilOperation
Identifies an action taken on samples that pass or fail the stencil test.
Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public enum StencilOperation : byte
Fields
Name | Description |
---|---|
DecrementAndClamp | Decrements the existing value and clamps it to 0. |
DecrementAndWrap | Decrements the existing value and wraps it to the maximum representable unsigned value if it would be reduced below 0. |
IncrementAndClamp | Increments the existing value and clamps it to the maximum representable unsigned value. |
IncrementAndWrap | Increments the existing value and wraps it to 0 when it exceeds the maximum representable unsigned value. |
Invert | Bitwise-inverts the existing value. |
Keep | Keep the existing value. |
Replace | Replaces the existing value with StencilReference. |
Zero | Sets the value to 0. |