Skip to main content
Module

x/gluten/mod.ts>WebGLRenderingContext#colorMask

OpenGL bindings & WebGL API implementation for Deno.
Latest
method WebGLRenderingContext.prototype.colorMask
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.7/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