Click or drag to resize

glDepthMask Method

Enable or disable writing into the depth buffer.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void DepthMask(
	bool enable
)

Parameters

enable
Type: SystemBoolean
specifies whether the depth buffer is enabled for writing. If False, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.
Remarks
OpenGL API: glDepthMask
See Also