glDepthMask Function

Syntax

GL_APICALL void GL_APIENTRY glDepthMask(
     GLboolean flag
);

Arguments

Name Description
in flag Enabled/disabled toggle setting

Return Values

No values are returned.

Description

Enables or disables writes to the depth buffer.

This function generates the following errors.

GL_INVALID_OPERATIONThis function was called without any command-list objects bound.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL