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.

Copyright Notices

This documentation is based on documentation licensed under the SGI Free Software License B.

MathML Rendering

Powered by MathJax

AltStyle によって変換されたページ (->オリジナル) /