DepthTestFunction

enum DepthTestFunction : Enum<DepthTestFunction>

Depth test function.

Entries

Link copied to clipboard

Depth test is disabled.

Link copied to clipboard

Never passes.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Always passes.

Properties

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