Top Description Fields Constructors Methods
org.lwjgl.opengles

public Class NVScissorExclusive

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

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.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
GL_SCISSOR_TEST_EXCLUSIVE_NV

Accepted by the cap parameter of Enable, Disable, and IsEnabled, by the target parameter of Enablei, Disablei and IsEnabledi, and by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetBooleani_v, GetIntegeri_v and GetInteger64i_v.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
public static void
glScissorExclusiveArrayvNV(int first, int[] v)

Array version of: ScissorExclusiveArrayvNV

public static native void
glScissorExclusiveNV(int x, int y, int width, int height)

public static native void
nglScissorExclusiveArrayvNV(int first, int count, long v)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_SCISSOR_BOX_EXCLUSIVE_NVback to summary
public static final int GL_SCISSOR_BOX_EXCLUSIVE_NV

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetBooleani_v, GetIntegeri_v and GetInteger64i_v.

GL_SCISSOR_TEST_EXCLUSIVE_NVback to summary
public static final int GL_SCISSOR_TEST_EXCLUSIVE_NV

Accepted by the cap parameter of Enable, Disable, and IsEnabled, by the target parameter of Enablei, Disablei and IsEnabledi, and by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetBooleani_v, GetIntegeri_v and GetInteger64i_v.

Constructor Detail

NVScissorExclusiveback to summary
protected NVScissorExclusive()

Method Detail

glScissorExclusiveArrayvNVback to summary
public static void glScissorExclusiveArrayvNV(int first, IntBuffer v)
glScissorExclusiveArrayvNVback to summary
public static void glScissorExclusiveArrayvNV(int first, int[] v)

Array version of: ScissorExclusiveArrayvNV

glScissorExclusiveNVback to summary
public static native void glScissorExclusiveNV(int x, int y, int width, int height)
nglScissorExclusiveArrayvNVback to summary
public static native void nglScissorExclusiveArrayvNV(int first, int count, long v)