This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



GLCOLORTABLEPARAMETER(3G)                                                          GLCOLORTABLEPARAMETER(3G)



NAME
       glColorTableParameterfv, glColorTableParameteriv - set color lookup table parameters


C SPECIFICATION
       void glColorTableParameterfv( GLenum target,
                                     GLenum pname,
                                     const GLfloat *params )
       void glColorTableParameteriv( GLenum target,
                                     GLenum pname,
                                     const GLint *params )


PARAMETERS
       target  The   target  color  table.   Must  be  GL_COLOR_TABLE,  GL_POST_CONVOLUTION_COLOR_TABLE,  or
               GL_POST_COLOR_MATRIX_COLOR_TABLE.

       pname   The  symbolic  name  of  a  texture  color  lookup  table  parameter.    Must   be   one   of
               GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS.

       params  A pointer to an array where the values of the parameters are stored.

DESCRIPTION
       glColorTableParameter is used to specify the scale factors and bias terms applied to color components
       when they are loaded into a color table. target indicates which color table the scale and bias  terms
       apply    to;    it    must    be   set   to   GL_COLOR_TABLE,   GL_POST_CONVOLUTION_COLOR_TABLE,   or
       GL_POST_COLOR_MATRIX_COLOR_TABLE.

       pname must be GL_COLOR_TABLE_SCALE to set the scale factors.  In this case, params points to an array
       of four values, which are the scale factors for red, green, blue, and alpha, in that order.

       pname  must  be GL_COLOR_TABLE_BIAS to set the bias terms. In this case, params points to an array of
       four values, which are the bias terms for red, green, blue, and alpha, in that order.

       The color tables themselves are specified by calling glColorTable.

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

ERRORS
       GL_INVALID_ENUM is generated if target or pname is not an acceptable value.

       GL_INVALID_OPERATION  is  generated  if  glColorTableParameter  is  executed between the execution of
       glBegin and the corresponding execution of glEnd.

ASSOCIATED GETS
       glGetColorTableParameter

SEE ALSO
       glColorTable(3G), glPixelTransfer(3G)




                                                                                   GLCOLORTABLEPARAMETER(3G)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the OpenGL project.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.