Kanzi 4.1.2
kanzi::BindingGraphicsEntryLookupContext Class Reference

Binding lookup context for graphics entries. More...

#include <kanzi/core.ui/graphics3d/binding_graphics_entry_lookup_context.hpp>

Inheritance diagram for kanzi::BindingGraphicsEntryLookupContext:
[legend]

Public Member Functions

BindingLookupContextPtr clone () override
 BindingLookupContext::clone() implementation.
 
MaterialSharedPtr getMaterial () const
 Gets the associated material.
 
Node * getNode () const
 Gets the associated node, without lookup.
 
RenderPass & getRenderPass () const
 Gets the associated render pass, without lookup.
 
RenderState & getRenderState ()
 Access the render state for this lookup context.
 
ObjectSharedPtr lookup (string_view path) override
 BindingLookupContext::lookup() implementation.
 
void * lookupRaw (string_view path) override
 BindingLookupContext::lookupRaw() implementation.
 
void registerGlobalNotification (string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::registerGlobalNotification() implementation.
 
void registerLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::registerLocalNotification() implementation.
 
void unregisterGlobalNotification (string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::unregisterGlobalNotification() implementation.
 
void unregisterLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::unregisterLocalNotification() implementation.
 
- Public Member Functions inherited from kanzi::BindingLookupContext
virtual AbstractPropertyTypeDescriptor::ValueSourceOwner * createValueSourceOwner (ValueSourceBindingTargetRuntime &targetRuntime, bool reuseAllowed)
 Creates an owner for the specific type of object with which this binding lookup context is associated.
 
virtual ~BindingLookupContext ()=default
 Destructor.
 

Static Public Member Functions

static BindingLookupContextPtr create (GraphicsEntry &graphicsEntry)
 Creates a binding lookup context for given graphics entry.
 

Protected Member Functions

 BindingGraphicsEntryLookupContext (GraphicsEntry &graphicsEntry)
 Constructor.
 
- Protected Member Functions inherited from kanzi::BindingLookupContext
 BindingLookupContext ()=default
 Constructor.
 

Detailed Description

Binding lookup context for graphics entries.

Allows connecting node and render pass with the render state.

Since
Kanzi 3.9.0
Kanzi 4.1.0 renamed from BindingRenderValueLookupContext.

Constructor & Destructor Documentation

◆ BindingGraphicsEntryLookupContext()

kanzi::BindingGraphicsEntryLookupContext::BindingGraphicsEntryLookupContext ( GraphicsEntry & graphicsEntry)
inlineexplicitprotected

Constructor.

Parameters
graphicsEntryThe graphics entry used for lookup.

Member Function Documentation

◆ create()

static BindingLookupContextPtr kanzi::BindingGraphicsEntryLookupContext::create ( GraphicsEntry & graphicsEntry)
static

Creates a binding lookup context for given graphics entry.

Parameters
graphicsEntryThe graphics entry used for lookup.

◆ getRenderState()

RenderState & kanzi::BindingGraphicsEntryLookupContext::getRenderState ( )

Access the render state for this lookup context.

Returns
Render state reference.

◆ clone()

BindingLookupContextPtr kanzi::BindingGraphicsEntryLookupContext::clone ( )
overridevirtual

BindingLookupContext::clone() implementation.

Reimplemented from kanzi::BindingLookupContext.

◆ lookup()

ObjectSharedPtr kanzi::BindingGraphicsEntryLookupContext::lookup ( string_view path)
overridevirtual

◆ lookupRaw()

void * kanzi::BindingGraphicsEntryLookupContext::lookupRaw ( string_view path)
overridevirtual

◆ registerGlobalNotification()

void kanzi::BindingGraphicsEntryLookupContext::registerGlobalNotification ( string_view path,
BindingLookupNotificationBase & notificationObject )
overridevirtual

◆ unregisterGlobalNotification()

void kanzi::BindingGraphicsEntryLookupContext::unregisterGlobalNotification ( string_view path,
BindingLookupNotificationBase & notificationObject )
overridevirtual

◆ registerLocalNotification()

void kanzi::BindingGraphicsEntryLookupContext::registerLocalNotification ( PropertyObject * object,
string_view path,
BindingLookupNotificationBase & notificationObject )
overridevirtual

◆ unregisterLocalNotification()

void kanzi::BindingGraphicsEntryLookupContext::unregisterLocalNotification ( PropertyObject * object,
string_view path,
BindingLookupNotificationBase & notificationObject )
overridevirtual

◆ getNode()

Node * kanzi::BindingGraphicsEntryLookupContext::getNode ( ) const

Gets the associated node, without lookup.

Returns
Pointer to node.

◆ getRenderPass()

RenderPass & kanzi::BindingGraphicsEntryLookupContext::getRenderPass ( ) const

Gets the associated render pass, without lookup.

Returns
Reference to render pass.

◆ getMaterial()

MaterialSharedPtr kanzi::BindingGraphicsEntryLookupContext::getMaterial ( ) const

Gets the associated material.

This is the material attached to the contained render state.


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