![]() |
Public API Reference |
#include <material.h>
Inheritance diagram for iMaterialEngine:
Public Methods | |
virtual iTextureWrapper * | GetTextureWrapper ()=0 |
Get the base texture from the material. More... | |
virtual iTextureWrapper * | GetTextureWrapper (csStringID name)=0 |
Get a texture by name. More... | |
virtual void | Visit ()=0 |
Visit all textures. More... | |
virtual bool | IsVisitRequired () const=0 |
Return true if it is needed to call Visit(). More... |
Using this interface you will be able to access the original texture wrappers that were used to create the material. If you have something that implements iMaterial you can query for iMaterialEngine. So this interface basically augments iMaterial with engine specific features.
Definition at line 97 of file iengine/material.h.
|
Get a texture by name.
Implemented in csMaterial::MaterialEngine. |
|
Get the base texture from the material.
Implemented in csMaterial::MaterialEngine. |
|
Return true if it is needed to call Visit().
Implemented in csMaterial::MaterialEngine. |
|
Visit all textures.
Implemented in csMaterial::MaterialEngine. |