Home -> IStateGroupNode -> DepthComparisonFunction
Description
The DepthComparisonFunction enumeration specifies the comparison operation used by the depth test when depth testing is enabled.
Members
| Name | Description | |
|---|---|---|
| Never |
The depth test always fails.
|
|
| Equal |
The depth test passes when the incoming value is equal to the stored or reference value.
|
|
| NotEqual |
The depth test passes when the incoming value is not equal to the stored or reference value.
|
|
| Less |
The depth test passes when the incoming value is less than the stored or reference value.
|
|
| LessOrEqual |
The depth test passes when the incoming value is less than or equal to the stored or reference value.
|
|
| Greater |
The depth test passes when the incoming value is greater than the stored or reference value.
|
|
| GreaterOrEqual |
The depth test passes when the incoming value is greater than or equal to the stored or reference value.
|
|
| Always |
The depth test always passes.
|