![]() |
![]()
| ![]() |
![]()
NAMEglGetTexEnvfv, glGetTexEnviv - return texture environment parameters C SPECIFICATIONvoid glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ) void glGetTexEnviv( GLenum target, GLenum pname, GLint *params ) PARAMETERSDESCRIPTIONglGetTexEnv returns in params selected values of a texture environment that was specified with glTexEnv. target specifies a texture environment. Currently, only one texture environment is defined and supported: GL_TEXTURE_ENV. pname names a specific texture environment parameter, as follows:
NOTESIf an error is generated, no change is made to the contents of params. ERRORSGL_INVALID_ENUM is generated if target or pname is not an accepted value. GL_INVALID_OPERATION is generated if glGetTexEnv is executed between the execution of glBegin and the corresponding execution of glEnd. SEE ALSOglTexEnv
|