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
yage
core
resourcemanager.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
texturecache.h
"
13
14
#include <string>
15
16
namespace
yage
17
{
18
19
struct
Texture;
20
21
class
ResourceManager
22
{
23
private
:
24
static
TextureCache
texture_cache_;
25
26
public
:
27
static
Texture
getTexture
(std::string
const
&texture_path,
int
x = 1,
28
int
y = 1);
29
};
30
31
}
// namespace yage
yage::ResourceManager
Definition:
resourcemanager.h:21
texturecache.h
-*- c++ -*-
yage::ResourceManager::getTexture
static Texture getTexture(std::string const &texture_path, int x=1, int y=1)
Definition:
resourcemanager.cpp:18
yage::Texture
Definition:
texture.h:17
yage::TextureCache
Definition:
texturecache.h:19
Generated on Sat Jun 23 2018 15:09:52 by
1.8.6