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

  man pages->IRIX man pages -> OpenGL/glclearstencil (3)              
Title
Content
Arch
Section
 

Contents


glClearStencil(3G)	       OpenGL Reference		    glClearStencil(3G)


NAME    [Toc]    [Back]

     glClearStencil - specify the clear	value for the stencil buffer

C SPECIFICATION    [Toc]    [Back]

     void glClearStencil( GLint	s )

PARAMETERS    [Toc]    [Back]

     s	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
				m
     buffer.  s	is masked with 2 -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, glStencilFunc, glStencilOp, glStencilMask


									PPPPaaaaggggeeee 1111
[ 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