SCISSOR TEST

Definition
The SCISSOR_TEST constant, if enabled, discards fragments that are outside the scissor box, defined by scissor.

Syntax

 * gl.SCISSOR_TEST

Examples

 * // Enables scissor testing
 * gl.enable(gl.SCISSOR_TEST);