iMaterialEngine Struct ReferenceThis interface represents the engine part of the material definition.
[Textures & Materials]
Inheritance diagram for iMaterialEngine:
Public Member Functions
|virtual iTextureWrapper *||GetTextureWrapper (csStringID name)=0|
|Get a texture by name. |
|virtual iTextureWrapper *||GetTextureWrapper ()=0|
|Get the base texture from the material. |
|virtual bool||IsVisitRequired () const =0|
|Return true if it is needed to call Visit(). |
|virtual void||Visit ()=0|
|Visit all textures. |
Detailed DescriptionThis interface represents the engine part of the material definition.
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.
Main ways to get pointers to this interface:
Member Function Documentation
Get a texture by name.
|virtual iTextureWrapper* iMaterialEngine::GetTextureWrapper||(||)||
Get the base texture from the material.
|virtual bool iMaterialEngine::IsVisitRequired||(||)|| const
Return true if it is needed to call Visit().
|virtual void iMaterialEngine::Visit||(||)||
Visit all textures.
The documentation for this struct was generated from the following file:
Generated for Crystal Space 1.0.2 by doxygen 1.4.7