OpenGL.GL.EXT.texture

OpenGL extension EXT.texture
This module customises the behaviour of the OpenGL.raw.GL.EXT.texture to provide a more Python-friendly API
Overview (from the spec)
The original intention of this extension was simply to support various numeric resolutions of color components in texture images. While it accomplishes this, it also accomplishes a larger task, that of formalizing the notion of an internal format for images, corresponding to the external format that already existed for image data in host memory. This notion of an internal image format will be used extensively in later extensions, especially those concerned with pixel manipulation.
The idea of an internal format is simple: rather than treating a retained image as having 1, 2, 3, or 4 components, treat it as though it has a specific format, such as LUMINANCE_ALPHA, or just ALPHA. Then define the semantics of the use of internal images with these formats in a consistent way. Because texture mapping is already defined in GL, the semantics for internal-format images were chosen to match those of the 1, 2, 3, and 4 component internal images that already existed. The new semantics are a superset of the old ones, however, so this extension adds capabilities to GL, as well as allowing internal resolutions to be specified.
This extension also defines a robust method for applications to determine what combinations of texture dimensions and resolutions are supported by an implementation. It also introduces a new texture environment: REPLACE_EXT.
The official definition of this extension is available here: http://www.opengl.org/registry/specs/EXT/texture.txt

Functions

Constants

GL_ALPHA12_EXT (32829)
GL_ALPHA16_EXT (32830)
GL_ALPHA4_EXT (32827)
GL_ALPHA8_EXT (32828)
GL_INTENSITY12_EXT (32844)
GL_INTENSITY16_EXT (32845)
GL_INTENSITY4_EXT (32842)
GL_INTENSITY8_EXT (32843)
GL_INTENSITY_EXT (32841)
GL_LUMINANCE12_ALPHA12_EXT (32839)
GL_LUMINANCE12_ALPHA4_EXT (32838)
GL_LUMINANCE12_EXT (32833)
GL_LUMINANCE16_ALPHA16_EXT (32840)
GL_LUMINANCE16_EXT (32834)
GL_LUMINANCE4_ALPHA4_EXT (32835)
GL_LUMINANCE4_EXT (32831)
GL_LUMINANCE6_ALPHA2_EXT (32836)
GL_LUMINANCE8_ALPHA8_EXT (32837)
GL_LUMINANCE8_EXT (32832)
GL_PROXY_TEXTURE_1D_EXT (32867)
GL_PROXY_TEXTURE_2D_EXT (32868)
GL_REPLACE_EXT (32866)
GL_RGB10_A2_EXT (32857)
GL_RGB10_EXT (32850)
GL_RGB12_EXT (32851)
GL_RGB16_EXT (32852)
GL_RGB2_EXT (32846)
GL_RGB4_EXT (32847)
GL_RGB5_A1_EXT (32855)
GL_RGB5_EXT (32848)
GL_RGB8_EXT (32849)
GL_RGBA12_EXT (32858)
GL_RGBA16_EXT (32859)
GL_RGBA2_EXT (32853)
GL_RGBA4_EXT (32854)
GL_RGBA8_EXT (32856)
GL_TEXTURE_ALPHA_SIZE_EXT (32863)
GL_TEXTURE_BLUE_SIZE_EXT (32862)
GL_TEXTURE_GREEN_SIZE_EXT (32861)
GL_TEXTURE_INTENSITY_SIZE_EXT (32865)
GL_TEXTURE_LUMINANCE_SIZE_EXT (32864)
GL_TEXTURE_RED_SIZE_EXT (32860)
GL_TEXTURE_TOO_LARGE_EXT (32869)