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

NAME

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

C SPECIFICATION

9       void glClearDepth(GLdouble depth);
10
11       void glClearDepthf(GLfloat depth);
12

PARAMETERS

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

DESCRIPTION

19       glClearDepth specifies the depth value used by glClear() to clear the
20       depth buffer. Values specified by glClearDepth are clamped to the range
21       0 1.
22

NOTES

24       The type of the depth parameter was changed from GLclampf to GLfloat
25       for glClearDepthf and from GLclampd to GLdouble for glClearDepth. This
26       change is transparent to user code and is described in detail on the
27       removedTypes() page.
28

ASSOCIATED GETS

30       glGet() with argument GL_DEPTH_CLEAR_VALUE
31

SEE ALSO

33       glClear(), removedTypes()
34
36       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
37       under the SGI Free Software B License. For details, see
38       http://oss.sgi.com/projects/FreeB/.
39

AUTHORS

41       opengl.org
42
43
44
45opengl.org                        06/10/2014                  GLCLEARDEPTH(3G)
Impressum