Specialized notification handler for render state. More...
#include <kanzi/core.ui/platform/graphics_backend/gl/render_state_property_notification_handler.hpp>
Public Member Functions | |
| TypedRenderStateRangePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node, GlRenderState::HandleType handle, ShaderProgram::UniformTransformation transformation) | |
| Constructor. | |
Public Member Functions inherited from kanzi::RenderStatePropertyNotificationHandler | |
| int | getHandle () const |
| Access handle. | |
| bool | isDirty () const |
| Returns whether the container is dirty. | |
| void | setDirty (bool enabled) |
| Sets the dirty flag state. | |
| void | update (GlRenderState &renderState, PropertyObject *object, Material &material) |
| Update render state with new values acquirable from this. | |
Public Member Functions inherited from kanzi::NodePropertyNotificationHandler | |
| Node * | getNode () const |
| Access the node. | |
| void | invalidate () |
| Invalidates the state of the notification handler. | |
| bool | isValid () const |
| Tell if this notification handler is valid. | |
Public Member Functions inherited from kanzi::AbstractPropertyNotificationHandler | |
| AbstractPropertyType | getPropertyType () const |
| Get the property type this handler is listening. | |
Static Public Member Functions | |
| static RenderStatePropertyNotificationHandlerPtr | create (AbstractPropertyType propertyType, Node *node, GlRenderState::HandleType handle, ShaderProgram::UniformTransformation transformation) |
| Creates a render state property notification handler. | |
Additional Inherited Members | |
Protected Attributes inherited from kanzi::RenderStatePropertyNotificationHandler | |
| bool | m_dirty |
| Indicates whether this property is dirty and needs updating. | |
| GlRenderState::HandleType | m_handle |
| Handle into the render state. | |
| ShaderProgram::UniformTransformation | m_transformation |
| Shader transformation. | |
Specialized notification handler for render state.
Performs array copy from a range property type.
|
inlineexplicit |
Constructor.
| propertyType | Property type to listen on. |
| node | Node to listen for changes on. |
| handle | Handle into the render state. |
| transformation | Uniform transformation. |
|
inlinestatic |
Creates a render state property notification handler.
| propertyType | Property type to listen on. |
| node | Node to listen for changes on. |
| handle | Handle into the render state. |
| transformation | Uniform transformation. |
|
inlineoverrideprotectedvirtual |
RenderStatePropertyNotificationHandler::updateOverride() implementation.
Implements kanzi::RenderStatePropertyNotificationHandler.