Hi all,
I’m looking for some clarification on glCompressedTexImage2D.
From the function description on khronos.org:
“level - Specifies the level-of-detail number. Must be less than or equal to 0. Level 0 indicates a single mip-level. Negative values indicate how many mip-levels are described by data.”
Does this mean that the variable “data” points to successive mipmaps such that each mipmap is always half the size of the mipmap that came before it? If this is true, does this not mean that it is impossible to assign a compressed image of a specific size as a mipmap for two or more consecutive levels, and impossible to have “irregular” mipmap sizes (i.e. 256 x 256 followed by 192x192 and followed again by 128x128 …)
Appreciate any help,
- Ben