]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texturecube.h
Implement automatic unloading when a total size limit is exceeded
[libs/gl.git] / source / texturecube.h
index 077b58ac59f48d6e1bc688564b9787a5086d5b28..fe343c7390630de1ad6fdc9a1f3a2cbc3ebfcdda 100644 (file)
@@ -102,6 +102,10 @@ 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 UInt64 get_data_size() const;
+       virtual void unload() { }
 };
 
 void operator>>(const LexicalConverter &, TextureCubeFace &);