Skip to main content
Module

x/gluten/mod.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.5/mod.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