aboutsummaryrefslogtreecommitdiffstats
path: root/yage/include/yage/resource_manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'yage/include/yage/resource_manager.hpp')
-rw-r--r--yage/include/yage/resource_manager.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/yage/include/yage/resource_manager.hpp b/yage/include/yage/resource_manager.hpp
new file mode 100644
index 0000000..155515a
--- /dev/null
+++ b/yage/include/yage/resource_manager.hpp
@@ -0,0 +1,18 @@
+#ifndef RESOURCE_MANAGER_HPP
+#define RESOURCE_MANAGER_HPP
+
+#include "gl_texture.hpp"
+#include "texture_cache.hpp"
+
+#include <string>
+
+class ResourceManager
+{
+private:
+ static TextureCache texture_cache_;
+public:
+ static GlTexture getTexture(const std::string &texture_path);
+};
+
+
+#endif