aboutsummaryrefslogtreecommitdiffstats
path: root/include/YAGE/resourcemanager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/YAGE/resourcemanager.hpp')
-rw-r--r--include/YAGE/resourcemanager.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/YAGE/resourcemanager.hpp b/include/YAGE/resourcemanager.hpp
new file mode 100644
index 00000000..08ab31e0
--- /dev/null
+++ b/include/YAGE/resourcemanager.hpp
@@ -0,0 +1,22 @@
+#ifndef RESOURCE_MANAGER_HPP
+#define RESOURCE_MANAGER_HPP
+
+#include "gltexture.hpp"
+#include "texturecache.hpp"
+
+#include <string>
+
+namespace yage
+{
+
+class ResourceManager
+{
+private:
+ static TextureCache texture_cache_;
+public:
+ static GlTexture getTexture(const std::string &texture_path);
+};
+
+} // yage
+
+#endif