Package org.lwjgl.opengl
Class NVScissorExclusive
- java.lang.Object
-
- org.lwjgl.opengl.NVScissorExclusive
-
public class NVScissorExclusive extends java.lang.ObjectNative 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
Fields Modifier and Type Field Description static intGL_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.static intGL_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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidglScissorExclusiveArrayvNV(int first, int[] v)Array version of:ScissorExclusiveArrayvNVstatic voidglScissorExclusiveArrayvNV(int first, java.nio.IntBuffer v)static voidglScissorExclusiveNV(int x, int y, int width, int height)static voidnglScissorExclusiveArrayvNV(int first, int count, long v)
-
-
-
Field Detail
-
GL_SCISSOR_TEST_EXCLUSIVE_NV
public static final int GL_SCISSOR_TEST_EXCLUSIVE_NV
Accepted 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:
- Constant Field Values
-
GL_SCISSOR_BOX_EXCLUSIVE_NV
public static final int GL_SCISSOR_BOX_EXCLUSIVE_NV
Accepted by thepnameparameter ofGetBooleanv,GetIntegerv,GetInteger64v,GetFloatv,GetDoublev,GetBooleani_v,GetIntegeri_v,GetInteger64i_v,GetFloati_v,GetDoublei_v,GetDoubleIndexedvEXT,GetBooleanIndexedvEXT,GetIntegerIndexedvEXT, andGetFloatIndexedvEXT.- See Also:
- Constant Field Values
-
-
Method Detail
-
nglScissorExclusiveArrayvNV
public static void nglScissorExclusiveArrayvNV(int first, int count, long v)
-
glScissorExclusiveArrayvNV
public static void glScissorExclusiveArrayvNV(int first, java.nio.IntBuffer v)
-
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
-
-