aboutsummaryrefslogtreecommitdiffstats
path: root/include/YAGE/texture_cache.hpp
blob: 44dba2f8b10e7a97b3baf6950c7f231df9f194f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef TEXTURE_CACHE_HPP
#define TEXTURE_CACHE_HPP

#include "gl_texture.hpp"

#include <unordered_map>

class TextureCache
{
private:
    std::unordered_map<std::string, GlTexture> texture_map_;
public:
    TextureCache();
    ~TextureCache();

    GlTexture getTexture(const std::string &texture_path);
};


#endif