Home -> IStateGroupNode -> StencilComparisonFunction

Description

The StencilComparisonFunction enumeration specifies the comparison operation used by the stencil test when stencil testing is enabled.

Members

Name Description
Public Enum Never
The stencil test always fails.
Public Enum Equal
The stencil test passes when the incoming value is equal to the stored or reference value.
Public Enum NotEqual
The stencil test passes when the incoming value is not equal to the stored or reference value.
Public Enum Less
The stencil test passes when the incoming value is less than the stored or reference value.
Public Enum LessOrEqual
The stencil test passes when the incoming value is less than or equal to the stored or reference value.
Public Enum Greater
The stencil test passes when the incoming value is greater than the stored or reference value.
Public Enum GreaterOrEqual
The stencil test passes when the incoming value is greater than or equal to the stored or reference value.
Public Enum Always
The stencil test always passes.

See also