#include <CMaterialContainer.h>
Public Member Functions | |
void | destroy () |
void | addMaterial (CMaterial *mat) |
CMaterial * | operator[] (unsigned i) const |
CMaterial * | getMaterial (unsigned i) const |
Static Public Member Functions | |
static CMaterialContainer * | instance () |
void fragment::CMaterialContainer::addMaterial | ( | CMaterial * | mat | ) | [inline] |
void fragment::CMaterialContainer::destroy | ( | ) |
CMaterial* fragment::CMaterialContainer::getMaterial | ( | unsigned | i | ) | const [inline] |
Referenced by fragment::SetCPropsFunctor::operator()().
fragment::CMaterialContainer * fragment::CMaterialContainer::instance | ( | ) | [static] |
Referenced by fragment::SetCPropsFunctor::operator()().
CMaterial* fragment::CMaterialContainer::operator[] | ( | unsigned | i | ) | const [inline] |