]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources.h
Enable asynchronous loading of Meshes
[libs/gl.git] / source / resources.h
index e2503298c5ce59fe0ba04570700970abeb9d881a..e939f7cef8b9b9238fb3c2c28350c9e391832d04 100644 (file)
@@ -7,6 +7,7 @@
 namespace Msp {
 namespace GL {
 
+class Mesh;
 class ResourceManager;
 class Texture2D;
 
@@ -35,6 +36,7 @@ public:
        void set_resource_manager(ResourceManager *);
 
 protected:
+       Mesh *create_mesh(const std::string &);
        Texture2D *create_texture2d(const std::string &);
 };