Kanzi  3.9.8
Kanzi Engine C++ API
kanzi::BlendModeRenderStatePropertyNotificationHandler Class Reference

Custom render state property notification handler for blend mode. More...

#include <kanzi/core.ui/platform/graphics_backend/gl/render_state_property_notification_handler.hpp>

Inheritance diagram for kanzi::BlendModeRenderStatePropertyNotificationHandler:
[legend]

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
NodegetNode () 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< BlendModeRenderStatePropertyNotificationHandlercreate (AbstractPropertyType propertyType, Node *node)
 Create a new render state property notification handler. More...
 

Protected Member Functions

void updateOverride (GlRenderState &renderState, PropertyObject *object, Material &material) override
 RenderStatePropertyNotificationHandler::updateOverride() implementation. More...
 
- Protected Member Functions inherited from kanzi::RenderStatePropertyNotificationHandler
ShaderProgram::UniformTransformation getTransformation () const
 Gets the uniform transformation. More...
 
void onPropertyChanged (PropertyNotificationReason) override
 AbstractPropertyNotificationHandler::onPropertyChanged() implementation. More...
 
 RenderStatePropertyNotificationHandler ()=default
 Empty constructor. More...
 
 RenderStatePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node)
 Constructor Has no handle. More...
 
 RenderStatePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node, GlRenderState::HandleType handle, ShaderProgram::UniformTransformation transformation)
 Constructor. More...
 
- Protected Member Functions inherited from kanzi::NodePropertyNotificationHandler
 NodePropertyNotificationHandler ()
 Empty constructor. More...
 
 NodePropertyNotificationHandler (const NodePropertyNotificationHandler &rhs)
 Copy constructor. More...
 
 NodePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node)
 Constructor. More...
 
NodePropertyNotificationHandleroperator= (const NodePropertyNotificationHandler &rhs)
 Assignment operator. More...
 
 ~NodePropertyNotificationHandler () override
 Destructor. More...
 
- Protected Member Functions inherited from kanzi::AbstractPropertyNotificationHandler
 AbstractPropertyNotificationHandler ()
 Empty constructor. More...
 
 AbstractPropertyNotificationHandler (AbstractPropertyType propertyType)
 Constructor. More...
 
virtual ~AbstractPropertyNotificationHandler ()
 

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...
 

Detailed Description

Custom render state property notification handler for blend mode.

Since
Kanzi 3.9.1

Constructor & Destructor Documentation

kanzi::BlendModeRenderStatePropertyNotificationHandler::BlendModeRenderStatePropertyNotificationHandler ( AbstractPropertyType  propertyType,
Node node 
)
inlineexplicit

Constructor.

Parameters
propertyTypeThe property type to which to attach.
nodeThe node to which to attach.

Member Function Documentation

static unique_ptr<BlendModeRenderStatePropertyNotificationHandler> kanzi::BlendModeRenderStatePropertyNotificationHandler::create ( AbstractPropertyType  propertyType,
Node node 
)
inlinestatic

Create a new render state property notification handler.

Parameters
propertyTypeThe property type to which to attach.
nodeThe node to which to attach.
void kanzi::BlendModeRenderStatePropertyNotificationHandler::updateOverride ( GlRenderState renderState,
PropertyObject object,
Material material 
)
inlineoverrideprotectedvirtual

The documentation for this class was generated from the following file: