> ## Name

> DepthMask - 3D API depth mask

> ## Usage

> DepthMask = bool(enable)

> ## Valid Enumerants

> enable: true, false

> ## Description

> Specify whether the depth buffer is enabled for writing. See the OpenGL glDepthMask manual page for details. See the D3DRS_ZWRITEENABLE render state description for DirectX 9.

> The standard reset callback sets the DepthMask state to bool(true).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> ColorMask, StencilMask