Skip to content

API Reference / @gtkx/gl / stencilFuncSeparate

Function: stencilFuncSeparate() ​

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

Defined in: packages/gl/src/generated/commands.ts:6752

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