1GLCLEARDEPTH(3G)                [FIXME: 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

VERSION SUPPORT

33       ┌──────────────┬───────────────────────────────────────────────────────────────────────┐
34       │              │                OpenGL Version                                         
35       ├──────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
36Function      2.0 2.1 3.0 3.1 3.2 3.3 4.0 4.1 4.2 4.3 4.4 4.5 
37/             │     │     │     │     │     │     │     │     │     │     │     │     │
38Feature       │     │     │     │     │     │     │     │     │     │     │     │     │
39Name          │     │     │     │     │     │     │     │     │     │     │     │     │
40       ├──────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
41glClearDepth  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │
42       ├──────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
43glClearDepthf │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │
44       └──────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
45

SEE ALSO

47       glClear(), removedTypes()
48
50       Copyright © 1991-2006 Silicon Graphics, Inc. Copyright © 2010-2014
51       Khronos Group. This document is licensed under the SGI Free Software B
52       License. For details, see http://oss.sgi.com/projects/FreeB/.
53
55       Copyright © 1991-2006 Silicon Graphics, Inc.
56       Copyright © 2010-2014 Khronos Group
57
58
59
60[FIXME: source]                   03/06/2019                  GLCLEARDEPTH(3G)
Impressum