TypedRenderStatePropertyNotificationHandler specialization. More...
#include <kanzi/core.ui/platform/graphics_backend/gl/render_state_property_notification_handler.hpp>
Public Member Functions | |
TypedRenderStatePropertyNotificationHandler () | |
TypedRenderStatePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node) | |
TypedRenderStatePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node, GlRenderState::HandleType handle, ShaderProgram::UniformTransformation transformation) | |
![]() | |
int | getHandle () const |
Access handle. More... | |
void | update (GlRenderState &renderState, PropertyObject *object, Material &material) |
Update render state with new values acquirable from this. More... | |
![]() | |
bool | isDirty () const |
Is the container dirty? More... | |
RenderValuePropertyNotificationHandlerBase & | operator= (RenderValuePropertyNotificationHandlerBase &&other) |
Assignment operator. More... | |
void | setDirty (bool enabled) |
Set dirty flag state. More... | |
![]() | |
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... | |
![]() | |
AbstractPropertyType | getPropertyType () const |
Get the property type this handler is listening. More... | |
Static Public Member Functions | |
static RenderStatePropertyNotificationHandlerPtr | create (AbstractPropertyType propertyType, Node *node, GlRenderState::HandleType handle, ShaderProgram::UniformTransformation transformation) |
TypedRenderStatePropertyNotificationHandler specialization.
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlinestatic |
|
inlineoverrideprotectedvirtual |
Perform type-specific update.
renderState | Render state to update. |
object | Fallback object for property value, may be 0 for no object. |
material | Fallback material for property value. |
object
parameter changed from Object* to PropertyObject*. Implements kanzi::RenderStatePropertyNotificationHandler.