YAGE
v0.3.1
Yet Another Game Engine
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
resourcemanager.h
Go to the documentation of this file.
1
/* ----------------------------------------------------------------------------
2
* resourcemanager.h
3
*
4
* Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
5
* MIT License, see LICENSE file for more details.
6
* ----------------------------------------------------------------------------
7
*/
8
9
/* ----------------------------------------------------------------------------
10
* resourcemanager.h
11
*
12
* Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
13
* See file LICENSE for more details
14
* ----------------------------------------------------------------------------
15
*/
16
17
#ifndef RESOURCE_MANAGER_H
18
#define RESOURCE_MANAGER_H
19
20
#include "
texture.h
"
21
#include "
texturecache.h
"
22
23
#include <string>
24
25
namespace
yage
26
{
27
28
class
ResourceManager
29
{
30
private
:
31
static
TextureCache
texture_cache_
;
32
33
public
:
34
static
Texture
getTexture
(
const
std::string &texture_path);
35
};
36
37
}
// namespace yage
38
39
#endif
yage::ResourceManager::texture_cache_
static TextureCache texture_cache_
Definition:
resourcemanager.h:31
yage::ResourceManager
Definition:
resourcemanager.h:28
texturecache.h
texture.h
yage::ResourceManager::getTexture
static Texture getTexture(const std::string &texture_path)
Definition:
resourcemanager.cpp:16
yage::Texture
Definition:
texture.h:17
yage::TextureCache
Definition:
texturecache.h:19
yage
core
resourcemanager.h
Generated on Sun Dec 17 2017 12:30:02 for YAGE by
1.8.6