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

NAME

6       glClearStencil - specify the clear value for the stencil buffer
7

C SPECIFICATION

9       void glClearStencil(GLint s);
10

PARAMETERS

12       s
13           Specifies the index used when the stencil buffer is cleared. The
14           initial value is 0.
15

DESCRIPTION

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

ASSOCIATED GETS

22       glGet() with argument GL_STENCIL_CLEAR_VALUE
23
24       glGet() with argument GL_STENCIL_BITS
25

SEE ALSO

27       glClear(), glStencilFunc(), glStencilFuncSeparate(), glStencilMask(),
28       glStencilMaskSeparate(), glStencilOp(), glStencilOpSeparate()
29
31       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
32       under the SGI Free Software B License. For details, see
33       http://oss.sgi.com/projects/FreeB/.
34

AUTHORS

36       opengl.org
37
38
39
40opengl.org                        06/10/2014                GLCLEARSTENCIL(3G)
Impressum