glGetCompressedTexImage

return a compressed texture image

Signature

glGetCompressedTexImage( GLenum ( target ) , GLint ( lod ) , GLvoid * ( img ) )-> void
glGetCompressedTexImage( target , level , img = None )
Retrieve a compressed texture image

Parameters

VariablesDescription
target
Specifies which texture is to be obtained. GL_TEXTURE_1D , GL_TEXTURE_2D , GL_TEXTURE_3D , GL_TEXTURE_CUBE_MAP_POSITIVE_X , GL_TEXTURE_CUBE_MAP_NEGATIVE_X , GL_TEXTURE_CUBE_MAP_POSITIVE_Y , GL_TEXTURE_CUBE_MAP_NEGATIVE_Y , GL_TEXTURE_CUBE_MAP_POSITIVE_Z , and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted.
lod
Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level n is the n th mipmap reduction image.
img
Returns the compressed texture image.

MathML Rendering

Powered by MathJax