Home |All Classes |Grouped Classes |Index |Search

Class CL_Material

Material description. More...

Derived from:

None

Derived by:

None

Group:

Display (Display)

#include <ClanLib/display.h>

Class Members:

Construction:

CL_Material

Constructs a material.


Attributes:

get_ambient

Returns the ambient intensity of the material.

get_diffuse

Returns the diffuse (spread over wide area) intensity of the material.

get_specular

Returns the specular (mirror reflective) intensity of the material.

get_emission

Returns the emission of the material.

get_shininess

Returns the shininess of the material.


Operations:

set_ambient

Set the ambient intensity of the material.

set_diffuse

Set the diffuse (spread over wide area) intensity of the material.

set_specular

Set the specular (mirror reflective) intensity of the material.

set_ambient_and_diffuse

Set the combined ambient and diffuse intensity of the material.

set_emission

Set the emission of the material.

set_shininess

Set the shininess of the material.