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