enum CompareFunction

Comparison functions used for the depth/stencil buffer.

Values

NameValueDescription
CMPF_ALWAYS_FAIL 0 Operation will always fail.
CMPF_ALWAYS_PASS 1 Operation will always pass.
CMPF_LESS 2 Operation will pass if the new value is less than existing value.
CMPF_LESS_EQUAL 3 Operation will pass if the new value is less or equal than existing value.
CMPF_EQUAL 4 Operation will pass if the new value is equal to the existing value.
CMPF_NOT_EQUAL 5 Operation will pass if the new value is not equal to the existing value.
CMPF_GREATER_EQUAL 6 Operation will pass if the new value greater or equal than the existing value.
CMPF_GREATER 7 Operation will pass if the new value greater than the existing value.