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
Public Enum Keep
Leaves the stored stencil value unchanged.
Public Enum Zero
Sets the stored stencil value to zero.
Public Enum Replace
Replaces the stored stencil value with the current stencil reference value.
Public Enum IncrementAndClamp
Increments the stored stencil value and clamps it at the maximum representable value.
Public Enum DecrementAndClamp
Decrements the stored stencil value and clamps it at zero.
Public Enum IncrementAndWrap
Increments the stored stencil value and wraps to zero if the maximum representable value is exceeded.
Public Enum DecrementAndWrap
Decrements the stored stencil value and wraps to the maximum representable value if zero is decremented.
Public Enum Invert
Bitwise inverts the stored stencil value.

See also