Render value updater for individual render values. More...
#include <kanzi/core.ui/platform/graphics_backend/gl/render_value_property_notification_handler.hpp>
Public Member Functions | |
RenderValuePropertyNotificationHandler & | operator= (RenderValuePropertyNotificationHandler &&other) |
Move operator. More... | |
RenderValuePropertyNotificationHandler ()=default | |
Empty constructor. More... | |
RenderValuePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node) | |
Constructor. More... | |
RenderValuePropertyNotificationHandler (RenderValuePropertyNotificationHandler &&other) | |
Move constructor. More... | |
void | update (GlRenderValue< T > &value, Object *object, Material &material) |
Updates the render value with new values. More... | |
Public Member Functions inherited from kanzi::RenderValuePropertyNotificationHandlerBase | |
bool | isDirty () const |
Is the container dirty? More... | |
RenderValuePropertyNotificationHandlerBase & | operator= (RenderValuePropertyNotificationHandlerBase &&other) |
Assignment operator. More... | |
void | setDirty (bool enabled) |
Set dirty flag state. More... | |
Public Member Functions inherited from kanzi::NodePropertyNotificationHandler | |
Node * | getNode () const |
Access the node. More... | |
void | invalidate () |
Invalidates the state of the notification handler. More... | |
bool | isValid () const |
Tell if this notification handler is valid. More... | |
Public Member Functions inherited from kanzi::AbstractPropertyNotificationHandler | |
AbstractPropertyType | getPropertyType () const |
Get the property type this handler is listening. More... | |
Render value updater for individual render values.
|
explicitdefault |
Empty constructor.
|
inlineexplicit |
Constructor.
propertyType | Property type to listen on. |
node | Node to listen for changes on. |
|
inline |
Move constructor.
other | Source object. |
|
inline |
Updates the render value with new values.
Uses the node specified during construction and parameters given as context for the update. Do not update if dirty flag has not been set (property is not marked as dirty).
value | Render value to update. |
object | Fallback object for property value. Can be 0. |
material | Fallback material for property value. |
|
inline |
Move operator.
other | Source object. |