glStencilMask Function
GL_APICALL void GL_APIENTRY glStencilMask(
GLuint mask
);
| Name | Description | |
|---|---|---|
| in | mask | Mask of enabled/disabled toggle values |
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_OPERATION | This function was called without any command-list objects bound. |
|---|
CONFIDENTIAL