clearColor method
The WebGLRenderingContext.clearColor()
method of the
WebGL API
specifies the color values used
when clearing color buffers.
This specifies what color values to use when calling the WebGLRenderingContext.clear method. The values are clamped between 0 and 1.
Implementation
external void clearColor(
GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha,
);