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

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

Contents


glIndexMask(3G)		       OpenGL Reference		       glIndexMask(3G)


NAME    [Toc]    [Back]

     glIndexMask - control the writing of individual bits in the color index
     buffers

C SPECIFICATION    [Toc]    [Back]

     void glIndexMask( GLuint mask )

PARAMETERS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     glIndexMask controls the writing of individual bits in the	color index
     buffers.  The least significant n bits of mask, where n is	the number of
     bits in a color index buffer, specify a mask.  Where a 1 (one) appears in
     the mask, it's possible to	write to the corresponding bit in the color
     index buffer (or buffers).	Where a	0 (zero) appears, the corresponding
     bit is write-protected.

     This mask is used only in color index mode, and it	affects	only the
     buffers currently selected	for writing (see glDrawBuffer).	 Initially,
     all bits are enabled for writing.

ERRORS    [Toc]    [Back]

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

ASSOCIATED GETS    [Toc]    [Back]

     glGet with	argument GL_INDEX_WRITEMASK

SEE ALSO    [Toc]    [Back]

      
      
     glColorMask, glDepthMask, glDrawBuffer, glIndex, glIndexPointer,
     glStencilMask


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
glstencilmask IRIX control the writing of individual bits in the stencil planes
glStencilMask Tru64 control the writing of individual bits in the stencil planes
glclearindex IRIX specify the clear value for the color index buffers
glClearIndex Tru64 specify the clear value for the color index buffers
getbuffer IRIX indicates which buffers are enabled for writing
clQueryFree IRIX Reading and writing data with implicit buffers
gldrawbuffer IRIX specify which color buffers are to be drawn into
glDrawBuffer Tru64 specify which color buffers are to be drawn into
glIndexi Tru64 set the current color index
glIndexfv Tru64 set the current color index
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service