]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture3d.h
Add some utility functions for textures
[libs/gl.git] / source / texture3d.h
index 55a0e3dbe8ec4ce214bdc56f5532655160965b58..57f3a6f8589e9d1ea9c986785b477524880b0a76 100644 (file)
@@ -85,7 +85,8 @@ public:
        unsigned get_height() const { return height; }
        unsigned get_depth() const { return depth; }
 protected:
-       void get_level_size(unsigned, unsigned &, unsigned &, unsigned &);
+       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; }