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