#include <Image.h>
Inherits SubsystemInterface.
A collection of images
Definition at line 120 of file Image.h.
◆ ImageCollection()
| ImageCollection::ImageCollection |
( |
void | | ) |
|
◆ ~ImageCollection()
| ImageCollection::~ImageCollection |
( |
void | | ) |
|
|
virtual |
◆ addImage()
| void ImageCollection::addImage |
( |
Image * | image | ) |
|
adds the given image to the collection, transfers ownership to this object
adds the given image to the collection, transfers ownership to this object
Definition at line 214 of file Image.cpp.
◆ Enum()
| Image * ImageCollection::Enum |
( |
unsigned | index | ) |
|
|
inline |
enumerates the list of existing images
Definition at line 140 of file Image.h.
◆ findImageByName()
find image based on name
Find an image given the image name
Definition at line 222 of file Image.cpp.
◆ init()
| virtual void ImageCollection::init |
( |
void | | ) |
|
|
inlinevirtual |
- Assign any default values to data required for the class
- Allocate any memory and resources needed throughout the lifetime of the class
Implements SubsystemInterface.
Definition at line 128 of file Image.h.
◆ load()
| void ImageCollection::load |
( |
Int | textureSize | ) |
|
update system
load images
Load this image collection with all the images specified in the INI files for the proper texture size directory
Definition at line 232 of file Image.cpp.
◆ reset()
| virtual void ImageCollection::reset |
( |
void | | ) |
|
|
inlinevirtual |
◆ update()
| virtual void ImageCollection::update |
( |
void | | ) |
|
|
inlinevirtual |
◆ m_imageMap
| std::map<unsigned,Image *> ImageCollection::m_imageMap |
|
protected |
maps named keys to images
Definition at line 149 of file Image.h.
The documentation for this class was generated from the following files:
- Code/GameEngine/Include/GameClient/Image.h
- Code/GameEngine/Source/GameClient/System/Image.cpp