]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texturecube.h
Add a convenience method to get the aspect ratio of View
[libs/gl.git] / source / texturecube.h
index 1c0d672428a8f098e2e8b33744b6894aab2e783d..f65ec0592a4358b1816a59090b68f224f0c7ad78 100644 (file)
@@ -2,8 +2,6 @@
 #define MSP_GL_TEXTURECUBE_H_
 
 #include <msp/graphics/image.h>
-#include "datatype.h"
-#include "pixelformat.h"
 #include "texture.h"
 #include "vector.h"
 #include <msp/gl/extensions/arb_texture_cube_map.h>
@@ -103,7 +101,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() { }
 };