Gl.ClearDepth (gb.opengl)
Static Sub ClearDepth ( Depth As Float )
Specify the clear value for the depth buffer.
Parameters
- depth
-
Specifies the depth value used when the depth buffer is cleared. The
initial value is 1.
Description
Gl.ClearDepth specifies the depth value used by
Gl.Clear to clear the depth buffer.
Values specified by
Gl.ClearDepth are clamped to the range
.
Associated Gets
Gl.Get with argument Gl.DEPTH_CLEAR_VALUE
See also