/** --------------------------------------------------------------------------- * @file: texturecache.h * * Copyright (c) 2017 Yann Herklotz Grave * MIT License, see LICENSE file for more details. * ---------------------------------------------------------------------------- */ #ifndef TEXTURE_CACHE_H #define TEXTURE_CACHE_H #include "../data/texture.h" #include namespace yage { class TextureCache { private: std::unordered_map texture_map_; public: TextureCache() = default; Texture getTexture(const std::string &texture_path, int x = 1, int y = 1); }; } // namespace yage #endif