Skip to content

API Reference / @gtkx/gl / stencilFunc

Function: stencilFunc()

stencilFunc(func, ref, mask): void

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

void glStencilFunc(GLenum func, GLint ref, GLuint mask)

Provided by GL_VERSION_1_0.

Parameters

func

number

GLenum, group StencilFunction

ref

number

GLint

mask

number

GLuint

Returns

void

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glStencilFunc.xhtml

Released under the MPL-2.0 License.