Home -> IStateGroupNode -> DepthComparisonFunction

Description

The DepthComparisonFunction enumeration specifies the comparison operation used by the depth test when depth testing is enabled.

Members

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

See also