stencilMask method
The WebGLRenderingContext.stencilMask()
method of the
WebGL API
controls enabling and disabling of
both the front and back writing of individual bits in the stencil planes.
The WebGLRenderingContext.stencilMaskSeparate method can set front and back stencil writemasks to different values.
Implementation
external void stencilMask(GLuint mask);