#include <material.h>
Inheritance diagram for csMaterialWrapper:

Public Methods | |
| csMaterialWrapper (iMaterial *Image) | |
| Construct a material handle given a material. | |
| csMaterialWrapper (iMaterialHandle *ith) | |
| Construct a csMaterialWrapper from a pre-registered material handle. | |
| csMaterialWrapper (csMaterialWrapper &) | |
| Copy constructor. | |
| void | SetMaterialHandle (iMaterialHandle *mat) |
| Change the material handle. More... | |
| iMaterialHandle* | GetMaterialHandle () |
| Get the material handle. | |
| void | SetMaterial (iMaterial *material) |
| Change the base material. More... | |
| iMaterial* | GetMaterial () |
| Get the original material. | |
| void | Register (iTextureManager *txtmng) |
| Register the material with the texture manager. | |
| void | Visit () |
| Visit this material. More... | |
| SCF_DECLARE_IBASE_EXT (csObject) | |
Public Attributes | |
| csMaterialWrapper::MaterialWrapper | scfiMaterialWrapper |
Friends | |
| class | MaterialWrapper |
|
|
Change the base material. Note: The changes will not be visible until you re-register the material. |
|
|
Change the material handle. Note: This will also change the base material to NULL. |
|
|
Visit this material. This should be called by the engine right before using the material. It will call Visit() on all textures that are used. |