Skip to main content
Module

x/caviar/deps.ts>WebGLRenderingContext#stencilMaskSeparate

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Latest
method WebGLRenderingContext.prototype.stencilMaskSeparate
import { WebGLRenderingContext } from "https://deno.land/x/caviar@2.6.7/deps.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