OpenGL.GL.ARB.texture_multisample
OpenGL extension ARB.texture_multisample
This module customises the behaviour of the
OpenGL.raw.GL.ARB.texture_multisample to provide a more
Python-friendly API
Overview (from the spec)
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:
- 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
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/texture_multisample.txt
Functions
glTexImage2DMultisample(
target
,
samples
,
internalformat
,
width
,
height
,
fixedsamplelocations
)
glTexImage3DMultisample(
target
,
samples
,
internalformat
,
width
,
height
,
depth
,
fixedsamplelocations
)
Constants
GL_INT_SAMPLER_2D_MULTISAMPLE (37129)
GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY (37132)
GL_MAX_COLOR_TEXTURE_SAMPLES (37134)
GL_MAX_DEPTH_TEXTURE_SAMPLES (37135)
GL_MAX_INTEGER_SAMPLES (37136)
GL_MAX_SAMPLE_MASK_WORDS (36441)
GL_PROXY_TEXTURE_2D_MULTISAMPLE (37121)
GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY (37123)
GL_SAMPLE_MASK (36433)
GL_SAMPLE_MASK_VALUE (36434)
GL_SAMPLE_POSITION (36432)
GL_SAMPLER_2D_MULTISAMPLE (37128)
GL_SAMPLER_2D_MULTISAMPLE_ARRAY (37131)
GL_TEXTURE_2D_MULTISAMPLE (37120)
GL_TEXTURE_2D_MULTISAMPLE_ARRAY (37122)
GL_TEXTURE_BINDING_2D_MULTISAMPLE (37124)
GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY (37125)
GL_TEXTURE_FIXED_SAMPLE_LOCATIONS (37127)
GL_TEXTURE_SAMPLES (37126)
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE (37130)
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY (37133)