]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture2d.h
Pass the resource collection to async loaders
[libs/gl.git] / source / texture2d.h
index a37e2a4d7fd746eeb732d23483d8896115377338..7504f321d218543ea151700ed819cdd0eb9cb96d 100644 (file)
@@ -85,7 +85,8 @@ private:
        void get_level_size(unsigned, unsigned &, unsigned &);
 
 public:
-       virtual Resource::AsyncLoader *load(IO::Seekable &);
+       virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);
+       virtual UInt64 get_data_size() const;
        virtual void unload();
 };