1GLCLEARSTENCIL(3G) [FIXME: manual] GLCLEARSTENCIL(3G)
2
3
4
6 glClearStencil - specify the clear value for the stencil buffer
7
9 void glClearStencil(GLint s);
10
12 s
13 Specifies the index used when the stencil buffer is cleared. The
14 initial value is 0.
15
17 glClearStencil specifies the index used by glClear() to clear the
18 stencil buffer. s is masked with 2 m - 1, where m is the number of
19 bits in the stencil buffer.
20
22 glGet() with argument GL_STENCIL_CLEAR_VALUE
23
24 glGet() with argument GL_STENCIL_BITS
25
27 ┌───────────────┬───────────────────────────────────────────────────────────────────────┐
28 │ │ OpenGL Version │
29 ├───────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
30 │Function │ 2.0 │ 2.1 │ 3.0 │ 3.1 │ 3.2 │ 3.3 │ 4.0 │ 4.1 │ 4.2 │ 4.3 │ 4.4 │ 4.5 │
31 │/ │ │ │ │ │ │ │ │ │ │ │ │ │
32 │Feature │ │ │ │ │ │ │ │ │ │ │ │ │
33 │Name │ │ │ │ │ │ │ │ │ │ │ │ │
34 ├───────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
35 │glClearStencil │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │
36 └───────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
37
39 glClear(), glStencilFunc(), glStencilFuncSeparate(), glStencilMask(),
40 glStencilMaskSeparate(), glStencilOp(), glStencilOpSeparate()
41
43 Copyright © 1991-2006 Silicon Graphics, Inc. Copyright © 2010-2014
44 Khronos Group. This document is licensed under the SGI Free Software B
45 License. For details, see http://oss.sgi.com/projects/FreeB/.
46
48 Copyright © 1991-2006 Silicon Graphics, Inc.
49 Copyright © 2010-2014 Khronos Group
50
51
52
53[FIXME: source] 07/13/2018 GLCLEARSTENCIL(3G)