Home -> IStateGroupNode -> StencilOperation
Description
The StencilOperation enumeration specifies how a stored stencil value is modified when a stencil-related test path is taken.
Members
| Name | Description | |
|---|---|---|
| Keep |
Leaves the stored stencil value unchanged.
|
|
| Zero |
Sets the stored stencil value to zero.
|
|
| Replace |
Replaces the stored stencil value with the current stencil reference value.
|
|
| IncrementAndClamp |
Increments the stored stencil value and clamps it at the maximum representable value.
|
|
| DecrementAndClamp |
Decrements the stored stencil value and clamps it at zero.
|
|
| IncrementAndWrap |
Increments the stored stencil value and wraps to zero if the maximum representable value is exceeded.
|
|
| DecrementAndWrap |
Decrements the stored stencil value and wraps to the maximum representable value if zero is decremented.
|
|
| Invert |
Bitwise inverts the stored stencil value.
|