Dali 3D User Interface Engine
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions
Dali::Internal::SceneGraph::UniformMeta Class Reference

Holds the metadata associated with a Shader uniform. More...

#include <uniform-meta.h>

Collaboration diagram for Dali::Internal::SceneGraph::UniformMeta:
Collaboration graph
[legend]

Public Member Functions

 UniformMeta (const UniformMeta &meta)
 Copy constructor. More...
 
void SetCoordinateType (Dali::ShaderEffect::UniformCoordinateType coordType)
 Set the coordinate type. More...
 

Static Public Member Functions

static UniformMetaNew (const std::string &name, const PropertyBase &property, Dali::ShaderEffect::UniformCoordinateType coordType)
 Create a UniformMeta. More...
 

Public Attributes

std::string name
 name of uniform to set/animate More...
 
const PropertyBaseproperty
 reference to the corresponding property More...
 
unsigned int cacheIndex
 internal program cache index More...
 
Dali::ShaderEffect::UniformCoordinateType coordinateType
 The coordinate type of the uniform. More...
 

Private Member Functions

 UniformMeta (const std::string &uniformName, const PropertyBase &prop, Dali::ShaderEffect::UniformCoordinateType coordType)
 Constructor. More...
 
UniformMetaoperator= (const UniformMeta &rhs)
 

Detailed Description

Holds the metadata associated with a Shader uniform.

Definition at line 45 of file uniform-meta.h.

Constructor & Destructor Documentation

Dali::Internal::SceneGraph::UniformMeta::UniformMeta ( const UniformMeta meta)
inline

Copy constructor.

Parameters
[in]metaThe UniformMeta to copy.

Definition at line 61 of file uniform-meta.h.

Referenced by New().

Here is the caller graph for this function:

Dali::Internal::SceneGraph::UniformMeta::UniformMeta ( const std::string &  uniformName,
const PropertyBase prop,
Dali::ShaderEffect::UniformCoordinateType  coordType 
)
inlineprivate

Constructor.

Definition at line 83 of file uniform-meta.h.

Member Function Documentation

static UniformMeta* Dali::Internal::SceneGraph::UniformMeta::New ( const std::string &  name,
const PropertyBase property,
Dali::ShaderEffect::UniformCoordinateType  coordType 
)
inlinestatic

Create a UniformMeta.

Definition at line 52 of file uniform-meta.h.

References UniformMeta().

Here is the call graph for this function:

UniformMeta& Dali::Internal::SceneGraph::UniformMeta::operator= ( const UniformMeta rhs)
private
void Dali::Internal::SceneGraph::UniformMeta::SetCoordinateType ( Dali::ShaderEffect::UniformCoordinateType  coordType)
inline

Set the coordinate type.

Parameters
[in]coordTypeThe new coordinate type.

Definition at line 73 of file uniform-meta.h.

References coordinateType.

Member Data Documentation

unsigned int Dali::Internal::SceneGraph::UniformMeta::cacheIndex

internal program cache index

Definition at line 98 of file uniform-meta.h.

Referenced by Dali::Internal::SceneGraph::Shader::SetUniforms().

Dali::ShaderEffect::UniformCoordinateType Dali::Internal::SceneGraph::UniformMeta::coordinateType

The coordinate type of the uniform.

Definition at line 99 of file uniform-meta.h.

Referenced by SetCoordinateType(), and Dali::Internal::SceneGraph::Shader::SetUniforms().

std::string Dali::Internal::SceneGraph::UniformMeta::name

name of uniform to set/animate

Definition at line 96 of file uniform-meta.h.

Referenced by Dali::Internal::SceneGraph::Shader::SetUniforms().

const PropertyBase& Dali::Internal::SceneGraph::UniformMeta::property

reference to the corresponding property

Definition at line 97 of file uniform-meta.h.

Referenced by Dali::Internal::SceneGraph::Shader::SetUniforms().


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