diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-04-02 09:19:32 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-04-02 09:19:32 +0100 |
commit | aa67c8bb56cb750ac83ecbd361439f5ecb5e12d9 (patch) | |
tree | f1517a86654cf5457fa0b3aa6cfaea4bfa4eef36 /include/YAGE/resource_manager.hpp | |
parent | 21a147c3c1c2fad2819fe76becab320c51eb131f (diff) | |
download | YAGE-aa67c8bb56cb750ac83ecbd361439f5ecb5e12d9.tar.gz YAGE-aa67c8bb56cb750ac83ecbd361439f5ecb5e12d9.zip |
Renamed includes
Diffstat (limited to 'include/YAGE/resource_manager.hpp')
-rw-r--r-- | include/YAGE/resource_manager.hpp | 18 |
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 |