Skip to main content
Module

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