Enum StencilOperation
The stencil operations that can be performed during depth and stencil testing.
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public enum StencilOperation : byte
Fields
Name | Description |
---|---|
Decrement | Decrements the stencil value by 1, and wraps the result if necessary. |
DecrementSaturation | Decrements the stencil value by 1 and clamps the result. |
Increment | Increments the stencil value by 1 and wraps the result if necessary. |
IncrementSaturation | Increments the stencil value by 1 and clamps the result. |
Invert | Inverts the stencil data. |
Keep | Keeps the existing stencil data. |
Replace | Sets the stencil data to the reference value. |
Zero | Sets the stencil data to 0. |