DepthTestFunction

enum DepthTestFunction : Enum<DepthTestFunction>

Depth test function.

Entries

DISABLED
Link copied to clipboard
common
DISABLED(isDepthTestEnabled, false)
Depth test is disabled.
NEVER
Link copied to clipboard
common
Never passes.
LESS
Link copied to clipboard
common
Passes if the new depth value is less than the current depth value.
EQUAL
Link copied to clipboard
common
Passes if the new depth value is equal to the current depth value.
LESS_OR_EQUAL
Link copied to clipboard
common
Passes if the new depth value is less than or equal to the current depth value.
GREATER
Link copied to clipboard
common
Passes if the new depth value is greater than the current depth value.
NOT_EQUAL
Link copied to clipboard
common
Passes if the new depth value is not equal to the current depth value.
GREATER_OR_EQUAL
Link copied to clipboard
common
Passes if the new depth value is greater than or equal to the current depth value.
ALWAYS
Link copied to clipboard
common
Always passes.

Properties

isDepthTestEnabled
Link copied to clipboard
common
val isDepthTestEnabled: Boolean = true
name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int