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

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

Contents


glStencilMask(3G)	       OpenGL Reference		     glStencilMask(3G)


NAME    [Toc]    [Back]

     glStencilMask - control the writing of individual bits in the stencil
     planes

C SPECIFICATION    [Toc]    [Back]

     void glStencilMask( GLuint	mask )

PARAMETERS    [Toc]    [Back]

     mask  Specifies a bit mask	to enable and disable writing of individual
	   bits	in the stencil planes.	Initially, the mask is all 1's.

DESCRIPTION    [Toc]    [Back]

     glStencilMask controls the	writing	of individual bits in the stencil
     planes.  The least	significant n bits of mask, where n is the number of
     bits in the stencil buffer, specify a mask.  Where	a 1 appears in the
     mask, it's	possible to write to the corresponding bit in the stencil
     buffer.  Where a 0	appears, the corresponding bit is write-protected.
     Initially,	all bits are enabled for writing.

ERRORS    [Toc]    [Back]

     GL_INVALID_OPERATION is generated if glStencilMask	is executed between
     the execution of glBegin and the corresponding execution of glEnd.

ASSOCIATED GETS    [Toc]    [Back]

     glGet with	argument GL_STENCIL_WRITEMASK
     glGet with	argument GL_STENCIL_BITS

SEE ALSO    [Toc]    [Back]

      
      
     glColorMask, glDepthMask, glIndexMask, glStencilFunc, glStencilOp


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
glIndexMask Tru64 control the writing of individual bits in the color index buffers
glindexmask IRIX control the writing of individual bits in the color index buffers
sclear IRIX clear the stencil planes to a specified value
stensize IRIX specify the number of bit planes desired to comprise the stencil buffer
swritemask IRIX specify which stencil bits can be written
zbsize IRIX specifies the number of bit planes desired to comprise the Z buffer
glClearStencil Tru64 specify the clear value for the stencil buffer
glclearstencil IRIX specify the clear value for the stencil buffer
glstencilop IRIX set stencil test actions
glStencilOp Tru64 set stencil test actions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service