> ## Name

> ColorMask - 3D API color mask

> ## Usage

> ColorMask = bool4(r, g, b, a)

> ## Valid Enumerants

> r, g, b, a: true, false

> ## Description

> Enable/disable writing to color components in the frame buffer. See the OpenGL glColorMask manual page for details. See the D3DRS_COLORWRITEENABLE1 render state description for DirectX 9.

> The standard reset callback sets the ColorMask state to bool4(true, true, true, true).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> DepthMask, StencilMask