Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glcolortableparameterivsgi(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



glColorTableParameterSGI(3G)   OpenGL Reference   glColorTableParameterSGI(3G)



NAME
     glColorTableParameterfvSGI, glColorTableParameterivSGI - set color lookup
     table parameters


C SPECIFICATION
     void glColorTableParameterfvSGI( GLenum target,
                                      GLenum pname,
                                      const GLfloat *params )
     void glColorTableParameterivSGI( GLenum target,
                                      GLenum pname,
                                      const GLint *params )


PARAMETERS
     target  The target color table.  Must be GLCOLORTABLESGI,
             GLPOSTCONVOLUTIONCOLORTABLESGI,
             GLPOSTCOLORMATRIXCOLORTABLESGI, or
             GLTEXTURECOLORTABLESGI.

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

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

DESCRIPTION
     glColorTableParameterSGI is part of the SGIcolortable extension, which
     adds several color lookup tables to the pixel transfer path.

     glColorTableParameterSGI 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 GLCOLORTABLESGI,
     GLPOSTCONVOLUTIONCOLORTABLESGI,
     GLPOSTCOLORMATRIXCOLORTABLESGI, or GLTEXTURECOLORTABLESGI.

     pname must be GLCOLORTABLESCALESGI 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 GLCOLORTABLEBIASSGI 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 glColorTableSGI.

NOTES
     glColorTableParameterSGI is part of the SGIcolortable extension.
     GLTEXTURECOLORTABLESGI is part of the SGItexturecolortable
     extension.  See glIntro for more information on using extensions.



                                                                        Page 1





glColorTableParameterSGI(3G)   OpenGL Reference   glColorTableParameterSGI(3G)



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

     GLINVALIDOPERATION is generated if glColorTableParameterSGI is executed
     between the execution of glBegin and the corresponding execution of
     glEnd.

ASSOCIATED GETS
     glGetColorTableParameterSGI


MACHINE DEPENDENCIES
     The SGIcolortable extension is not supported on RealityEngine,
     RealityEngine2, and VTX systems.


SEE ALSO
     glColorTableSGI, glPixelTransfer.




































                                                                        Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026