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

x/gluten/src/webgl/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.0/src/webgl/mod.ts";

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

Parameters

func: number
ref: number
mask: number