Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iMaterialList Struct Reference

This class represents a list of materials. More...

#include <material.h>

Inheritance diagram for iMaterialList:

iBase List of all members.

Public Methods

virtual iMaterialWrapperNewMaterial (iMaterial *material)=0
 Create a new material.

virtual iMaterialWrapperNewMaterial (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 iMaterialWrapperGet (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 iMaterialWrapperFindByName (const char *Name) const=0
 Find a material by name.


Detailed Description

This class represents a list of materials.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000