Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
iMaterialList Struct Reference
[Textures & Materials]
This class represents a list of materials.
More...
#include <iengine/material.h>
Inheritance diagram for iMaterialList:

Public Member Functions | |
virtual iMaterialWrapper * | NewMaterial (iMaterial *material, const char *name)=0 |
Create a new material. | |
virtual iMaterialWrapper * | NewMaterial (iMaterialHandle *ith, const char *name)=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. |
Detailed Description
This class represents a list of materials.Main ways to get pointers to this interface:
Main users of this interface:
Definition at line 160 of file material.h.
Member Function Documentation
|
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.
|
The documentation for this struct was generated from the following file:
- iengine/material.h
Generated for Crystal Space by doxygen 1.3.9.1