return texture coordinate generation parameters
glGetTexGen returns in params selected parameters of a texture coordinate generation function that was specified using glTexGen . coord names one of the ( s , t , r , q ) texture coordinates, using the symbolic constant GL_S , GL_T , GL_R , or GL_Q .
pname specifies one of three symbolic names:
params returns the single-valued texture generation function, a symbolic constant. The initial value is GL_EYE_LINEAR .
params returns the four plane equation coefficients that specify object linear-coordinate generation. Integer values, when requested, are mapped directly from the internal floating-point representation.
params returns the four plane equation coefficients that specify eye linear-coordinate generation. Integer values, when requested, are mapped directly from the internal floating-point representation. The returned values are those maintained in eye coordinates. They are not equal to the values specified using glTexGen , unless the modelview matrix was identity when glTexGen was called.
If an error is generated, no change is made to the contents of params .
For OpenGL versions 1.3 and greater, or when the
ARB_multitextureextension is supported, glGetTexGen returns the texture coordinate generation parameters for the active texture unit.
Copyright 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/ .