colorMask method
The WebGLRenderingContext.colorMask()
method of the
WebGL API
sets which color components to
enable or to disable when drawing or rendering to a WebGLFramebuffer.
Implementation
external void colorMask(
GLboolean red,
GLboolean green,
GLboolean blue,
GLboolean alpha,
);