kanzi::TypedRenderStatePropertyNotificationHandler< T > Class Template Reference

Specialized property state and value container for render state. More...

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

Inheritance diagram for kanzi::TypedRenderStatePropertyNotificationHandler< T >:
kanzi::RenderStatePropertyNotificationHandler kanzi::RenderValuePropertyNotificationHandlerBase kanzi::NodePropertyNotificationHandler kanzi::AbstractPropertyNotificationHandler

Public Member Functions

 TypedRenderStatePropertyNotificationHandler ()
 Empty constructor. More...
 
 TypedRenderStatePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node)
 Constructor Has no handle. More...
 
 TypedRenderStatePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node, GlRenderState::HandleType handle, ShaderProgram::UniformTransformation transformation)
 Constructor. More...
 
- Public Member Functions inherited from kanzi::RenderStatePropertyNotificationHandler
void update (GlRenderState &renderState, Object *object, Material &material)
 Update render state with new values acquirable from this. More...
 
int getHandle () const
 Access handle. More...
 
- Public Member Functions inherited from kanzi::RenderValuePropertyNotificationHandlerBase
bool isDirty () const
 Is the container dirty? More...
 
void setDirty (bool enabled)
 Set dirty flag state. More...
 
RenderValuePropertyNotificationHandlerBaseoperator= (KZ_RV_REF(RenderValuePropertyNotificationHandlerBase) other)
 Assignment operator. 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 RenderStatePropertyNotificationHandlerPtr create (AbstractPropertyType propertyType, Node *node, GlRenderState::HandleType handle, ShaderProgram::UniformTransformation transformation)
 Create a new render state property notification handler. More...
 

Protected Member Functions

virtual void updateOverride (GlRenderState &renderState, Object *object, Material &material) KZ_OVERRIDE
 RenderStatePropertyNotificationHandler::updateOverride() implementation. More...
 
- Protected Member Functions inherited from kanzi::RenderStatePropertyNotificationHandler
 RenderStatePropertyNotificationHandler ()
 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::RenderValuePropertyNotificationHandlerBase
 RenderValuePropertyNotificationHandlerBase ()
 Empty constructor. More...
 
 RenderValuePropertyNotificationHandlerBase (AbstractPropertyType propertyType, Node *node)
 Constructor. More...
 
 RenderValuePropertyNotificationHandlerBase (AbstractPropertyType propertyType, Node *node, ShaderProgram::UniformTransformation transformation)
 Constructor. More...
 
 RenderValuePropertyNotificationHandlerBase (KZ_RV_REF(RenderValuePropertyNotificationHandlerBase) other)
 Move constructor. More...
 
virtual void onPropertyChanged (PropertyNotificationReason) KZ_OVERRIDE
 AbstractPropertyNotificationHandler::onPropertyChanged() implementation. More...
 
ShaderProgram::UniformTransformation getTransformation () const
 Gets the uniform transformation. 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...
 
virtual ~NodePropertyNotificationHandler ()
 Destructor. More...
 
NodePropertyNotificationHandleroperator= (const NodePropertyNotificationHandler &rhs)
 Assignment operator. More...
 
- Protected Member Functions inherited from kanzi::AbstractPropertyNotificationHandler
 AbstractPropertyNotificationHandler ()
 Empty constructor. More...
 
 AbstractPropertyNotificationHandler (AbstractPropertyType propertyType)
 Constructor. More...
 

Detailed Description

template<typename T>
class kanzi::TypedRenderStatePropertyNotificationHandler< T >

Specialized property state and value container for render state.

Constructor & Destructor Documentation

Empty constructor.

template<typename T >
kanzi::TypedRenderStatePropertyNotificationHandler< T >::TypedRenderStatePropertyNotificationHandler ( AbstractPropertyType  propertyType,
Node node 
)
inlineexplicit

Constructor Has no handle.

Should only used for blend mode.

Parameters
propertyTypeProperty type to listen on.
nodeNode to listen for changes on.

Constructor.

Parameters
propertyTypeProperty type to listen on.
nodeNode to listen for changes on.
handleHandle into the render state.
transformationUniform transformation.

Member Function Documentation

template<typename T >
static RenderStatePropertyNotificationHandlerPtr kanzi::TypedRenderStatePropertyNotificationHandler< T >::create ( AbstractPropertyType  propertyType,
Node node,
GlRenderState::HandleType  handle,
ShaderProgram::UniformTransformation  transformation 
)
inlinestatic

Create a new render state property notification handler.

Parameters
propertyTypeProperty type to listen on.
nodeNode to listen for changes on.
handleHandle into the render state.
transformationUniform transformation.
template<typename T >
virtual void kanzi::TypedRenderStatePropertyNotificationHandler< T >::updateOverride ( GlRenderState renderState,
Object object,
Material material 
)
inlineprotectedvirtual

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