23 _color(1.0f, 1.0f, 1.0f, 1.0f),
34 CData(
const Light::CData ©) :
36 _viz_geom(copy._viz_geom),
37 _viz_geom_stale(copy._viz_geom_stale)
58 Light(
const Light ©) :
59 _priority(copy._priority),
83 cdata->_color = color;
104 _priority = priority;
144 CDWriter cdata(_cycler);
145 cdata->_viz_geom_stale =
true;
The abstract interface to all kinds of lights.
int get_priority() const
Returns the priority associated with this light.
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
void set_priority(int priority)
Changes the relative importance of this light relative to the other lights that are applied simultane...
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
static UpdateSeq get_sort_seq()
Returns a global sequence number that is incremented any time any Light in the world changes sort or ...
This is the base class for all three-component vectors and points.
const LColor & get_color() const
Returns the basic color of the light.
This is a sequence number that increments monotonically.
void set_color(const LColor &color)
Sets the basic color of the light.