Class NVScissorExclusive

java.lang.Object
org.lwjgl.opengles.NVScissorExclusive

public class NVScissorExclusive extends Object
Native bindings to the NV_scissor_exclusive extension.

In unextended OpenGL, applications can enable a per-viewport scissor test (SCISSOR_TEST) where fragments are discarded if their (x,y) coordinates lie outside the corresponding scissor rectangle. In this extension, we provide a separate per-viewport exclusive scissor test, where fragments are discarded if their (x,y) coordinates lie inside the corresponding exclusive scissor rectangle.

The regular (inclusive) scissor test and exclusive scissor test are orthogonal; applications can enable either or both tests for each viewport. If both tests are enabled, fragments will be discarded unless their (x,y) coordinates are both inside the regular scissor rectangle and outside the exclusive scissor rectangle.

Requires GLES 3.2 and NV_viewport_array or OES_viewport_array.