iMaterialHandle Struct Reference
[3D]
This class represents a material handle (compiled material) for the 3D rasterizer.
More...
#include <material.h>
Inheritance diagram for iMaterialHandle:

Public Methods | |
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. | |
virtual void | Prepare ()=0 |
Prepare 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 183 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. |
|
Get light reflection parameters for this material.
|
|
Get shader associated with a shader type.
|
|
Get a texture from the material.
|
|
Prepare this material. The material wrapper (remembered during RegisterMaterial()) is queried again for material parameters and a new material descriptor (internal to the texture manager) is associated with given material handle. |
The documentation for this struct was generated from the following file:
- ivideo/material.h
Generated for Crystal Space by doxygen 1.2.18