molecular
|
Loads materials from ini files and provides them on request. More...
#include <MaterialManager.h>
Public Member Functions | |
template<class TRenderManager > | |
MaterialManager (TRenderManager &renderManager) | |
MaterialManager (TextureManager &textureManager, gfx::Scoping &scoping) | |
~MaterialManager () | |
template<class TStorage > | |
void | ReadIniFile (TStorage &file) |
template<class TStorage > | |
void | ReadMtlFile (TStorage &file) |
void | ReadIniFile (const Blob &blob) |
void | ReadMtlFile (const Blob &blob) |
void | ReadFile (IniFile &file) |
void | ReadFile (MtlFile &file) |
Material * | GetMaterial (Hash hash) const |
Material * | GetMaterial (const std::string &material) const |
Loads materials from ini files and provides them on request.
|
inline |
|
inline |
molecular::gfx::MaterialManager::~MaterialManager | ( | ) |
Material * molecular::gfx::MaterialManager::GetMaterial | ( | const std::string & | material | ) | const |
void molecular::gfx::MaterialManager::ReadFile | ( | IniFile & | file | ) |
void molecular::gfx::MaterialManager::ReadFile | ( | MtlFile & | file | ) |
void molecular::gfx::MaterialManager::ReadIniFile | ( | TStorage & | file | ) |
void molecular::gfx::MaterialManager::ReadIniFile | ( | const Blob & | blob | ) |
void molecular::gfx::MaterialManager::ReadMtlFile | ( | TStorage & | file | ) |
void molecular::gfx::MaterialManager::ReadMtlFile | ( | const Blob & | blob | ) |