OpenGL.GL.NV.texture_multisample
OpenGL extension NV.texture_multisample
This module customises the behaviour of the
OpenGL.raw.GL.NV.texture_multisample to provide a more
Python-friendly API
Overview (from the spec)
This specification extends NV_gpu_program4 to support per-sample fetching
from multisample textures described in ARB_texture_multisample.
Specifically, it adds:
- The TXFMS sample fetch instruction.
- Texture targets corresponding to the multisample textures added by ARB_texture_multisample.
- A program option to enable these features.
This specification also extends the ARB_texture_multisample extension
by adding support for EXT_direct_state_access and VCAA multisample
coverage with seperate <colorSamples> and <coverageSamples> parameters.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/NV/texture_multisample.txt
Functions
glTexImage2DMultisampleCoverageNV(
target
,
coverageSamples
,
colorSamples
,
internalFormat
,
width
,
height
,
fixedSampleLocations
)
glTexImage3DMultisampleCoverageNV(
target
,
coverageSamples
,
colorSamples
,
internalFormat
,
width
,
height
,
depth
,
fixedSampleLocations
)
glTextureImage2DMultisampleCoverageNV(
texture
,
target
,
coverageSamples
,
colorSamples
,
internalFormat
,
width
,
height
,
fixedSampleLocations
)
glTextureImage2DMultisampleNV(
texture
,
target
,
samples
,
internalFormat
,
width
,
height
,
fixedSampleLocations
)
glTextureImage3DMultisampleCoverageNV(
texture
,
target
,
coverageSamples
,
colorSamples
,
internalFormat
,
width
,
height
,
depth
,
fixedSampleLocations
)
glTextureImage3DMultisampleNV(
texture
,
target
,
samples
,
internalFormat
,
width
,
height
,
depth
,
fixedSampleLocations
)
Constants
GL_TEXTURE_COLOR_SAMPLES_NV (36934)
GL_TEXTURE_COVERAGE_SAMPLES_NV (36933)