Package org.lwjgl.opengl
Class NVScissorExclusive
java.lang.Object
org.lwjgl.opengl.NVScissorExclusive
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 OpenGL 4.5.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by thepnameparameter ofGetBooleanv,GetIntegerv,GetInteger64v,GetFloatv,GetDoublev,GetBooleani_v,GetIntegeri_v,GetInteger64i_v,GetFloati_v,GetDoublei_v,GetDoubleIndexedvEXT,GetBooleanIndexedvEXT,GetIntegerIndexedvEXT, andGetFloatIndexedvEXT.static final intAccepted by thecapparameter ofEnable,Disable, andIsEnabled, by thetargetparameter ofEnablei,Disablei,IsEnabledi,EnableIndexedEXT,DisableIndexedEXT, andIsEnabledIndexedEXT, and by thepnameparameter ofGetBooleanv,GetIntegerv,GetInteger64v,GetFloatv,GetDoublev,GetDoubleIndexedvEXT,GetBooleani_v,GetIntegeri_v,GetInteger64i_v,GetFloati_v,GetDoublei_v,GetBooleanIndexedvEXT,GetIntegerIndexedvEXT, andGetFloatIndexedvEXT. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglScissorExclusiveArrayvNV(int first, int[] v) Array version of:ScissorExclusiveArrayvNVstatic voidglScissorExclusiveArrayvNV(int first, IntBuffer v) static voidglScissorExclusiveNV(int x, int y, int width, int height) static voidnglScissorExclusiveArrayvNV(int first, int count, long v)
-
Field Details
-
GL_SCISSOR_TEST_EXCLUSIVE_NV
public static final int GL_SCISSOR_TEST_EXCLUSIVE_NVAccepted by thecapparameter ofEnable,Disable, andIsEnabled, by thetargetparameter ofEnablei,Disablei,IsEnabledi,EnableIndexedEXT,DisableIndexedEXT, andIsEnabledIndexedEXT, and by thepnameparameter ofGetBooleanv,GetIntegerv,GetInteger64v,GetFloatv,GetDoublev,GetDoubleIndexedvEXT,GetBooleani_v,GetIntegeri_v,GetInteger64i_v,GetFloati_v,GetDoublei_v,GetBooleanIndexedvEXT,GetIntegerIndexedvEXT, andGetFloatIndexedvEXT.- See Also:
-
GL_SCISSOR_BOX_EXCLUSIVE_NV
public static final int GL_SCISSOR_BOX_EXCLUSIVE_NVAccepted by thepnameparameter ofGetBooleanv,GetIntegerv,GetInteger64v,GetFloatv,GetDoublev,GetBooleani_v,GetIntegeri_v,GetInteger64i_v,GetFloati_v,GetDoublei_v,GetDoubleIndexedvEXT,GetBooleanIndexedvEXT,GetIntegerIndexedvEXT, andGetFloatIndexedvEXT.- 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
-