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

  man pages->Tru64 Unix man pages -> glColorMask (3)              
Title
Content
Arch
Section
 

glColorMask(3G)

Contents


NAME    [Toc]    [Back]

       glColorMask  -  enable and disable writing of frame buffer
       color components

SYNOPSIS    [Toc]    [Back]

       void glColorMask(
               GLboolean red,
               GLboolean green,
               GLboolean blue,
               GLboolean alpha );

PARAMETERS    [Toc]    [Back]

       Specify whether red, green, blue, and alpha can or  cannot
       be  written  into the frame buffer. The initial values are
       all GL_TRUE, indicating that the color components  can  be
       written.

DESCRIPTION    [Toc]    [Back]

       glColorMask()  specifies whether the individual color components
 in the frame buffer can or cannot be  written.  If
       red is GL_FALSE, for example, no change is made to the red
       component of any  pixel  in  any  of  the  color  buffers,
       regardless of the drawing operation attempted.

       Changes  to  individual  bits of components cannot be controlled.
 Rather, changes are either  enabled  or  disabled
       for entire color components.

ERRORS    [Toc]    [Back]

       GL_INVALID_OPERATION is generated if glColorMask() is executed
 between the execution of glBegin()  and  the  corresponding
 execution of glEnd().

ASSOCIATED GETS    [Toc]    [Back]

       glGet() with argument GL_COLOR_WRITEMASK
       glGet() with argument GL_RGBA_MODE

SEE ALSO    [Toc]    [Back]

      
      
       glClear(3), glColor(3), glColorPointer(3), glDepthMask(3),
       glIndex(3), glIndexPointer(3), glIndexMask(3),  glStencilMask(3)



                                                  glColorMask(3G)
[ Back ]
 Similar pages
Name OS Title
gltexturecolormasksgis IRIX enable and disable the storing of texture element color components
gldepthmask IRIX enable or disable writing into the depth buffer
glDepthMask Tru64 enable or disable writing into the depth buffer
backbuffer IRIX enable and disable drawing to the back or front buffer
frontbuffer IRIX enable and disable drawing to the back or front buffer
zbuffer IRIX enable or disable z-buffer operation in the current framebuffer
cgtwo OpenBSD 8-bit color frame buffer
cgeight OpenBSD 24-bit color frame buffer
cgthree OpenBSD 8-bit color frame buffer
cgthree OpenBSD 8-bit color frame buffer
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service