{{QBDLDATE:07-31-2022}} {{QBDLTIME:23:47:38}} {{DISPLAYTITLE:_glColorMask}} The '''_glColorMask''' statement enables and disables writing of frame-buffer color components. {{PageSyntax}} : '''_glColorMask''' GLboolean {{Parameter|red}}, GLboolean {{Parameter|green}}, GLboolean {{Parameter|blue}}, GLboolean {{Parameter|alpha}} {{PageParameters}} * OpenGL is using its own set of variable types to describe its command parameters. * Use the following table to find the respective QB64 [[Variable Types]]. {{OpenGLTypesPlugin}} {{PageDescription}} * OpenGL's documentation is available in several places, so we won't reproduce it here for another time. * The full description for this command can be found at [https://docs.microsoft.com/en-us/windows/win32/opengl/glcolormask Microsoft Docs] and is also valid for QB64 usage. {{PageSeeAlso}} * [[_GL|SUB _GL]] * [[_glBegin]], [https://docs.microsoft.com/en-us/windows/win32/opengl/glcolor-functions _glColor], [[_glDepthMask]], [[_glEnd]] * [https://docs.microsoft.com/en-us/windows/win32/opengl/glgetbooleanv--glgetdoublev--glgetfloatv--glgetintegerv _glGet], [https://docs.microsoft.com/en-us/windows/win32/opengl/glindex-functions _glIndex], [[_glIndexMask]], [[_glStencilMask]] {{PageNavigation}} [[Category:Final]]