Public Members |
 |  |
| ddgMaterial ( unsigned char r = 200, unsigned char g = 200, unsigned char b = 200 )
|
 |  | | By default this sets diffuse color.
|
 |  |
void | ambient (unsigned char r, unsigned char g, unsigned char b, unsigned char t = 255)
|
 |  | | Set ambient color of material.
|
 |  |
void | diffuse (unsigned char r, unsigned char g, unsigned char b, unsigned char t = 255)
|
 |  | | Set diffuse color of material.
|
 |  |
void | specular (unsigned char r, unsigned char g, unsigned char b, unsigned char t = 255)
|
 |  | | Set specular color of material.
|
 |  |
void | emission (unsigned char r, unsigned char g, unsigned char b, unsigned char t = 255)
|
 |  | | Set emission color of material.
|
 |  |
void | shininess (float s)
|
 |  | | Set specular component of material.
|
 |  |
bool | draw (ddgContext *c)
|
 |  | | Set this material for all objects following it.
|