OpenGL Super Bible! Page 299 glColorMask Purpose Enables or disables modification of color components in the color buffers. Include File Syntax void glColorMask(GLboolean bRed, GLboolean bGreen, GLboolean bBlue, GLboolean bAlpha); Description This function allows changes to individual color components in the color buffer to be disabled or enabled (all are enabled by default). For example, setting the bAlpha argument to GL_FALSE disallows changes to the alpha color component. Parameters bRed GLboolean: Specifies whether the red component may be modified. bGreen GLboolean: Specifies whether the green component may be modified. bBlue GLboolean: Specifies whether the blue component may be modified. bAlpha GLboolean: Specifies whether the alpha component may be modified. Returns None. Example See the sample program MASK on the CD for this chapter. See Also glColor, glIndex, glIndexMask, glDepthMask, glStencilMask
In case you need affordable webhost to host your website, our recommendation is ecommerce web host services.
This entry was posted
on Tuesday, July 31st, 2007 at 12:18 pm and is filed under Coldfusion.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.