| StencilAction Enumeration |
The stencil test actions
Namespace: Aspose.ThreeD.RenderAssembly: Aspose.3D (in Aspose.3D.dll) Version: 20.3.0.0 (20.3)
Syntaxpublic enum StencilAction
Public Enumeration StencilAction
public enum class StencilAction
Members|
| Member name | Value | Description |
|---|
| Keep | 0 |
Keep the current value
|
| Zero | 1 |
Sets the stencil buffer value to 0
|
| Replace | 2 |
Sets the stencil buffer to ref where defined in StencilReference |
| Increment | 3 |
Increments the current stencil buffer value, clamps to maximum value.
|
| IncrementWrap | 4 |
Increments the current stencil buffer value and wrap it to zero when it reaches maximum value.
|
| Decrement | 5 |
Increments the current stencil buffer value, clamps to 0.
|
| DecrementWrap | 6 |
Decrements the current stencil buffer value and wrap it to maximum value when it reaches zero.
|
| Invert | 7 |
Bitwise inverts the current stencil buffer value.
|
See Also