1GLCOPYCOLORSUBTABLE(3G)          OpenGL Manual         GLCOPYCOLORSUBTABLE(3G)
2
3
4

NAME

6       glCopyColorSubTable - respecify a portion of a color table
7

C SPECIFICATION

9       void glCopyColorSubTable(GLenum target, GLsizei start, GLint x,
10                                GLint y, GLsizei width);
11

PARAMETERS

13       target
14           Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or
15           GL_POST_COLOR_MATRIX_COLOR_TABLE.
16
17       start
18           The starting index of the portion of the color table to be
19           replaced.
20
21       x, y
22           The window coordinates of the left corner of the row of pixels to
23           be copied.
24
25       width
26           The number of table entries to replace.
27

DESCRIPTION

29       glCopyColorSubTable is used to respecify a contiguous portion of a
30       color table previously defined using glColorTable(). The pixels copied
31       from the framebuffer replace the portion of the existing table from
32       indices start to start + x - 1, inclusive. This region may not include
33       any entries outside the range of the color table, as was originally
34       specified. It is not an error to specify a subtexture with width of 0,
35       but such a specification has no effect.
36

NOTES

38       glCopyColorSubTable is present only if ARB_imaging is returned when
39       glGetString() is called with an argument of GL_EXTENSIONS.
40

ERRORS

42       GL_INVALID_VALUE is generated if target is not a previously defined
43       color table.
44
45       GL_INVALID_VALUE is generated if target is not one of the allowable
46       values.
47
48       GL_INVALID_VALUE is generated if start + x > width.
49
50       GL_INVALID_OPERATION is generated if glCopyColorSubTable is executed
51       between the execution of glBegin() and the corresponding execution of
52       glEnd().
53

ASSOCIATED GETS

55       glGetColorTable(), glGetColorTableParameter()
56

SEE ALSO

58       glColorSubTable(), glColorTableParameter(), glCopyColorTable(),
59       glCopyColorSubTable, glGetColorTable()
60
62       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
63       under the SGI Free Software B License. For details, see
64       http://oss.sgi.com/projects/FreeB/.
65

AUTHORS

67       opengl.org
68
69
70
71opengl.org                        07/13/2018           GLCOPYCOLORSUBTABLE(3G)
Impressum