ECompareFunction

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

Description

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

References

Module

RHI

Header

Runtime/RHI/Public/RHIDefinitions.h