COLOR BUFFER BIT

Definition
The COLOR_BUFFER_BIT constant indicates the buffers currently enabled for color writing.

Syntax

 * gl.COLOR_BUFFER_BIT

Examples

 * // Clears the color and depth buffers
 * gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);