#include <material.h>
Inheritance diagram for iMaterialHandle:
Public Methods | |
virtual iTextureHandle* | GetTexture ()=0 |
Get a texture from the material. | |
virtual void | GetFlatColor (csRGBpixel &oColor)=0 |
Get the flat color. More... | |
virtual void | GetReflection (float &oDiffuse, float &oAmbient, float &oReflection)=0 |
Get light reflection parameters for this material. | |
virtual void | Prepare ()=0 |
Prepare this material. More... |
|
Get the flat color. If the material has a texture assigned, this will return the mean texture color. |
|
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. |