void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
target | Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D_EXT are accepted. |
pname | Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD_EXT, GL_TEXTURE_MAX_LOD_EXT, GL_TEXTURE_BASE_LEVEL_EXT, GL_TEXTURE_MAX_LEVEL_EXT, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, and GL_GENERATE_MIPMAP_EXT are accepted. |
params | Returns the texture parameters. |
If an error is generated, no change is made to the contents of params.
GL_INVALID_OPERATION is generated if glGetTexParameter is executed between the execution of glBegin and the corresponding execution of glEnd.