Dali 3D User Interface Engine
List of all members | Public Member Functions | Protected Member Functions
Dali::Internal::SceneGraph::NodeDataProvider Class Referenceabstract

An interface to provide data for a Renderer. More...

#include <node-data-provider.h>

Inheritance diagram for Dali::Internal::SceneGraph::NodeDataProvider:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::SceneGraph::NodeDataProvider:
Collaboration graph
[legend]

Public Member Functions

 NodeDataProvider ()
 Constructor. More...
 
virtual const MatrixGetModelMatrix (unsigned int bufferId) const =0
 
virtual const Vector4GetRenderColor (unsigned int bufferId) const =0
 
virtual const Vector3GetRenderSize (unsigned int bufferIndex) const =0
 
virtual bool GetUniformMapChanged (BufferIndex bufferIndex) const =0
 Return true if the uniform map has been changed this frame Note, this only informs if the uniform mappings have changed, not if any actual property value has changed. More...
 
virtual const CollectedUniformMapGetUniformMap (BufferIndex bufferIndex) const =0
 Get the complete map of uniforms to property value addresses (The map is double buffered - it can be retrieved through this interface) More...
 

Protected Member Functions

virtual ~NodeDataProvider ()
 Virtual destructor, this is an interface, no deletion through this interface. More...
 

Additional Inherited Members

- Private Member Functions inherited from Dali::Internal::SceneGraph::UniformMapDataProvider
 UniformMapDataProvider ()
 Constructor. More...
 
virtual ~UniformMapDataProvider ()
 No deletion through this interface. More...
 

Detailed Description

An interface to provide data for a Renderer.

Definition at line 36 of file node-data-provider.h.

Constructor & Destructor Documentation

Dali::Internal::SceneGraph::NodeDataProvider::NodeDataProvider ( )
inline

Constructor.

Nothing to do as a pure interface.

Definition at line 43 of file node-data-provider.h.

virtual Dali::Internal::SceneGraph::NodeDataProvider::~NodeDataProvider ( )
inlineprotectedvirtual

Virtual destructor, this is an interface, no deletion through this interface.

Definition at line 77 of file node-data-provider.h.

Member Function Documentation

virtual const Matrix& Dali::Internal::SceneGraph::NodeDataProvider::GetModelMatrix ( unsigned int  bufferId) const
pure virtual
Parameters
bufferIdto use
Returns
a reference to the model matrix

Implemented in Dali::Internal::SceneGraph::Node.

Referenced by Dali::Internal::Render::Renderer::Render().

Here is the caller graph for this function:

virtual const Vector4& Dali::Internal::SceneGraph::NodeDataProvider::GetRenderColor ( unsigned int  bufferId) const
pure virtual
Parameters
bufferIdto use
Returns
a reference to the color

Implemented in Dali::Internal::SceneGraph::Node.

Referenced by Dali::Internal::Render::Renderer::Render().

Here is the caller graph for this function:

virtual const Vector3& Dali::Internal::SceneGraph::NodeDataProvider::GetRenderSize ( unsigned int  bufferIndex) const
pure virtual
Parameters
[in]bufferIndexThe buffer index to use
Returns
the actor size

Implemented in Dali::Internal::SceneGraph::Node.

Referenced by Dali::Internal::Render::Renderer::SetUniforms().

Here is the caller graph for this function:

virtual const CollectedUniformMap& Dali::Internal::SceneGraph::NodeDataProvider::GetUniformMap ( BufferIndex  bufferIndex) const
pure virtual

Get the complete map of uniforms to property value addresses (The map is double buffered - it can be retrieved through this interface)

Parameters
[in]bufferIndexThe bufferIndex
Returns
the uniform map

Implements Dali::Internal::SceneGraph::UniformMapDataProvider.

Implemented in Dali::Internal::SceneGraph::Node.

Referenced by Dali::Internal::Render::Renderer::SetUniforms().

Here is the caller graph for this function:

virtual bool Dali::Internal::SceneGraph::NodeDataProvider::GetUniformMapChanged ( BufferIndex  bufferIndex) const
pure virtual

Return true if the uniform map has been changed this frame Note, this only informs if the uniform mappings have changed, not if any actual property value has changed.

Parameters
[in]bufferIndexThe buffer index
Returns
true if the uniform map has changed

Implements Dali::Internal::SceneGraph::UniformMapDataProvider.

Implemented in Dali::Internal::SceneGraph::Node.

Referenced by Dali::Internal::Render::Renderer::SetUniforms().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali