glStencilMaskSeparate

control the front and/or back writing of individual bits in the stencil planes

Signature

glStencilMaskSeparate( GLenum ( face ) , GLuint ( mask ) )-> void
glStencilMaskSeparate( face , mask )

Parameters

VariablesDescription
face
Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT , GL_BACK , and GL_FRONT_AND_BACK .
mask
Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.