/** Defines storage structure for the texture. If lv is zero, the number
of mipmap levels is automatically determined from storage dimensions.
/** Defines storage structure for the texture. If lv is zero, the number
of mipmap levels is automatically determined from storage dimensions.
unsigned get_width() const { return width; }
unsigned get_height() const { return height; }
unsigned get_depth() const { return depth; }
unsigned get_width() const { return width; }
unsigned get_height() const { return height; }
unsigned get_depth() const { return depth; }