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

NAME

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

C SPECIFICATION

10       void glClearStencil( GLint s )
11
12

PARAMETERS

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

DESCRIPTION

18       glClearStencil specifies the index used by glClear to clear the stencil
19       buffer.   s  is  masked with 2m−1, where m is the number of bits in the
20       stencil buffer.
21

ERRORS

23       GL_INVALID_OPERATION is generated if glClearStencil is executed between
24       the execution of glBegin and the corresponding execution of glEnd.
25

ASSOCIATED GETS

27       glGet with argument GL_STENCIL_CLEAR_VALUE
28       glGet with argument GL_STENCIL_BITS
29

SEE ALSO

31       glClear(3G), glStencilFunc(3G), glStencilOp(3G), glStencilMask(3G)
32
33
34
35                                                            GLCLEARSTENCIL(3G)
Impressum