Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
iMaterialHandle Struct Reference
[3D]
This class represents a material handle (compiled material) for the 3D rasterizer.
More...
#include <ivideo/material.h>
Inheritance diagram for iMaterialHandle:

Public Member Functions | |
virtual iShader * | GetShader (csStringID type)=0 |
Get shader associated with a shader type. | |
virtual iTextureHandle * | GetTexture ()=0 |
Get a texture from the material. | |
virtual void | GetFlatColor (csRGBpixel &oColor)=0 |
Get the flat color. | |
virtual void | GetReflection (float &oDiffuse, float &oAmbient, float &oReflection)=0 |
Get light reflection parameters for this material. |
Detailed Description
This class represents a material handle (compiled material) for the 3D rasterizer.Main creators of instances implementing this interface:
Main ways to get pointers to this interface: Main users of this interface:- 3D renderer implementations (iGraphics3D).
Definition at line 188 of file material.h.
Member Function Documentation
|
Get the flat color. If the material has a texture assigned, this will return the mean texture color. Implemented in csMaterialHandle. |
|
Get light reflection parameters for this material.
Implemented in csMaterialHandle. |
|
Get shader associated with a shader type.
Implemented in csMaterialHandle. |
|
Get a texture from the material.
Implemented in csMaterialHandle. |
The documentation for this struct was generated from the following file:
- ivideo/material.h
Generated for Crystal Space by doxygen 1.3.9.1