Skip to content

API Reference / @gtkx/gl / stencilFuncSeparate

Function: stencilFuncSeparate()

stencilFuncSeparate(face, func, ref, mask): void

Defined in: generated/commands.d.ts:5348

void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)

Provided by GL_VERSION_2_0.

Parameters

face

number

TriangleFace

func

number

StencilFunction

ref

number

GLint, kind StencilValue. This parameter represents an unmasked stencil value.

mask

number

GLuint, kind StencilMask. This parameter represents mask to apply to stencil values.

Returns

void

Released under the MPL-2.0 License.