Package org.lwjgl.opengl
Class NVExplicitMultisample
java.lang.Object
org.lwjgl.opengl.NVExplicitMultisample
Native bindings to the NV_explicit_multisample extension.
In traditional multisample specs, the API only allows access to the samples indirectly through methods such as coverage values and downsampled readbacks. NV_explicit_multisample adds a set of new capabilities to allow more precise control over the use of multisamples. Specifically, it adds:
- A query in the API to query the location of samples within the pixel
- An explicit control for the multisample sample mask to augment the control provided by SampleCoverage
- A new texture target to wrap a renderbuffer and allow a restricted class of accesses to the samples
- The ability to fetch a specific sample from a multisampled texture from within a shader
- A program option to enable the new behavior
Requires OpenGL 2.0
and ARB_multisample
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Returned by thetype
parameter of GetActiveUniform.static final int
Accepted by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static final int
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final int
Accepted by thepname
parameter of GetBooleanIndexedvEXT and GetIntegerIndexedvEXT.static final int
Accepted by thepname
parameter of GetMultisamplefvNV.static final int
Returned by thetype
parameter of GetActiveUniform.static final int
Accepted by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static final int
Accepted by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static final int
Accepted by thetarget
parameter of BindTexture, and TexRenderbufferNV.static final int
Returned by thetype
parameter of GetActiveUniform. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
glGetMultisamplefvNV
(int pname, int index, float[] val) Array version of:GetMultisamplefvNV
static void
glGetMultisamplefvNV
(int pname, int index, FloatBuffer val) static void
glSampleMaskIndexedNV
(int index, int mask) static void
glTexRenderbufferNV
(int target, int renderbuffer) static void
nglGetMultisamplefvNV
(int pname, int index, long val)
-
Field Details
-
GL_SAMPLE_POSITION_NV
public static final int GL_SAMPLE_POSITION_NVAccepted by thepname
parameter of GetMultisamplefvNV.- See Also:
-
GL_SAMPLE_MASK_NV
public static final int GL_SAMPLE_MASK_NVAccepted by thecap
parameter of Enable, Disable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_SAMPLE_MASK_VALUE_NV
public static final int GL_SAMPLE_MASK_VALUE_NVAccepted by thepname
parameter of GetBooleanIndexedvEXT and GetIntegerIndexedvEXT.- See Also:
-
GL_TEXTURE_BINDING_RENDERBUFFER_NV
public static final int GL_TEXTURE_BINDING_RENDERBUFFER_NVAccepted by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.- See Also:
-
GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV
public static final int GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NVAccepted by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.- See Also:
-
GL_MAX_SAMPLE_MASK_WORDS_NV
public static final int GL_MAX_SAMPLE_MASK_WORDS_NVAccepted by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.- See Also:
-
GL_TEXTURE_RENDERBUFFER_NV
public static final int GL_TEXTURE_RENDERBUFFER_NVAccepted by thetarget
parameter of BindTexture, and TexRenderbufferNV.- See Also:
-
GL_SAMPLER_RENDERBUFFER_NV
public static final int GL_SAMPLER_RENDERBUFFER_NVReturned by thetype
parameter of GetActiveUniform.- See Also:
-
GL_INT_SAMPLER_RENDERBUFFER_NV
public static final int GL_INT_SAMPLER_RENDERBUFFER_NVReturned by thetype
parameter of GetActiveUniform.- See Also:
-
GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV
public static final int GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NVReturned by thetype
parameter of GetActiveUniform.- See Also:
-
-
Method Details
-
nglGetMultisamplefvNV
public static void nglGetMultisamplefvNV(int pname, int index, long val) -
glGetMultisamplefvNV
-
glSampleMaskIndexedNV
public static void glSampleMaskIndexedNV(int index, int mask) -
glTexRenderbufferNV
public static void glTexRenderbufferNV(int target, int renderbuffer) -
glGetMultisamplefvNV
public static void glGetMultisamplefvNV(int pname, int index, float[] val) Array version of:GetMultisamplefvNV
-