glGetTexParameteriv

glGetTexParameter: man3/glGetTexParameter.xml

glGetTexParameter returns in params the value or values of the texture parameter specified as pname. target defines the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP specify one-, two-, or three-dimensional, one-dimensional array, two-dimensional array, rectangle or cube-mapped texturing, respectively. pname accepts the same symbols as glTexParameter, with the same interpretations:

If an error is generated, no change is made to the contents of params.

@OpenGL_Version(OGLIntroducedIn.V1P0)
fn_glGetTexParameteriv glGetTexParameteriv;

See Also

glTexParameter

Meta