clearDepth

abstract fun clearDepth(depth: Double = 1.0, stencil: Int = 0)(source)

Clear the depth attachment.

Parameters

depth

the value to use for clearing the depth attachment, defaults to 1.0

stencil

the value to use for clearing the stencil attachment, defaults to 0