GLGETTEXGEN(3G) | GLGETTEXGEN(3G) |
glGetTexGendv, glGetTexGenfv, glGetTexGeniv - return texture coordinate generation parameters
void glGetTexGendv( GLenum coord,
GLenum pname, GLdouble *params )
void glGetTexGenfv( GLenum coord,
GLenum pname, GLfloat *params )
void glGetTexGeniv( GLenum coord,
GLenum pname, GLint *params )
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:
If an error is generated, no change is made to the contents of params.
When the GL_ARB_multitexture extension is supported, glGetTexGen returns the texture coordinate generation parameters for the active texture unit.
GL_INVALID_ENUM is generated if coord or pname is not an accepted value.
GL_INVALID_OPERATION is generated if glGetTexGen is executed between the execution of glBegin and the corresponding execution of glEnd.
glActiveTextureARB, glTexGen