CompareFunction enumeration

CompareFunction enumeration

The compare function used in depth/stencil testing.

The CompareFunction type exposes the following members:

Fields

FieldDescription
NEVERNever passes
LESSPass if the incoming value is less than the stored value.
EQUALPass if the incoming value is equal to the stored value.
L_EQUALPass if the incoming value is less than or equal to the stored value.
GREATERPass if the incoming value is greater than the stored value.
NOT_EQUALPass if the incoming value is not equal to the stored value.
G_EQUALPass if the incoming value is greater than or equal to the stored value.
ALWAYSAlways passes

See Also