Skip to content

API Reference / @gtkx/gl / stencilOp

Function: stencilOp()

stencilOp(fail, zfail, zpass): void

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

void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)

Provided by GL_VERSION_1_0.

Parameters

fail

number

GLenum, group StencilOp

zfail

number

GLenum, group StencilOp

zpass

number

GLenum, group StencilOp

Returns

void

See

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

Released under the MPL-2.0 License.