#include <material.h>
Public Member Functions | |
| CL_Material_GL1 () | |
| Constructs a material.*/. | |
| ~CL_Material_GL1 () | |
| CL_Colorf | get_ambient () const |
| Returns the ambient intensity of the material. | |
| CL_Colorf | get_diffuse () const |
| Returns the diffuse (spread over wide area) intensity of the material. | |
| CL_Colorf | get_specular () const |
| Returns the specular (mirror reflective) intensity of the material. | |
| CL_Colorf | get_emission () const |
| Returns the emission of the material. | |
| float | get_shininess () const |
| Returns the shininess of the material. | |
| void | set_ambient (const CL_Colorf &color) |
| Set the ambient intensity of the material. | |
| void | set_diffuse (const CL_Colorf &color) |
| Set the diffuse (spread over wide area) intensity of the material. | |
| void | set_specular (const CL_Colorf &color) |
| Set the specular (mirror reflective) intensity of the material. | |
| void | set_ambient_and_diffuse (const CL_Colorf &color) |
| Set the combined ambient and diffuse intensity of the material. | |
| void | set_emission (const CL_Colorf &color) |
| Set the emission of the material. | |
| void | set_shininess (float value) |
| Set the shininess of the material. | |
|
|
Constructs a material.*/.
|
|
|
|
|
|
Returns the ambient intensity of the material.
|
|
|
Returns the diffuse (spread over wide area) intensity of the material.
|
|
|
Returns the emission of the material.
|
|
|
Returns the shininess of the material.
|
|
|
Returns the specular (mirror reflective) intensity of the material.
|
|
|
Set the ambient intensity of the material.
|
|
|
Set the combined ambient and diffuse intensity of the material.
|
|
|
Set the diffuse (spread over wide area) intensity of the material.
|
|
|
Set the emission of the material.
|
|
|
Set the shininess of the material.
|
|
|
Set the specular (mirror reflective) intensity of the material.
|
1.4.6