-
Cast constructor, converting any binary integer to a
DepthTestFunction.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
Never passes.
Declaration
Swift
static let never: CoglDepthTestFunction -
Passes if the fragment’s depth value is less than the value currently in the depth buffer.
Declaration
Swift
static let less: CoglDepthTestFunction -
Passes if the fragment’s depth value is equal to the value currently in the depth buffer.
Declaration
Swift
static let equal: CoglDepthTestFunction -
Passes if the fragment’s depth value is less or equal to the value currently in the depth buffer.
Declaration
Swift
static let lequal: CoglDepthTestFunction -
Passes if the fragment’s depth value is greater than the value currently in the depth buffer.
Declaration
Swift
static let greater: CoglDepthTestFunction -
Passes if the fragment’s depth value is not equal to the value currently in the depth buffer.
Declaration
Swift
static let notequal: CoglDepthTestFunction -
Passes if the fragment’s depth value greater than or equal to the value currently in the depth buffer.
Declaration
Swift
static let gequal: CoglDepthTestFunction -
Always passes.
Declaration
Swift
static let always: CoglDepthTestFunction
View on GitHub
Install in Dash
DepthTestFunction Extension Reference