Signature
Parameters
Variables | Description |
---|---|
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
is the
th
mipmap reduction image.
|
img |
Returns the compressed texture image.
|