OpenGL Super Bible! Page (Medical web site) 301 glIndexMask Purpose Protects

OpenGL Super Bible! Page 301 glIndexMask Purpose Protects individual bits in the color index buffer from being set. Include File Syntax void glIndexMask(GLuint mask ); Description This function allows masking of individual bits in the color index buffer. Where the mask bit is set, the bits are writeable; where they are zero, they are write-protected from pixel operations. This function only applies to color index mode. Parameters mask GLuint: Specifies the binary bit mask to enable or disable writing to individual bits in the color index buffer. Returns None. Example See the sample program MASK on the CD for this chapter. See Also glIndex, glDepthMask, glStencilMask
We highly recommend you visit web and email hosting services if you need stable and cheap web hosting platform for your web applications.

Leave a Reply