#include <material.h>
Inheritance diagram for iMaterialList:
Public Methods | |
virtual iMaterialWrapper* | NewMaterial (iMaterial *material)=0 |
Create a new material. | |
virtual iMaterialWrapper* | NewMaterial (iMaterialHandle *ith)=0 |
Create a engine wrapper for a pre-prepared iTextureHandle The handle will be IncRefed. | |
virtual int | GetCount () const=0 |
Return the number of materials in this list. | |
virtual iMaterialWrapper* | Get (int n) const=0 |
Return a material by index. | |
virtual int | Add (iMaterialWrapper *obj)=0 |
Add a material. | |
virtual bool | Remove (iMaterialWrapper *obj)=0 |
Remove a material. | |
virtual bool | Remove (int n)=0 |
Remove the nth material. | |
virtual void | RemoveAll ()=0 |
Remove all materials. | |
virtual int | Find (iMaterialWrapper *obj) const=0 |
Find a material and return its index. | |
virtual iMaterialWrapper* | FindByName (const char *Name) const=0 |
Find a material by name. |