private:
unsigned size;
unsigned levels;
+ /* Lowest six bits track allocation status of faces on the base level. Bit
+ seven is set if the entire base level is allocated. */
unsigned allocated;
static TextureCubeFace face_order[6];
void image(TextureCubeFace, const Graphics::Image &, bool = false);
- virtual void image(const Graphics::Image &, bool = false);
+ virtual void image(const Graphics::Image &, unsigned, bool = false);
+ using Texture::image;
unsigned get_size() const { return size; }
private: