From aa9cdee46fea21ad50b70a4513aa39aebe280b7f Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 27 Jul 2017 23:21:23 +0100 Subject: Adding initial docs --- texturecache_8hpp_source.html | 81 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 texturecache_8hpp_source.html (limited to 'texturecache_8hpp_source.html') diff --git a/texturecache_8hpp_source.html b/texturecache_8hpp_source.html new file mode 100644 index 00000000..6000e1e4 --- /dev/null +++ b/texturecache_8hpp_source.html @@ -0,0 +1,81 @@ + + + + + + + +YAGE: include/YAGE/texturecache.hpp Source File + + + + + + + + + +
+
+ + + + + + +
+
YAGE +
+
Yet Another Game Engine
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
texturecache.hpp
+
+
+
1 /* ----------------------------------------------------------------------------
2  * texturecache.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef TEXTURE_CACHE_HPP
10 #define TEXTURE_CACHE_HPP
11 
12 #include "texture.hpp"
13 
14 #include <unordered_map>
15 
16 namespace yage
17 {
18 
20 {
21 private:
22  std::unordered_map<std::string, Texture> texture_map_;
23 public:
24  TextureCache();
25  ~TextureCache();
26 
27  Texture getTexture(const std::string &texture_path);
28 };
29 
30 } // yage
31 
32 #endif
Definition: texture.hpp:17
+
Definition: texturecache.hpp:19
+
Definition: camera2d.hpp:17
+
+ + + + -- cgit