![]() |
Public API Reference |
#include <material.h>
Inheritance diagram for iMaterialHandle:
Public Methods | |
virtual iTextureHandle * | GetTexture ()=0 |
Get a texture from the material. More... | |
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. More... | |
virtual void | Prepare ()=0 |
Prepare this material. More... |
Definition at line 138 of file ivideo/material.h.
|
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 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. |