YAGE
v0.1.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
/* ----------------------------------------------------------------------------
3
* resourcemanager.h
4
*
5
* Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
6
* See file LICENSE for more details
7
* ----------------------------------------------------------------------------
8
*/
9
10
#ifndef RESOURCE_MANAGER_H
11
#define RESOURCE_MANAGER_H
12
13
#include "
texture.h
"
14
#include "
texturecache.h
"
15
16
#include <string>
17
18
namespace
yage
19
{
20
21
class
ResourceManager
22
{
23
private
:
24
static
TextureCache
texture_cache_
;
25
26
public
:
27
static
Texture
getTexture
(
const
std::string &texture_path);
28
};
29
30
}
// namespace yage
31
32
#endif
yage::ResourceManager::texture_cache_
static TextureCache texture_cache_
Definition:
resourcemanager.h:24
yage::ResourceManager
Definition:
resourcemanager.h:21
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 Thu Nov 16 2017 21:50:38 for YAGE by
1.8.6