glGetTexParameter

return texture parameter values

Signature

glGetTexParameter( )->
glGetTexParameterIiv( GLenum ( target ) , GLenum ( pname ) , GLint * ( params ) )-> void
glGetTexParameterIiv( target , pname , params )
glGetTexParameterIuiv( GLenum ( target ) , GLenum ( pname ) , GLuint * ( params ) )-> void
glGetTexParameterIuiv( target , pname , params )
glGetTexParameterfv( GLenum ( target ) , GLenum ( pname ) , GLfloat * ( params ) )-> void
glGetTexParameterfv( target , pname , params )
glGetTexParameteriv( GLenum ( target ) , GLenum ( pname ) , GLint * ( params ) )-> void
glGetTexParameteriv( target , pname , params )

Parameters

VariablesDescription
target
Specifies the symbolic name of the target texture. GL_TEXTURE_1D , GL_TEXTURE_2D , GL_TEXTURE_1D_ARRAY , GL_TEXTURE_2D_ARRAY , GL_TEXTURE_3D , GL_TEXTURE_RECTANGLE , GL_TEXTURE_CUBE_MAP , and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
pname
Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE , GL_TEXTURE_BASE_LEVEL , GL_TEXTURE_BORDER_COLOR , GL_TEXTURE_COMPARE_MODE , GL_TEXTURE_COMPARE_FUNC , GL_TEXTURE_IMMUTABLE_FORMAT , GL_TEXTURE_IMMUTABLE_LEVELS , GL_TEXTURE_LOD_BIAS , GL_TEXTURE_MAG_FILTER , GL_TEXTURE_MAX_LEVEL , GL_TEXTURE_MAX_LOD , GL_TEXTURE_MIN_FILTER , GL_TEXTURE_MIN_LOD , GL_TEXTURE_SWIZZLE_R , GL_TEXTURE_SWIZZLE_G , GL_TEXTURE_SWIZZLE_B , GL_TEXTURE_SWIZZLE_A , GL_TEXTURE_SWIZZLE_RGBA , GL_TEXTURE_VIEW_MIN_LAYER , GL_TEXTURE_VIEW_MIN_LEVEL , GL_TEXTURE_VIEW_NUM_LAYERS , GL_TEXTURE_VIEW_NUM_LEVELS , GL_TEXTURE_WRAP_S , GL_TEXTURE_WRAP_T , and GL_TEXTURE_WRAP_R are accepted.
params
Returns the texture parameters.