/** Defines storage structure for the texture. Must be called before an
image can be uploaded. Once storage is defined, it can't be changed. */
/** Defines storage structure for the texture. Must be called before an
image can be uploaded. Once storage is defined, it can't be changed. */
unsigned get_width() const { return width; }
unsigned get_height() const { return height; }
private:
void get_level_size(unsigned, unsigned &, unsigned &);
unsigned get_width() const { return width; }
unsigned get_height() const { return height; }
private:
void get_level_size(unsigned, unsigned &, unsigned &);