Enumeration DepthFunction

An enumeration specifying the depth comparison function, which sets the conditions under which the pixel will be drawn. The default value is LESS.

Enumeration Members

ALWAYS

always pass

EQUAL

pass if the incoming value equals the the depth buffer value

GEQUAL

pass if the incoming value is greater than or equal to the depth buffer value

GREATER

pass if the incoming value is greater than the depth buffer value

LEQUAL

pass if the incoming value is less than or equal to the depth buffer value

LESS

pass if the incoming value is less than the depth buffer value

NEVER

never pass

NOTEQUAL

pass if the incoming value is not equal to the depth buffer value