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)
Check Out this Related Man Page
GLSTENCILMASK(3G)GLSTENCILMASK(3G)NAME
glStencilMask - control the writing of individual bits in the stencil planes
C SPECIFICATION
void glStencilMask( GLuint mask )
PARAMETERS
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
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 sten-
cil buffer. Where a 0 appears, the corresponding bit is write-protected. Initially, all bits are enabled for writing.
ERRORS
GL_INVALID_OPERATION is generated if glStencilMask is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_STENCIL_WRITEMASK
glGet with argument GL_STENCIL_BITS
SEE ALSO glColorMask(3G), glDepthMask(3G), glIndexMask(3G), glStencilFunc(3G), glStencilOp(3G)GLSTENCILMASK(3G)
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)
Hi Gurus,
I would appreciate if someone could enlighten this newbie as to how significant the '&' is to unix.
Currently I am getting around to writing a script which has to deal with a lot of these ampersands either as starting chars or between chars.
Please find below the simpliest way that I... (4 Replies)
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)
Hi All,
I am writing some data's into a file from C++ program. The files which i am writing is of fixed length . say 232 in length per line.
I am writing as . my c code is as
... (0 Replies)
Hi, I have an issue with the file writing...
It is, Suppose that if I am writing some data to a file... and at the same time another user has opened the file and want to write in to the file(writing to the file at the same time)...the another has to know that someone has opened the file, mean... (3 Replies)
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)
When accessing a user mode buffers from kernel space drivers what precautions must we take and how those precautions need to be implemented? (0 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
My problem is that when creating my producers and consumers, if I don't create an equal number of both, the... (12 Replies)
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)