OpenGL.GL.SGI.color_table
OpenGL extension SGI.color_table
This module customises the behaviour of the
OpenGL.raw.GL.SGI.color_table to provide a more
Python-friendly API
Overview (from the spec)
This extension defines a new RGBA-format color lookup mechanism. It does
not replace the color lookups defined by the GL Specification, but rather
provides additional lookup capabilities with different operation. The key
difference is that the new lookup tables are treated as 1-dimensional images
with internal formats, like texture images and convolution filter images.
From this follows the fact that the new tables can operate on a subset of
the components of passing pixel groups. For example, a table with internal
format ALPHA modifies only the A component of each pixel group, leaving the
R, G, and B components unmodified.
If EXT_copy_texture is implemented, this extension also defines methods to
initialize the color lookup tables from the framebuffer, in addition to the
standard memory source mechanisms.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/SGI/color_table.txt
Functions
Constants
GL_COLOR_TABLE_ALPHA_SIZE_SGI (32989)
GL_COLOR_TABLE_BIAS_SGI (32983)
GL_COLOR_TABLE_BLUE_SIZE_SGI (32988)
GL_COLOR_TABLE_FORMAT_SGI (32984)
GL_COLOR_TABLE_GREEN_SIZE_SGI (32987)
GL_COLOR_TABLE_INTENSITY_SIZE_SGI (32991)
GL_COLOR_TABLE_LUMINANCE_SIZE_SGI (32990)
GL_COLOR_TABLE_RED_SIZE_SGI (32986)
GL_COLOR_TABLE_SCALE_SGI (32982)
GL_COLOR_TABLE_SGI (32976)
GL_COLOR_TABLE_WIDTH_SGI (32985)
GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI (32978)
GL_POST_CONVOLUTION_COLOR_TABLE_SGI (32977)
GL_PROXY_COLOR_TABLE_SGI (32979)
GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI (32981)
GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI (32980)