Skip to main content
Module

x/gluten/mod.ts>WebGLRenderingContext#stencilFunc

OpenGL bindings & WebGL API implementation for Deno.
Go to Latest
method WebGLRenderingContext.prototype.stencilFunc
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.2/mod.ts";

Sets the front and back function and reference value for stencil testing.

Parameters

func: number
ref: number
mask: number