};
private:
- PixelFormat ifmt;
unsigned width;
unsigned height;
unsigned depth;
unsigned allocated;
+protected:
+ Texture3D(GLenum);
public:
Texture3D();
unsigned get_width() const { return width; }
unsigned get_height() const { return height; }
unsigned get_depth() const { return depth; }
-private:
- void get_level_size(unsigned, unsigned &, unsigned &, unsigned &);
+protected:
+ unsigned get_n_levels() const;
+ void get_level_size(unsigned, unsigned &, unsigned &, unsigned &) const;
public:
virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }