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

NAME

6       glColorTableParameter - set color lookup table parameters
7

C SPECIFICATION

9       void glColorTableParameterfv(GLenum target, GLenum pname,
10                                    const GLfloat * params);
11
12       void glColorTableParameteriv(GLenum target, GLenum pname,
13                                    const GLint * params);
14

PARAMETERS

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

DESCRIPTION

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

NOTES

47       glColorTableParameter is available only if ARB_imaging is returned from
48       calling glGetString() with an argument of GL_EXTENSIONS.
49

ERRORS

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

ASSOCIATED GETS

59       glGetColorTableParameter()
60

SEE ALSO

62       glColorTable(), glPixelTransfer()
63
65       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
66       under the SGI Free Software B License. For details, see
67       http://oss.sgi.com/projects/FreeB/.
68

AUTHORS

70       opengl.org
71
72
73
74opengl.org                        06/10/2014          GLCOLORTABLEPARAMETE(3G)
Impressum