stencilFuncSeparate method
The WebGLRenderingContext.stencilFuncSeparate()
method of
the
WebGL API
sets the front and/or back
function and reference value for stencil testing.
Stencilling enables and disables drawing on a per-pixel basis. It is typically used in multipass rendering to achieve special effects.
Implementation
external void stencilFuncSeparate(
GLenum face,
GLenum func,
GLint ref,
GLuint mask,
);