molecular
Public Member Functions | List of all members
molecular::gfx::MaterialManager Class Reference

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)
 
MaterialGetMaterial (Hash hash) const
 
MaterialGetMaterial (const std::string &material) const
 

Detailed Description

Loads materials from ini files and provides them on request.

Constructor & Destructor Documentation

template<class TRenderManager >
molecular::gfx::MaterialManager::MaterialManager ( TRenderManager &  renderManager)
inline
molecular::gfx::MaterialManager::MaterialManager ( TextureManager textureManager,
gfx::Scoping scoping 
)
inline
molecular::gfx::MaterialManager::~MaterialManager ( )

Member Function Documentation

Material * molecular::gfx::MaterialManager::GetMaterial ( Hash  hash) const
Material * molecular::gfx::MaterialManager::GetMaterial ( const std::string &  material) const
void molecular::gfx::MaterialManager::ReadFile ( IniFile file)
void molecular::gfx::MaterialManager::ReadFile ( MtlFile file)
template<class TStorage >
void molecular::gfx::MaterialManager::ReadIniFile ( TStorage &  file)
void molecular::gfx::MaterialManager::ReadIniFile ( const Blob blob)
template<class TStorage >
void molecular::gfx::MaterialManager::ReadMtlFile ( TStorage &  file)
void molecular::gfx::MaterialManager::ReadMtlFile ( const Blob blob)

The documentation for this class was generated from the following files: