Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glstencilmask(3g) [xfree86 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)

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)
Man Page

4 More Discussions You Might Find Interesting

1. 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

2. 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

3. Homework & Coursework Questions

Bounded Buffer is hanging, tried all I can. (C++)

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)
Discussion started by: digitalbrainiac
12 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