glColorSubTable

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.

@OpenGL_Version(OGLIntroducedIn.Unknown)
@OpenGL_Extension("GL_ARB_imaging")
fn_glColorSubTable glColorSubTable;

See Also

glColorTable, glColorTableParameter, glCopyColorTable, glCopyColorSubTable, glGetColorTable

Meta