All Classes |Grouped Classes |Index

Class CL_LightModel_GL1

Light model description. More...

Derived from:

None

Derived by:

None

Group:

Display (GL1)

#include <ClanLib/gl1.h>

Class Members:

CL_LightModel_GL1

Construction.

enable_lighting

Operations.

get_color_control

Returns the current color control being used.

get_flat_shading

Returns true if flat shading is enabled.

get_scene_ambient_light

Returns the scene global ambient light.

get_two_sided_materials

Returns true if two sided materials are being used.

is_lighting_enabled

Attributes.

is_local_viewer

Returns true if local viewer is enabled.

set_color_control

Controls how primary and secondary colors are calculated.

set_flat_shading

Enables if polygons are to be flat shaded from lighting calculations.

set_local_viewer

Enables or disables local viewer light model.

set_scene_ambient_light

Sets the scene global ambient light.

set_two_sided_materials

Controls if the lighting model uses different materials for front and back facing faces.