#include <TextureManager.hpp>
Public Member Functions | |
TextureManager (const syBR::Core::FileSystem &fileSystem) | |
Constructor. | |
~TextureManager () | |
Destructor. | |
bool | getTextureSize (const std::string &name, unsigned long &width, unsigned long &height) |
Get the size of a texture. | |
Private Attributes | |
const syBR::Core::FileSystem & | m_fileSystem |
File system. | |
std::map < std::string, std::pair< unsigned long, unsigned long > > | m_mapTextures |
List of faces of the brush. |
syBR::map2syBR::TextureManager::TextureManager | ( | const syBR::Core::FileSystem & | fileSystem | ) |
Constructor.
syBR::map2syBR::TextureManager::~TextureManager | ( | ) |
Destructor.
bool syBR::map2syBR::TextureManager::getTextureSize | ( | const std::string & | name, | |
unsigned long & | width, | |||
unsigned long & | height | |||
) |
Get the size of a texture.
name | Name of the texture | |
width | Will contain the width of the texture in case of success | |
height | Will contain the height of the texture in case of success |
const syBR::Core::FileSystem& syBR::map2syBR::TextureManager::m_fileSystem [private] |
File system.
std::map<std::string, std::pair<unsigned long, unsigned long> > syBR::map2syBR::TextureManager::m_mapTextures [private] |
List of faces of the brush.
Copyright © 2008 by Sebastien Frippiat
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:34 2008