glColorTable, glColorTableParameter, glCopyColorTable, glCopyColorSubTable, glGetColorTable
Copyright 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.
Page generated by adrdox
glColorSubTable: man2/glColorSubTable.xml
glColorSubTable is used to respecify a contiguous portion of a color table previously defined using glColorTable. The pixels referenced by data replace the portion of the existing table from indices start to start + count - 1, inclusive. This region may not include any entries outside the range of the color table as it was originally specified. It is not an error to specify a subtexture with width of 0, but such a specification has no effect. If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target (see glBindBuffer ) while a portion of a color table is respecified, data is treated as a byte offset into the buffer object's data store.
glColorSubTable is present only if ARB_imaging is returned when glGetString is called with an argument of GL_EXTENSIONS.