void image_data(TextureCubeFace, const std::string &);
void raw_data(TextureCubeFace, const std::string &);
void storage(PixelFormat, unsigned);
+ void storage_levels(PixelFormat, unsigned, unsigned);
};
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: