Custom notification handler for blend mode. More...
#include <kanzi/core.ui/platform/graphics_backend/gl/render_value_property_notification_handler.hpp>
Public Member Functions | |
BlendModeValuePropertyNotificationHandler ()=default | |
Empty constructor. More... | |
BlendModeValuePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node) | |
Constructor. More... | |
BlendModeValuePropertyNotificationHandler (BlendModeValuePropertyNotificationHandler &&other) | |
Move constructor. More... | |
BlendModeValuePropertyNotificationHandler & | operator= (BlendModeValuePropertyNotificationHandler &&other) |
Move operator. More... | |
void | update (GlBlendModeRenderValue &value, PropertyObject *object, Material &material) |
Updates the render value with new values. More... | |
void | update (GlBlendModeRenderValue &value, Brush &brush, 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... | |
Custom notification handler for blend mode.
|
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 nullptr. |
material | Fallback material for property value. |
|
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. |
brush | Fallback brush for property value. |
material | Fallback material for property value. |
|
inline |
Move operator.
other | Source object. |