glCompressedTexSubImage1D

specify a one-dimensional texture subimage in a compressed format

Signature

glCompressedTexSubImage1D( GLenum ( target ) , GLint ( level ) , GLint ( xoffset ) , GLsizei ( width ) , GLenum ( format ) , GLsizei ( imageSize ) , const GLvoid * ( data ) )-> void
glCompressedTexSubImage1D( target , level , xoffset , width , format , data )

Parameters

VariablesDescription
target
Specifies the target texture. Must be GL_TEXTURE_1D .
level
Specifies the level-of-detail number. Level 0 is the base image level. Level n is the n th mipmap reduction image.
xoffset
Specifies a texel offset in the x direction within the texture array.
width
Specifies the width of the texture subimage.
format
Specifies the format of the compressed image data stored at address data .
imageSize
Specifies the number of unsigned bytes of image data starting at the address specified by data .
data
Specifies a pointer to the compressed image data in memory.