Enum D3D11StencilOperation
The stencil operations that can be performed during depth-stencil testing.
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public enum D3D11StencilOperation
Fields
Name | Description |
---|---|
Decrement | Decrement the stencil value by 1, and wrap the result if necessary. |
DecrementSaturate | Decrement the stencil value by 1, and clamp the result. |
Increment | Increment the stencil value by 1, and wrap the result if necessary. |
IncrementSaturate | Increment the stencil value by 1, and clamp the result. |
Invert | Invert the stencil data. |
Keep | Keep the existing stencil data. |
None | No value. |
Replace | Set the stencil data to the reference value. |
Zero | Set the stencil data to 0. |