DepthTestFunction

enum DepthTestFunction : Enum<DepthTestFunction>

Depth test function.

Entries

ALWAYS
Link copied to clipboard

Always passes.

GREATER_OR_EQUAL
Link copied to clipboard

Passes if the new depth value is greater than or equal to the current depth value.

NOT_EQUAL
Link copied to clipboard

Passes if the new depth value is not equal to the current depth value.

GREATER
Link copied to clipboard

Passes if the new depth value is greater than the current depth value.

LESS_OR_EQUAL
Link copied to clipboard

Passes if the new depth value is less than or equal to the current depth value.

EQUAL
Link copied to clipboard

Passes if the new depth value is equal to the current depth value.

LESS
Link copied to clipboard

Passes if the new depth value is less than the current depth value.

NEVER
Link copied to clipboard

Never passes.

DISABLED
Link copied to clipboard
DISABLED(false)

Depth test is disabled.

Properties

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