Class NVScissorExclusive
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
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted by thepname
parameter ofGetBooleanv
,GetIntegerv
,GetInteger64v
,GetFloatv
,GetBooleani_v
,GetIntegeri_v
andGetInteger64i_v
.static final int
Accepted by thecap
parameter ofEnable
,Disable
, andIsEnabled
, by thetarget
parameter ofEnablei
,Disablei
andIsEnabledi
, and by thepname
parameter ofGetBooleanv
,GetIntegerv
,GetInteger64v
,GetFloatv
,GetBooleani_v
,GetIntegeri_v
andGetInteger64i_v
. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
glScissorExclusiveArrayvNV
(int first, int[] v) Array version of:ScissorExclusiveArrayvNV
static void
glScissorExclusiveArrayvNV
(int first, IntBuffer v) static void
glScissorExclusiveNV
(int x, int y, int width, int height) static void
nglScissorExclusiveArrayvNV
(int first, int count, long v)
-
Field Details
-
GL_SCISSOR_TEST_EXCLUSIVE_NV
public static final int GL_SCISSOR_TEST_EXCLUSIVE_NVAccepted by thecap
parameter ofEnable
,Disable
, andIsEnabled
, by thetarget
parameter ofEnablei
,Disablei
andIsEnabledi
, and by thepname
parameter ofGetBooleanv
,GetIntegerv
,GetInteger64v
,GetFloatv
,GetBooleani_v
,GetIntegeri_v
andGetInteger64i_v
.- See Also:
-
GL_SCISSOR_BOX_EXCLUSIVE_NV
public static final int GL_SCISSOR_BOX_EXCLUSIVE_NVAccepted by thepname
parameter ofGetBooleanv
,GetIntegerv
,GetInteger64v
,GetFloatv
,GetBooleani_v
,GetIntegeri_v
andGetInteger64i_v
.- See Also:
-
-
Method Details
-
nglScissorExclusiveArrayvNV
public static void nglScissorExclusiveArrayvNV(int first, int count, long v) -
glScissorExclusiveArrayvNV
-
glScissorExclusiveNV
public static void glScissorExclusiveNV(int x, int y, int width, int height) -
glScissorExclusiveArrayvNV
public static void glScissorExclusiveArrayvNV(int first, int[] v) Array version of:ScissorExclusiveArrayvNV
-