glStencilMask Function

Syntax

GL_APICALL void GL_APIENTRY glStencilMask(
     GLuint mask
);

Parameters

Name Description
in mask Mask of enabled/disabled toggle values

Return Values

No values are returned.

Description

Sets the mask of values that toggle whether writes to the stencil buffer are enabled or disabled.

Stencil buffer writes are enabled for bits that are set to 1 in mask.

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