From d7364eb89f81fa770bc3658a93917412baa020df Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 24 Aug 2017 00:24:58 +0100 Subject: Updating docs --- texturecache_8hpp_source.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'texturecache_8hpp_source.html') diff --git a/texturecache_8hpp_source.html b/texturecache_8hpp_source.html index 2b6aa0e9..54c4eedd 100644 --- a/texturecache_8hpp_source.html +++ b/texturecache_8hpp_source.html @@ -85,11 +85,11 @@ $(document).ready(function(){initNavTree('texturecache_8hpp_source.html','');});
texturecache.hpp
-Go to the documentation of this file.
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 class TextureCache {
19 private:
20  std::unordered_map<std::string, Texture> texture_map_;
21 
22 public:
23  TextureCache();
24 
25  Texture getTexture(const std::string& texture_path);
26 };
27 
28 } // yage
29 
30 #endif
Texture getTexture(const std::string &texture_path)
Definition: texturecache.cpp:18
-
std::unordered_map< std::string, Texture > texture_map_
Definition: texturecache.hpp:20
+Go to the documentation of this file.
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 
24 public:
25  TextureCache();
26 
27  Texture getTexture(const std::string &texture_path);
28 };
29 
30 } // 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.hpp:22
-
Definition: texture.hpp:16
-
Definition: texturecache.hpp:18
+
Definition: texture.hpp:17
+
Definition: texturecache.hpp:19
Templated matrix class.
Definition: camera2d.hpp:17
@@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('texturecache_8hpp_source.html','');});