gl.ClearDepth(depth)
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 0 through 1.
Please consult an OpenGL reference manual for more information.
#GL_INVALID_OPERATION
is generated if gl.ClearDepth()
is executed between the execution of gl.Begin() and the corresponding execution of gl.End()
#GL_DEPTH_CLEAR_VALUE