20 return _has_specular_color;
26 INLINE
bool LightLensNode::
27 is_shadow_caster()
const {
28 return _shadow_caster;
42 INLINE LVecBase2i LightLensNode::
43 get_shadow_buffer_size()
const {
52 if (size != _sb_size) {
53 clear_shadow_buffers();
66 ShadowBuffers::iterator it = _sbuffers.find(gsg);
67 if (it == _sbuffers.end()) {
79 _used_by_auto_shader =
true;
bool has_specular_color() const
Returns true if this light defines a specular color, false if the specular color is derived automatic...
void mark_used_by_auto_shader() const
Marks this light as having been used by the auto shader.
GraphicsOutputBase * get_shadow_buffer(GraphicsStateGuardianBase *gsg)
Returns the buffer that has been constructed for a given GSG, or NULL if no such buffer has (yet) bee...
set_shadow_buffer_size
Sets the size of the shadow buffer to be created for this light source.
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
int get_shadow_buffer_sort() const
Returns the sort of the shadow buffer to be created for this light source.
An abstract base class for GraphicsOutput, for all the usual reasons.