Custom render state property notification handler for blend mode. More...
#include <kanzi/core.ui/platform/graphics_backend/gl/render_state_property_notification_handler.hpp>
Public Member Functions | |
BlendModeRenderStatePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node) | |
Constructor. More... | |
Public Member Functions inherited from kanzi::RenderStatePropertyNotificationHandler | |
int | getHandle () const |
Access handle. More... | |
bool | isDirty () const |
Returns whether the container is dirty. More... | |
void | setDirty (bool enabled) |
Sets the dirty flag state. More... | |
void | update (GlRenderState &renderState, PropertyObject *object, Material &material) |
Update render state with new values acquirable from this. 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... | |
Static Public Member Functions | |
static unique_ptr< BlendModeRenderStatePropertyNotificationHandler > | create (AbstractPropertyType propertyType, Node *node) |
Create a new render state property notification handler. More... | |
Additional Inherited Members | |
Protected Attributes inherited from kanzi::RenderStatePropertyNotificationHandler | |
bool | m_dirty |
Indicates whether this property is dirty and needs updating. More... | |
GlRenderState::HandleType | m_handle |
Handle into the render state. More... | |
ShaderProgram::UniformTransformation | m_transformation |
Shader transformation. More... | |
Custom render state property notification handler for blend mode.
|
inlineexplicit |
Constructor.
propertyType | The property type to which to attach. |
node | The node to which to attach. |
|
inlinestatic |
Create a new render state property notification handler.
propertyType | The property type to which to attach. |
node | The node to which to attach. |
|
inlineoverrideprotectedvirtual |
RenderStatePropertyNotificationHandler::updateOverride() implementation.
Implements kanzi::RenderStatePropertyNotificationHandler.