clearDepth

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

clear the depth attachment

Parameters

depth

the value to use for clearing the depth attachment, default is 1.0

stencil

the value to use for clearing the stencil attachment, default is 0