CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

iMaterialEngine Struct Reference
[Textures & Materials]

This interface represents the engine part of the material definition. More...

#include <material.h>

Inheritance diagram for iMaterialEngine:

iBase csMaterial::MaterialEngine List of all members.

Public Methods

virtual iTextureWrapperGetTextureWrapper ()=0
 Get the base texture from the material. More...

virtual iTextureWrapperGetTextureWrapper (int idx)=0
 Get a texture used by a texture layer. More...


Detailed Description

This 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.

Definition at line 93 of file iengine/material.h.


Member Function Documentation

virtual iTextureWrapper* iMaterialEngine::GetTextureWrapper int    idx [pure virtual]
 

Get a texture used by a texture layer.

Implemented in csMaterial::MaterialEngine.

virtual iTextureWrapper* iMaterialEngine::GetTextureWrapper   [pure virtual]
 

Get the base texture from the material.

Implemented in csMaterial::MaterialEngine.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14