OpenGL Super Bible! Page 299 glColorMask Purpose Enables (Dedicated web hosting)

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.

Leave a Reply