Extracted from Pike v7.3 release 16 at 2002-03-05.
pike.roxen.com
[Top]
GL

Method GL.glClearDepth()


Method glClearDepth

void GL.glClearDepth(float depth)

Description

GL.glClearDepth specifies the depth value used by GL.glClear to clear the depth buffer. Values specified by GL.glClearDepth are clamped to the range [0,1].

Parameter depth

Specifies the depth value used when the depth buffer is cleared. The initial value is 1.

Throws

GL_INVALID_OPERATION is generated if GL.glClearDepth is executed between the execution of GL.glBegin and the corresponding execution of GL.glEnd.