diff options
Diffstat (limited to 'src/render/textures.h')
-rw-r--r-- | src/render/textures.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/textures.h b/src/render/textures.h index 84d5c9a..c1ccabe 100644 --- a/src/render/textures.h +++ b/src/render/textures.h @@ -10,6 +10,7 @@ #include <string> #include <map> +#include "model/material.h" #include "render/gl.h" namespace render @@ -56,11 +57,15 @@ public: /// list loaded textures static void list(); + /// material loader func + static void material_loader(model::Material *material); + private: static void clear(); typedef std::map<std::string, size_t>::iterator iterator; + static math::Vector2f texture_size[MAXTEXTURES]; static std::map<std::string, size_t> registry; static GLuint textures[MAXTEXTURES]; }; |