OpenGL.GL.SGIS.texture_select
OpenGL extension SGIS.texture_select
This module customises the behaviour of the
OpenGL.raw.GL.SGIS.texture_select to provide a more
Python-friendly API
Overview (from the spec)
This extension introduces several new texture internal formats. The
purpose of these new formats is to reorganize the components of a
texture into groups of components. The currently selected group
effectively becomes the internal format.
Also, two new texture parameters are introduced that control the
selection of these groups of components.
For example, assume a texture internal format of DUAL_LUMINANCE4_SGIS is
specified. Now there are two groups of components, where each group has
a format of LUMINANCE4. One of the two LUMINANCE groups is always
selected. components can be selected and then interpreted as a LUMINANCE
texture.
The purpose of this extension is allow better utilization of texture
memory by subdividing the internal representation of a texel into 1, 2,
or 4 smaller texels. Additionally, this may improve performance of
texture downloads.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/SGIS/texture_select.txt
Functions
Constants
GL_DUAL_ALPHA12_SGIS (33042)
GL_DUAL_ALPHA16_SGIS (33043)
GL_DUAL_ALPHA4_SGIS (33040)
GL_DUAL_ALPHA8_SGIS (33041)
GL_DUAL_INTENSITY12_SGIS (33050)
GL_DUAL_INTENSITY16_SGIS (33051)
GL_DUAL_INTENSITY4_SGIS (33048)
GL_DUAL_INTENSITY8_SGIS (33049)
GL_DUAL_LUMINANCE12_SGIS (33046)
GL_DUAL_LUMINANCE16_SGIS (33047)
GL_DUAL_LUMINANCE4_SGIS (33044)
GL_DUAL_LUMINANCE8_SGIS (33045)
GL_DUAL_LUMINANCE_ALPHA4_SGIS (33052)
GL_DUAL_LUMINANCE_ALPHA8_SGIS (33053)
GL_DUAL_TEXTURE_SELECT_SGIS (33060)
GL_QUAD_ALPHA4_SGIS (33054)
GL_QUAD_ALPHA8_SGIS (33055)
GL_QUAD_INTENSITY4_SGIS (33058)
GL_QUAD_INTENSITY8_SGIS (33059)
GL_QUAD_LUMINANCE4_SGIS (33056)
GL_QUAD_LUMINANCE8_SGIS (33057)
GL_QUAD_TEXTURE_SELECT_SGIS (33061)