#include <ImageManager.h>
|
static Image & | Load (std::string key, std::string path) |
|
static Image & | Load (std::string key, std::string path, Rect *area) |
|
static Image & | Get (std::string key) |
|
static errcode | UnloadImages () |
| Unload all Images – to be used in a destructor. More...
|
|
◆ ImageManager() [1/2]
ImageManager::ImageManager |
( |
| ) |
|
|
private |
◆ ImageManager() [2/2]
◆ ~ImageManager()
ImageManager::~ImageManager |
( |
| ) |
|
|
private |
◆ Get()
static Image& ImageManager::Get |
( |
std::string |
key | ) |
|
|
inlinestatic |
◆ getSpriteModel()
Model * ImageManager::getSpriteModel |
( |
| ) |
|
|
staticprivate |
◆ getSpriteShader()
ShaderObject * ImageManager::getSpriteShader |
( |
| ) |
|
|
staticprivate |
◆ Instance()
◆ Load() [1/2]
static Image& ImageManager::Load |
( |
std::string |
key, |
|
|
std::string |
path |
|
) |
| |
|
inlinestatic |
◆ Load() [2/2]
static Image& ImageManager::Load |
( |
std::string |
key, |
|
|
std::string |
path, |
|
|
Rect * |
area |
|
) |
| |
|
inlinestatic |
◆ operator=()
◆ privGetImage() [1/2]
errcode ImageManager::privGetImage |
( |
Image *& |
output, |
|
|
std::string |
key |
|
) |
| |
|
private |
◆ privGetImage() [2/2]
const Image & ImageManager::privGetImage |
( |
std::string |
key | ) |
|
|
private |
◆ privLoadImage() [1/2]
errcode ImageManager::privLoadImage |
( |
Image *& |
output, |
|
|
std::string |
key, |
|
|
std::string |
path |
|
) |
| |
|
private |
◆ privLoadImage() [2/2]
errcode ImageManager::privLoadImage |
( |
Image *& |
output, |
|
|
std::string |
key, |
|
|
std::string |
path, |
|
|
Rect * |
area |
|
) |
| |
|
private |
◆ privUnloadImages()
errcode ImageManager::privUnloadImages |
( |
| ) |
|
|
private |
◆ FlimSprite
◆ defaultPath
const std::string ImageManager::defaultPath = "Images/" |
|
private |
◆ ImagePool
std::map<std::string, Image*> ImageManager::ImagePool |
|
private |
◆ instance
◆ spriteModel
Model* ImageManager::spriteModel |
|
private |
◆ spriteShader
ShaderObject* ImageManager::spriteShader |
|
private |
The documentation for this class was generated from the following files: