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#colorMask

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

Sets which color components to enable or to disable when drawing or rendering to a WebGLFramebuffer.

Parameters

r: boolean
g: boolean
b: boolean
a: boolean