]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture3d.h
Add a geometry flag to ProgramBuilder
[libs/gl.git] / source / texture3d.h
index 25c96c5ce57c8fc2eae1d00d076a0decc8a10455..93cae7e84e573ff40b0e5685210a9ab6c3ca990c 100644 (file)
@@ -2,8 +2,6 @@
 #define MSP_GL_TEXTURE3D_H_
 
 #include <string>
-#include "datatype.h"
-#include "pixelformat.h"
 #include "texture.h"
 
 namespace Msp {
@@ -60,6 +58,11 @@ public:
        unsigned get_depth() const { return depth; }
 private:
        void get_level_size(unsigned, unsigned &, unsigned &, unsigned &);
+
+public:
+       virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
+       virtual UInt64 get_data_size() const;
+       virtual void unload() { }
 };
 
 } // namespace GL