This extension provides support for two new types of "multisample textures" - two-dimensional and two-dimensional array - as well as mechanisms to fetch a specific sample from such a texture in a shader, and to attach such textures to FBOs for rendering.
This extension also includes the following functionality, first described in NV_explicit_multisample:
Promoted to core in OpenGL 3..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_INT_SAMPLER_2D_MULTISAMPLE
Returned by the |
| public static final int | GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY
Returned by the |
| public static final int | GL_MAX_COLOR_TEXTURE_SAMPLES
Accepted by the |
| public static final int | GL_MAX_DEPTH_TEXTURE_SAMPLES
Accepted by the |
| public static final int | GL_MAX_INTEGER_SAMPLES
Accepted by the |
| public static final int | GL_MAX_SAMPLE_MASK_WORDS
Accepted by the |
| public static final int | GL_PROXY_TEXTURE_2D_MULTISAMPLE
Accepted by the |
| public static final int | GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY
Accepted by the |
| public static final int | GL_SAMPLE_MASK
Accepted by the |
| public static final int | GL_SAMPLE_MASK_VALUE
Accepted by the |
| public static final int | GL_SAMPLE_POSITION
Accepted by the |
| public static final int | GL_SAMPLER_2D_MULTISAMPLE
Returned by the |
| public static final int | GL_SAMPLER_2D_MULTISAMPLE_ARRAY
Returned by the |
| public static final int | GL_TEXTURE_2D_MULTISAMPLE
Accepted by the |
| public static final int | GL_TEXTURE_2D_MULTISAMPLE_ARRAY
Accepted by the |
| public static final int | GL_TEXTURE_BINDING_2D_MULTISAMPLE
Accepted by the |
| public static final int | GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY
Accepted by the |
| public static final int | GL_TEXTURE_FIXED_SAMPLE_LOCATIONS
Accepted by the |
| public static final int | GL_TEXTURE_SAMPLES
Accepted by the |
| public static final int | GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE
Returned by the |
| public static final int | GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY
Returned by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||
|---|---|---|---|
| public static float | glGetMultisamplef(int
the sample parameter name. Must be: pname, int
the index of the sample whose position to query index)Retrieves the location of a sample. | ||
| public static void | glGetMultisamplefv(int
the sample parameter name. Must be: pname, int
the index of the sample whose position to query index, FloatBuffer an array to receive the position of the sample val)Retrieves the location of a sample. | ||
| public static void | |||
| public static void | glSampleMaski(int
which 32-bit sub-word of the sample mask to update index, int the new value of the mask sub-word mask)Sets the value of a sub-word of the sample mask. | ||
| public static void | glTexImage2DMultisample(int
the target of the operation. One of: target, int
the number of samples in the multisample texture's image samples, int the internal format to be used to store the multisample texture's image. internalformat, int internalformat must specify a color-renderable, depth-renderable,
or stencil-renderable format.the width of the multisample texture's image, in texels width, int the height of the multisample texture's image, in texels height, boolean whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not
depend on the internal format or size of the image fixedsamplelocations)Establishes the data storage, format, dimensions, and number of samples of a 2D multisample texture's image. | ||
| public static void | glTexImage3DMultisample(int
the target of the operation. One of: target, int
the number of samples in the multisample texture's image samples, int the internal format to be used to store the multisample texture's image. internalformat, int internalformat must specify a color-renderable, depth-renderable,
or stencil-renderable format.the width of the multisample texture's image, in texels width, int the height of the multisample texture's image, in texels height, int the depth of the multisample texture's image, in texels depth, boolean whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not
depend on the internal format or size of the image fixedsamplelocations)Establishes the data storage, format, dimensions, and number of samples of a 3D multisample texture's image. | ||
| public static void |
| GL_INT_SAMPLER_2D_MULTISAMPLE | back to summary |
|---|---|
| public static final int GL_INT_SAMPLER_2D_MULTISAMPLE Returned by the | |
| GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY | back to summary |
|---|---|
| public static final int GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY Returned by the | |
| GL_MAX_COLOR_TEXTURE_SAMPLES | back to summary |
|---|---|
| public static final int GL_MAX_COLOR_TEXTURE_SAMPLES Accepted by the | |
| GL_MAX_DEPTH_TEXTURE_SAMPLES | back to summary |
|---|---|
| public static final int GL_MAX_DEPTH_TEXTURE_SAMPLES Accepted by the | |
| GL_MAX_INTEGER_SAMPLES | back to summary |
|---|---|
| public static final int GL_MAX_INTEGER_SAMPLES Accepted by the | |
| GL_MAX_SAMPLE_MASK_WORDS | back to summary |
|---|---|
| public static final int GL_MAX_SAMPLE_MASK_WORDS Accepted by the | |
| GL_PROXY_TEXTURE_2D_MULTISAMPLE | back to summary |
|---|---|
| public static final int GL_PROXY_TEXTURE_2D_MULTISAMPLE Accepted by the | |
| GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY | back to summary |
|---|---|
| public static final int GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY Accepted by the | |
| GL_SAMPLE_MASK | back to summary |
|---|---|
| public static final int GL_SAMPLE_MASK Accepted by the | |
| GL_SAMPLE_MASK_VALUE | back to summary |
|---|---|
| public static final int GL_SAMPLE_MASK_VALUE Accepted by the | |
| GL_SAMPLE_POSITION | back to summary |
|---|---|
| public static final int GL_SAMPLE_POSITION Accepted by the | |
| GL_SAMPLER_2D_MULTISAMPLE | back to summary |
|---|---|
| public static final int GL_SAMPLER_2D_MULTISAMPLE Returned by the | |
| GL_SAMPLER_2D_MULTISAMPLE_ARRAY | back to summary |
|---|---|
| public static final int GL_SAMPLER_2D_MULTISAMPLE_ARRAY Returned by the | |
| GL_TEXTURE_2D_MULTISAMPLE | back to summary |
|---|---|
| public static final int GL_TEXTURE_2D_MULTISAMPLE Accepted by the | |
| GL_TEXTURE_2D_MULTISAMPLE_ARRAY | back to summary |
|---|---|
| public static final int GL_TEXTURE_2D_MULTISAMPLE_ARRAY Accepted by the | |
| GL_TEXTURE_BINDING_2D_MULTISAMPLE | back to summary |
|---|---|
| public static final int GL_TEXTURE_BINDING_2D_MULTISAMPLE Accepted by the | |
| GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY | back to summary |
|---|---|
| public static final int GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY Accepted by the | |
| GL_TEXTURE_FIXED_SAMPLE_LOCATIONS | back to summary |
|---|---|
| public static final int GL_TEXTURE_FIXED_SAMPLE_LOCATIONS Accepted by the | |
| GL_TEXTURE_SAMPLES | back to summary |
|---|---|
| public static final int GL_TEXTURE_SAMPLES Accepted by the | |
| GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE | back to summary |
|---|---|
| public static final int GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE Returned by the | |
| GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY | back to summary |
|---|---|
| public static final int GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY Returned by the | |
| ARBTextureMultisample | back to summary |
|---|---|
| protected ARBTextureMultisample() | |
| glGetMultisamplef | back to summary | |
|---|---|---|
| public static float glGetMultisamplef(int pname, int index) Retrieves the location of a sample.
| ||
| glGetMultisamplefv | back to summary | |
|---|---|---|
| public static void glGetMultisamplefv(int pname, int index, FloatBuffer val) Retrieves the location of a sample.
| ||
| glGetMultisamplefv | back to summary |
|---|---|
| public static void glGetMultisamplefv(int pname, int index, float[] val) Array version of: | |
| glSampleMaski | back to summary |
|---|---|
| public static void glSampleMaski(int index, int mask) Sets the value of a sub-word of the sample mask.
| |
| glTexImage2DMultisample | back to summary | ||
|---|---|---|---|
| public static void glTexImage2DMultisample(int target, int samples, int internalformat, int width, int height, boolean fixedsamplelocations) Establishes the data storage, format, dimensions, and number of samples of a 2D multisample texture's image.
| |||
| glTexImage3DMultisample | back to summary | ||
|---|---|---|---|
| public static void glTexImage3DMultisample(int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations) Establishes the data storage, format, dimensions, and number of samples of a 3D multisample texture's image.
| |||
| nglGetMultisamplefv | back to summary |
|---|---|
| public static void nglGetMultisamplefv(int pname, int index, long val) Unsafe version of: | |