]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources.h
Redesign the material system
[libs/gl.git] / source / resources.h
index 238d6c544c373c4fdde4848784600a6246e8a1b1..0b37449978761e4e963889623e0af15c0a848b03 100644 (file)
@@ -7,6 +7,7 @@
 namespace Msp {
 namespace GL {
 
+class Material;
 class Mesh;
 class Program;
 class ResourceManager;
@@ -41,6 +42,7 @@ public:
        void set_resource_manager(ResourceManager *);
 
 protected:
+       Material *create_material(const std::string &);
        Mesh *create_mesh(const std::string &);
        Texture2D *create_texture2d(const std::string &);
        Program *create_program(const std::string &);