Signature
Parameters
| Variables | Description |
|---|---|
| target |
Specifies the target texture.
Must be
GL_TEXTURE_1D
or
GL_PROXY_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.
|
| internalformat |
Specifies the format of the compressed image data stored at address
data
.
|
| width |
Specifies the width of the texture image.
All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
|
| border |
This value must be 0.
|
| 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.
|