public class NVScissorExclusive
extends java.lang.Object
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 OpenGL 4.5.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_SCISSOR_BOX_EXCLUSIVE_NV
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev, GetBooleani_v,
GetIntegeri_v, GetInteger64i_v, GetFloati_v, GetDoublei_v, GetDoubleIndexedvEXT, GetBooleanIndexedvEXT, GetIntegerIndexedvEXT, and
GetFloatIndexedvEXT. |
static int |
GL_SCISSOR_TEST_EXCLUSIVE_NV
Accepted by the
cap parameter of Enable, Disable, and IsEnabled, by the target parameter of Enablei, Disablei,
IsEnabledi, EnableIndexedEXT, DisableIndexedEXT, and IsEnabledIndexedEXT, and by the pname parameter of GetBooleanv,
GetIntegerv, GetInteger64v, GetFloatv, GetDoublev, GetDoubleIndexedvEXT, GetBooleani_v, GetIntegeri_v, GetInteger64i_v,
GetFloati_v, GetDoublei_v, GetBooleanIndexedvEXT, GetIntegerIndexedvEXT, and GetFloatIndexedvEXT. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glScissorExclusiveArrayvNV(int first,
int[] v)
Array version of:
ScissorExclusiveArrayvNV |
static void |
glScissorExclusiveArrayvNV(int first,
java.nio.IntBuffer v) |
static void |
glScissorExclusiveNV(int x,
int y,
int width,
int height) |
static void |
nglScissorExclusiveArrayvNV(int first,
int count,
long v) |
public static final int GL_SCISSOR_TEST_EXCLUSIVE_NV
cap parameter of Enable, Disable, and IsEnabled, by the target parameter of Enablei, Disablei,
IsEnabledi, EnableIndexedEXT, DisableIndexedEXT, and IsEnabledIndexedEXT, and by the pname parameter of GetBooleanv,
GetIntegerv, GetInteger64v, GetFloatv, GetDoublev, GetDoubleIndexedvEXT, GetBooleani_v, GetIntegeri_v, GetInteger64i_v,
GetFloati_v, GetDoublei_v, GetBooleanIndexedvEXT, GetIntegerIndexedvEXT, and GetFloatIndexedvEXT.public static final int GL_SCISSOR_BOX_EXCLUSIVE_NV
pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev, GetBooleani_v,
GetIntegeri_v, GetInteger64i_v, GetFloati_v, GetDoublei_v, GetDoubleIndexedvEXT, GetBooleanIndexedvEXT, GetIntegerIndexedvEXT, and
GetFloatIndexedvEXT.public static void nglScissorExclusiveArrayvNV(int first,
int count,
long v)
public static void glScissorExclusiveArrayvNV(int first,
java.nio.IntBuffer v)
public static void glScissorExclusiveNV(int x,
int y,
int width,
int height)
public static void glScissorExclusiveArrayvNV(int first,
int[] v)
ScissorExclusiveArrayvNVCopyright LWJGL. All Rights Reserved. License terms.