Home | All Classes | Grouped Classes | Index | Search
OpenGL glLight container. More...
Derived from:
none
Derived by:
none
Group: GL (Display 3D)
#include <ClanLib/gl.h>
Construction:
Constructs a light source container. |
Attributes:
Returns the intensity distribution of the light. | |
Returns the spot cutoff angle (the maximum spread angle of a light source). | |
Returns constant attenuation of the light. | |
Returns linear attenuation of the light. | |
Returns quadratic attenuation of the light. | |
Returns the ambient (global light) intensity of the light. | |
Returns the diffuse (spread over wide area) intensity of the light. | |
Returns the specular (mirror reflective) intensity of the light. | |
Returns the light position. | |
Returns the light spot direction. |
Operations:
Sets the intensity distribution of the light. | |
Sets the spot cutoff angle (the maximum spread angle of a light source). | |
Sets the constant attenuation of the light. | |
Sets linear attenuation of the light. | |
Sets quadratic attenuation of the light. | |
Sets the ambient (global light) intensity of the light. | |
Sets the diffuse (spread over wide area) intensity of the light. | |
Sets the specular (mirror reflective) intensity of the light. | |
Sets the light position. | |
Sets the light spot direction. | |
Sets position and spot direction as a viewpoint. | |
Sends the light configuration to OpenGL. |
Detailed description:
!group=GL/Display 3D! !header=gl.h!