From 8ad8165816929301a87e90bbb32c3df6b69030ee Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 2 Sep 2017 12:28:11 +0100 Subject: Updating docs --- texturecache_8h_source.html | 107 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 texturecache_8h_source.html (limited to 'texturecache_8h_source.html') diff --git a/texturecache_8h_source.html b/texturecache_8h_source.html new file mode 100644 index 00000000..c2a08954 --- /dev/null +++ b/texturecache_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +YAGE: include/YAGE/texturecache.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
texturecache.h
+
+
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * texturecache.h
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_H
10 #define TEXTURE_CACHE_H
11 
12 #include "texture.h"
13 
14 #include <unordered_map>
15 
16 namespace yage
17 {
18 
20 {
21 private:
22  std::unordered_map<std::string, Texture> texture_map_;
23 
24 public:
25  TextureCache();
26 
27  Texture getTexture(const std::string &texture_path);
28 };
29 
30 } // namespace yage
31 
32 #endif
Texture getTexture(const std::string &texture_path)
Definition: texturecache.cpp:17
+
std::unordered_map< std::string, Texture > texture_map_
Definition: texturecache.h:22
+ +
Definition: texture.h:17
+
Definition: texturecache.h:19
+
Project namespace.
Definition: body.cpp:13
+ +
+
+ + + + -- cgit