1GLCLEARDEPTH(3G)                                              GLCLEARDEPTH(3G)
2
3
4

NAME

6       glClearDepth - specify the clear value for the depth buffer
7
8

C SPECIFICATION

10       void glClearDepth( GLclampd depth )
11
12

PARAMETERS

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

DESCRIPTION

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

ERRORS

23       GL_INVALID_OPERATION is generated if glClearDepth is  executed  between
24       the execution of glBegin and the corresponding execution of glEnd.
25

ASSOCIATED GETS

27       glGet with argument GL_DEPTH_CLEAR_VALUE
28

SEE ALSO

30       glClear(3G)
31
32
33
34                                                              GLCLEARDEPTH(3G)
Impressum