Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glindexmask(3g) [centos man page]

GLINDEXMASK(3G) 						   OpenGL Manual						   GLINDEXMASK(3G)

NAME
glIndexMask - control the writing of individual bits in the color index buffers C SPECIFICATION
void glIndexMask(GLuint mask); PARAMETERS
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
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
GL_INVALID_OPERATION is generated if glIndexMask is executed between the execution of glBegin() and the corresponding execution of glEnd(). ASSOCIATED GETS
glGet() with argument GL_INDEX_WRITEMASK SEE ALSO
glColorMask(), glDepthMask(), glDrawBuffer(), glIndex(), glIndexPointer(), glStencilMask() COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. AUTHORS
opengl.org opengl.org 06/10/2014 GLINDEXMASK(3G)

Check Out this Related Man Page

GLINDEXMASK(3G) 														   GLINDEXMASK(3G)

NAME
glIndexMask - control the writing of individual bits in the color index buffers C SPECIFICATION
void glIndexMask( GLuint mask ) PARAMETERS
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
glIndexMask controls the writing of individual bits in the color index buffers. The least significant n bits of mask, where n is the num- ber 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
GL_INVALID_OPERATION is generated if glIndexMask is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with argument GL_INDEX_WRITEMASK SEE ALSO
glColorMask(3G), glDepthMask(3G), glDrawBuffer(3G), glIndex(3G), glIndexPointer(3G), glStencilMask(3G) GLINDEXMASK(3G)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

file extension based software execution

Hi Experts, I am working in HP-UX 11.0 workstaion. How can i make a file to be executed with the corresponding software to be invoked or executed. as in Windows. ie., if a file index.html has to be double clicked to invoke the Netscape Navigator. What i have to do to achieve this... (2 Replies)
Discussion started by: anent
2 Replies

2. Programming

Writing both 8-bit and 16-bit data to a file

I'm writing both 8-bit and wide 16-bit data to the screen and an output file. I have no problems with writing out to the screen - for example: cout<<8-bit data; wcout<<16-bit data; Similarly, I have used ofstream for 8-bit and wofstream for 16-bit, for example: ofstream out; wofstream wout;... (1 Reply)
Discussion started by: Breen
1 Replies

3. UNIX for Advanced & Expert Users

About to give up on XEmacs 21.5.29

Folks, I am hoping someone out there can help me. I have been writing code for in-excess of 10 years. Throughout all this time I have used Xemacs. I have picked up bits of customizations here and there over the years, but would not profess to be anything of an expert in Lisp (or have a heavily... (3 Replies)
Discussion started by: petermc
3 Replies

4. What is on Your Mind?

How do you earn bits?

Just wondering how these are accumulated, I recently made a search and noticed that mine had gone up- I'm guessing that it's based on user activity i.e. writing posts but is there a list of actions that accumulate them? (3 Replies)
Discussion started by: $shell_Learner
3 Replies