Enum StencilOperation
Defines a type of operation to perform when masking using the stencil buffer.
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public enum StencilOperation
Fields
Name | Description |
---|---|
Decrement | Decrement the stencil value by 1, and wrap the result if necessary. |
DecrementClamp | Decrement the stencil value by 1, and clamp the result. |
Increment | Increment the stencil value by 1, and wrap the result if necessary. |
IncrementClamp | 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 set by calling ID3D11DeviceContext::OMSetDepthStencilState. |
Zero | Set the stencil data to 0. |