MaterialList Class Reference#include <materialList.h>
Inheritance diagram for MaterialList:
[legend]List of all members.
Member Typedef Documentation
Member Enumeration Documentation
Constructor & Destructor Documentation
MaterialList::MaterialList |
( |
|
) |
|
MaterialList::MaterialList |
( |
U32 |
materialCount, |
|
|
const char ** |
materialNames | |
|
) |
| | |
virtual MaterialList::~MaterialList |
( |
|
) |
[virtual] |
MaterialList::MaterialList |
( |
const MaterialList * |
|
) |
[explicit] |
Note: this is not to be confused with MaterialList(const MaterialList&).
Copying a material list in the middle of it's lifetime is not a good thing, so we force it to copy at construction time by restricting the copy syntax to ML* pML = new ML(©);
Member Function Documentation
U32 MaterialList::getMaterialCount |
( |
|
) |
const [inline] |
const Vector<String>& MaterialList::getMaterialNameList |
( |
|
) |
const [inline] |
const String& MaterialList::getMaterialName |
( |
U32 |
index |
) |
const [inline] |
void MaterialList::set |
( |
U32 |
materialCount, |
|
|
const char ** |
materialNames | |
|
) |
| | |
U32 MaterialList::push_back |
( |
const String & |
filename |
) |
|
void MaterialList::unload |
( |
|
) |
|
virtual void MaterialList::free |
( |
|
) |
[virtual] |
void MaterialList::clearMatInstList |
( |
|
) |
|
bool MaterialList::empty |
( |
|
) |
const [inline] |
U32 MaterialList::size |
( |
|
) |
const [inline] |
iterator MaterialList::begin |
( |
|
) |
[inline] |
value MaterialList::operator[] |
( |
S32 |
index |
) |
[inline] |
bool MaterialList::readText |
( |
Stream & |
stream, |
|
|
U8 |
firstByte | |
|
) |
| | |
void MaterialList::mapMaterials |
( |
|
) |
|
Member Data Documentation
|