*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> glClearStencil (3)              
Title
Content
Arch
Section
 

glClearStencil(3G)

Contents


NAME    [Toc]    [Back]

       glClearStencil  -  specify the clear value for the stencil
       buffer

SYNOPSIS    [Toc]    [Back]

       void glClearStencil(
               GLint s );

PARAMETERS    [Toc]    [Back]

       Specifies the  index  used  when  the  stencil  buffer  is
       cleared. The initial value is 0.

DESCRIPTION    [Toc]    [Back]

       glClearStencil()  specifies the index used by glClear() to
       clear the stencil buffer.  s is masked  with  2  sup  m-1,
       where m is the number of bits in the stencil buffer.

ERRORS    [Toc]    [Back]

       GL_INVALID_OPERATION  is  generated if glClearStencil() is
       executed between the execution of glBegin() and the corresponding
 execution of glEnd().

ASSOCIATED GETS    [Toc]    [Back]

       glGet() with argument GL_STENCIL_CLEAR_VALUE
       glGet() with argument GL_STENCIL_BITS

SEE ALSO    [Toc]    [Back]

      
      
       glClear(3),  glStencilFunc(3),  glStencilOp(3), glStencilMask(3)



                                               glClearStencil(3G)
[ Back ]
 Similar pages
Name OS Title
sclear IRIX clear the stencil planes to a specified value
stensize IRIX specify the number of bit planes desired to comprise the stencil buffer
glClearDepth Tru64 specify the clear value for the depth buffer
glcleardepth IRIX specify the clear value for the depth buffer
glclearaccum IRIX specify clear values for the accumulation buffer
glClearAccum Tru64 specify clear values for the accumulation buffer
syslog Linux read and/or clear kernel message ring buffer; set console_loglevel
swritemask IRIX specify which stencil bits can be written
glstencilop IRIX set stencil test actions
glStencilOp Tru64 set stencil test actions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service