]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture3d.h
Rework ProgramData to do less unnecessary work
[libs/gl.git] / source / texture3d.h
index 25c96c5ce57c8fc2eae1d00d076a0decc8a10455..fa4c050f039c38f9a0734b0f6ec11ec21082e92b 100644 (file)
@@ -60,6 +60,11 @@ public:
        unsigned get_depth() const { return depth; }
 private:
        void get_level_size(unsigned, unsigned &, unsigned &, unsigned &);
+
+public:
+       virtual AsyncLoader *load(IO::Seekable &) { return 0; }
+       virtual UInt64 get_data_size() const;
+       virtual void unload() { }
 };
 
 } // namespace GL