void glGetTexEnvfv
| ( | GLenum target
, GLenum pname
, GLfloat *params
); |
void glGetTexEnviv
| ( | GLenum target
, GLenum pname
, GLint *params
); |
glGetTexEnvfv
| ( |
target
,
pname
) →
params
|
glGetTexEnviv
| ( |
target
,
pname
) →
params
|
glGetTexEnv 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:
If an error is generated, no change is made to the contents of params.
When the GL_ARB_multitexture extension is supported, glGetTexEnv returns the texture environment parameters for the active texture unit.