aboutsummaryrefslogtreecommitdiffstats
path: root/include/yage/resource_manager.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-04-02 09:15:30 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-04-02 09:15:30 +0100
commit21a147c3c1c2fad2819fe76becab320c51eb131f (patch)
tree9114123be1d9165a199d8b27af8f9b4e00333e71 /include/yage/resource_manager.hpp
downloadYAGE-21a147c3c1c2fad2819fe76becab320c51eb131f.tar.gz
YAGE-21a147c3c1c2fad2819fe76becab320c51eb131f.zip
Adding initial files
Diffstat (limited to 'include/yage/resource_manager.hpp')
-rw-r--r--include/yage/resource_manager.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/yage/resource_manager.hpp b/include/yage/resource_manager.hpp
new file mode 100644
index 00000000..155515a3
--- /dev/null
+++ b/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