Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gluten/src/webgl/renderingContext.ts>WebGLRenderingContext#stencilMaskSeparate

OpenGL bindings & WebGL API implementation for Deno.
Go to Latest
method WebGLRenderingContext.prototype.stencilMaskSeparate
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.0/src/webgl/renderingContext.ts";

controls enabling and disabling of front and/or back writing of individual bits in the stencil planes. The WebGLRenderingContext.stencilMask() method can set both, the front and back stencil writemasks to one value at the same time.

Parameters

face: number
mask: number