Name

ZWriteEnable - 3D API Z write enable

Usage

ZWriteEnable = 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 ZWriteEnable state to bool(false).

Opengl Functionality Requirements

OpenGL 1.0

Direct3D Functionality Requirements

DirectX 9

See Also

ClearDepth, DepthBias, DepthBounds, DepthBoundsEnable, DepthClampEnable, DepthTestEnable, DepthFunc, DepthMask, DepthRange, DepthTestEnable, SlopScaleDepthBias, ZEnable, ZFunc