Light Source description. More...
Derived from: | None |
Derived by: | None |
Group: | Display (GL1) |
#include <ClanLib/gl1.h>
Class Members:
Construction. | |
Returns the ambient (global light) intensity of the light. | |
Returns constant attenuation of the light. | |
Returns the diffuse (spread over wide area) intensity of the light. | |
Returns linear attenuation of the light. | |
Returns the light position. | |
Returns quadratic attenuation of the light. | |
Returns the specular (mirror reflective) intensity of the light. | |
Returns the spot cutoff angle (the maximum spread angle of a light source). | |
Returns the light spot direction. | |
Attributes. | |
Sets the ambient (global light) intensity of the light. | |
Sets the constant attenuation of the light. | |
Sets the diffuse (spread over wide area) intensity of the light. | |
Sets linear attenuation of the light. | |
Sets the light position. | |
Sets quadratic attenuation of the light. | |
Sets the specular (mirror reflective) intensity of the light. | |
Sets the spot cutoff angle (the maximum spread angle of a light source). | |
Sets the light spot direction. | |
Operations. |