Navigation
API > API/Runtime > API/Runtime/RHI
| |
|
| Name |
ECompareFunction |
| Type |
enum |
| Header File |
/Engine/Source/Runtime/RHI/Public/RHIDefinitions.h |
| Include Path |
#include "RHIDefinitions.h" |
Syntax
enum ECompareFunction
{
CF_Less,
CF_LessEqual,
CF_Greater,
CF_GreaterEqual,
CF_Equal,
CF_NotEqual,
CF_Never,
CF_Always,
ECompareFunction_Num,
ECompareFunction_NumBits = 3,
CF_DepthNearOrEqual = (((int32)ERHIZBuffer::IsInverted != 0) ? CF_GreaterEqual : CF_LessEqual),
CF_DepthNear = (((int32)ERHIZBuffer::IsInverted != 0) ? CF_Greater : CF_Less),
CF_DepthFartherOrEqual = (((int32)ERHIZBuffer::IsInverted != 0) ? CF_LessEqual : CF_GreaterEqual),
CF_DepthFarther = (((int32)ERHIZBuffer::IsInverted != 0) ? CF_Less : CF_Greater),
}
Values
| Name |
Remarks |
| CF_Less |
|
| CF_LessEqual |
|
| CF_Greater |
|
| CF_GreaterEqual |
|
| CF_Equal |
|
| CF_NotEqual |
|
| CF_Never |
|
| CF_Always |
|
| ECompareFunction_Num |
|
| ECompareFunction_NumBits |
|
| CF_DepthNearOrEqual |
Utility enumerations. |
| CF_DepthNear |
|
| CF_DepthFartherOrEqual |
|
| CF_DepthFarther |
|