1GLCLEARDEPTH(3G) GLCLEARDEPTH(3G)
2
3
4
6 glClearDepth - specify the clear value for the depth buffer
7
8
10 void glClearDepth( GLclampd depth )
11
12
14 depth Specifies the depth value used when the depth buffer is cleared.
15 The initial value is 1.
16
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
23 GL_INVALID_OPERATION is generated if glClearDepth is executed between
24 the execution of glBegin and the corresponding execution of glEnd.
25
27 glGet with argument GL_DEPTH_CLEAR_VALUE
28
30 glClear(3G)
31
32
33
34 GLCLEARDEPTH(3G)