Package org.lwjgl.opengl
Class NVExplicitMultisample
- java.lang.Object
-
- org.lwjgl.opengl.NVExplicitMultisample
-
public class NVExplicitMultisample extends java.lang.ObjectNative 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.0andARB_multisample.
-
-
Field Summary
Fields Modifier and Type Field and Description static intGL_INT_SAMPLER_RENDERBUFFER_NVReturned by thetypeparameter of GetActiveUniform.static intGL_MAX_SAMPLE_MASK_WORDS_NVAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static intGL_SAMPLE_MASK_NVAccepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_SAMPLE_MASK_VALUE_NVAccepted by thepnameparameter of GetBooleanIndexedvEXT and GetIntegerIndexedvEXT.static intGL_SAMPLE_POSITION_NVAccepted by thepnameparameter of GetMultisamplefvNV.static intGL_SAMPLER_RENDERBUFFER_NVReturned by thetypeparameter of GetActiveUniform.static intGL_TEXTURE_BINDING_RENDERBUFFER_NV
GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NVAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static intGL_TEXTURE_RENDERBUFFER_NVAccepted by thetargetparameter of BindTexture, and TexRenderbufferNV.static intGL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NVReturned by thetypeparameter of GetActiveUniform.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglGetMultisamplefvNV(int pname, int index, float[] val)Array version of:GetMultisamplefvNVstatic voidglGetMultisamplefvNV(int pname, int index, java.nio.FloatBuffer val)static voidglSampleMaskIndexedNV(int index, int mask)static voidglTexRenderbufferNV(int target, int renderbuffer)
-
-
-
Field Detail
-
GL_SAMPLE_POSITION_NV
Accepted by thepnameparameter of GetMultisamplefvNV.
-
GL_SAMPLE_MASK_NV
Accepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_SAMPLE_MASK_VALUE_NV
Accepted by thepnameparameter of GetBooleanIndexedvEXT and GetIntegerIndexedvEXT.
-
GL_TEXTURE_BINDING_RENDERBUFFER_NV, GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV, GL_MAX_SAMPLE_MASK_WORDS_NV
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
-
GL_TEXTURE_RENDERBUFFER_NV
Accepted by thetargetparameter of BindTexture, and TexRenderbufferNV.
-
GL_SAMPLER_RENDERBUFFER_NV, GL_INT_SAMPLER_RENDERBUFFER_NV, GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV
Returned by thetypeparameter of GetActiveUniform.
-
-
Method Detail
-
glGetMultisamplefvNV
public static void glGetMultisamplefvNV(int pname, int index, java.nio.FloatBuffer val)
-
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
-
-