*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> OpenGL/glcolortableparametersgi (3)              
Title
Content
Arch
Section
 

Contents


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


NAME    [Toc]    [Back]

     glColorTableParameterfvSGI, glColorTableParameterivSGI - set color	lookup
     table parameters

C SPECIFICATION    [Toc]    [Back]

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

PARAMETERS    [Toc]    [Back]

     target  The target	color table.  Must be GL_COLOR_TABLE_SGI,
	     GL_POST_CONVOLUTION_COLOR_TABLE_SGI,
	     GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI, or
	     GL_TEXTURE_COLOR_TABLE_SGI.

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

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

DESCRIPTION    [Toc]    [Back]

     glColorTableParameterSGI is part of the SGI_color_table 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 GL_COLOR_TABLE_SGI,
     GL_POST_CONVOLUTION_COLOR_TABLE_SGI,
     GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI, or GL_TEXTURE_COLOR_TABLE_SGI.

     pname must	be GL_COLOR_TABLE_SCALE_SGI 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_SGI 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    [Toc]    [Back]

     glColorTableParameterSGI is part of the SGI_color_table extension.
     GL_TEXTURE_COLOR_TABLE_SGI	is part	of the SGI_texture_color_table
     extension.	 See glIntro for more information on using extensions.



									Page 1






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


ERRORS    [Toc]    [Back]

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

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

ASSOCIATED GETS    [Toc]    [Back]

     glGetColorTableParameterSGI


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

SEE ALSO    [Toc]    [Back]

      
      
     glColorTableSGI, glPixelTransfer.


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
glgetcolortableparameter IRIX get color lookup table parameters
glgetcolortableparametersgi IRIX get color lookup table parameters
glcolortable IRIX define a color lookup table
glcolortablesgi IRIX define a color lookup table
glgetcolortable IRIX retrieve contents of a color lookup table
glgetcolortablesgi IRIX retrieve contents of a color lookup table
hosts Linux The static table lookup for host names
glcopycolortable IRIX copy pixels into a color table
glcopycolorsubtable IRIX respecify a portion of a color table
glcolorsubtable IRIX respecify a portion of a color table
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service