Light iterator is a value iterator for bindings that retrieve light values. More...
#include <kanzi/core.ui/graphics3d/gather_lights_render_pass.hpp>
Public Member Functions | |
| LightRange (GatherLightsRenderPass &renderPass, Object *object, string_view name, string_view param) | |
| Constructor. More... | |
Public Member Functions inherited from kanzi::ValueRange | |
| bool | getValue (Variant &value, size_t index) |
| Gets a value from the range by index. More... | |
| ValueRange (string_view name) | |
| Constructor. More... | |
Public Member Functions inherited from kanzi::ObservableRange | |
| void | addNotification (void *data, NotificationFunction func) |
| Sets the notification function. More... | |
| string | getName () const |
| Gets the name of the iterator. More... | |
| bool | hasNotification (void *data, NotificationFunction func) const |
| Tells if given notification exists. More... | |
| void | invalidate () |
| Invalidates the range. More... | |
| bool | isNamed (string_view name) const |
| Checks whether the name of the iterator matches a given name. More... | |
| bool | isValid () |
| Checks whether the iterator is valid. More... | |
| void | notify () |
| Notifies the iterator about the iteration contents having changed. More... | |
| ObservableRange (string_view name) | |
| Constructor. More... | |
| void | removeNotification (void *data, NotificationFunction func) |
| Removes a notification function. More... | |
| void | setRangeProducerReference (ObservableRangeProducerSharedPtr factory) |
| Sets the factory reference for the observable range. More... | |
| virtual | ~ObservableRange ()=default |
| Destructor. More... | |
Protected Member Functions | |
| bool | getValueOverride (Variant &value, size_t index) override |
| ValueRange::getValueOverride() implementation. More... | |
Protected Member Functions inherited from kanzi::ObservableRange | |
| virtual void | notifyOverride () |
| Implements default notification implementation. More... | |
Protected Attributes | |
| Light::Type | m_lightType |
| Light type. More... | |
| string | m_params |
| Render value name (applicable if property type is not set). More... | |
| AbstractPropertyType | m_propertyType |
| Property to get. More... | |
| weak_ptr< Node3D > | m_referenceObject |
| Reference object. More... | |
| GatherLightsRenderPass & | m_renderPass |
| Gather Lights Render Pass that owns the light range. More... | |
Protected Attributes inherited from kanzi::ObservableRange | |
| ObservableRangeProducerWeakPtr | m_factory |
| Iterator factory that created this iterator. More... | |
| string | m_name |
| Identifying iterator name. More... | |
| vector< NotificationInfo > | m_notifications |
| Functions to call when notified. More... | |
Light iterator is a value iterator for bindings that retrieve light values.
Gather Lights Render Pass creates the light range. Render value bindings, which gather light information, use the light ranges.
|
explicit |
Constructor.
| renderPass | The Gather Lights Render Pass that owns the Light Iterator. |
| object | Reference object. |
| name | Range name. |
| param | Range parameter identifier. |
|
overrideprotectedvirtual |
ValueRange::getValueOverride() implementation.
Implements kanzi::ValueRange.
Reimplemented in kanzi::GatherNearestLightsRenderPass::NearestLightRange.
|
protected |
Gather Lights Render Pass that owns the light range.
|
protected |
Reference object.
|
protected |
Property to get.
|
protected |
Render value name (applicable if property type is not set).
|
protected |
Light type.