openrndr / org.openrndr.draw / DepthTestPass

DepthTestPass

enum class DepthTestPass (source)

Depth test pass condition enumeration

Enum Values

ALWAYS

Depth test should always pass

LESS

Depth test will only pass when the test value is less than the target value

LESS_OR_EQUAL

Depth test will only pass when the test value is less than or equal to the target value

EQUAL

Depth test will only pass when the test value is equal to the target value

GREATER

Depth test will only pass when the test value is greater than the target value

GREATER_OR_EQUAL

Depth test will only pass when the test value is greater than or equal to the the target value

NEVER

Depth test will never pass, thus always fail