1GLCOLORTABLEPARAMETER(3G)                            GLCOLORTABLEPARAMETER(3G)
2
3
4

NAME

6       glColorTableParameteriv, glColorTableParameterfv - set color lookup ta‐
7       ble parameters
8
9

C SPECIFICATION

11       void glColorTableParameteriv( GLenum target,
12                                     GLenum pname,
13                                     const GLint *params )
14       void glColorTableParameterfv( GLenum target,
15                                     GLenum pname,
16                                     const GLfloat *params )
17
18

PARAMETERS

20       target  The   target   color   table.     Must    be    GL_COLOR_TABLE,
21               GL_POST_CONVOLUTION_COLOR_TABLE,                             or
22               GL_POST_COLOR_MATRIX_COLOR_TABLE.
23
24       pname   The symbolic name of a texture color  lookup  table  parameter.
25               Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS.
26
27       params  A  pointer  to  an array where the values of the parameters are
28               stored.
29

DESCRIPTION

31       glColorTableParameter is used to specify the  scale  factors  and  bias
32       terms applied to color components when they are loaded into a color ta‐
33       ble. target indicates which color table the scale and bias terms  apply
34       to;  it must be set to GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE,
35       or GL_POST_COLOR_MATRIX_COLOR_TABLE.
36
37       pname must be GL_COLOR_TABLE_SCALE to set the scale factors.   In  this
38       case,  params  points  to  an array of four values, which are the scale
39       factors for red, green, blue, and alpha, in that order.
40
41       pname must be GL_COLOR_TABLE_BIAS to set the bias terms. In this  case,
42       params  points to an array of four values, which are the bias terms for
43       red, green, blue, and alpha, in that order.
44
45       The color tables themselves are specified by calling glColorTable.
46

NOTES

48       glColorTableParameter is available only if GL_ARB_imaging  is  returned
49       from calling glGetString with an argument of GL_EXTENSIONS.
50

ERRORS

52       GL_INVALID_ENUM  is  generated  if target or pname is not an acceptable
53       value.
54
55       GL_INVALID_OPERATION is generated if glColorTableParameter is  executed
56       between  the  execution  of  glBegin and the corresponding execution of
57       glEnd.
58

ASSOCIATED GETS

60       glGetColorTableParameter
61

SEE ALSO

63       glColorTable(3G), glPixelTransfer(3G)
64
65
66
67                                                     GLCOLORTABLEPARAMETER(3G)
Impressum