]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texturecube.h
Pass the resource collection to async loaders
[libs/gl.git] / source / texturecube.h
index 1c0d672428a8f098e2e8b33744b6894aab2e783d..4530a97ac8525d4719af598c9ed1757edfbbf47b 100644 (file)
@@ -103,7 +103,8 @@ public:
        /** Returns a vector pointing to the center a texel. */
        Vector3 get_texel_direction(TextureCubeFace, unsigned, unsigned);
 
-       virtual AsyncLoader *load(IO::Seekable &) { return 0; }
+       virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
+       virtual UInt64 get_data_size() const;
        virtual void unload() { }
 };