Dali 3D User Interface Engine
Classes | Functions | Variables
Dali::Internal::anonymous_namespace{shader-effect-impl.cpp} Namespace Reference

Classes

struct  WrapperStrings
 

Functions

DALI_PROPERTY_TABLE_BEGIN
BaseHandle 
Create ()
 
std::string WrapVertexShader (const std::string &vertexPrefix, const std::string &vertexBody)
 Helper to wrap the program with our default pre and postfix if needed. More...
 
std::string WrapFragmentShader (const std::string &fragmentPrefix, const std::string &fragmentBody)
 Helper to wrap the program with our default pre and postfix if needed. More...
 
std::string GetStringProperty (const std::string &field, const Property::Value &property)
 
Dali::Shader::ShaderHints ConvertHints (Dali::ShaderEffect::GeometryHints hints)
 

Variables

TypeRegistration mType (typeid(Dali::ShaderEffect), typeid(Dali::Handle), Create)
 
WrapperStrings customImageShaderWrappers
 

Function Documentation

Dali::Shader::ShaderHints Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::ConvertHints ( Dali::ShaderEffect::GeometryHints  hints)
DALI_PROPERTY_TABLE_BEGIN BaseHandle Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::Create ( )

Definition at line 57 of file shader-effect-impl.cpp.

References Dali::PropertyTypes::Get(), and Dali::Internal::ShaderEffect::New().

Here is the call graph for this function:

std::string Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::GetStringProperty ( const std::string &  field,
const Property::Value &  property 
)

Definition at line 124 of file shader-effect-impl.cpp.

References Dali::Property::Map(), and Dali::Property::Value().

Referenced by Dali::Internal::ShaderEffect::SetDefaultProperty().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::WrapFragmentShader ( const std::string &  fragmentPrefix,
const std::string &  fragmentBody 
)

Helper to wrap the program with our default pre and postfix if needed.

Parameters
[in]fragmentPrefixfrom application
[in]fragmentBodyfrom application

Definition at line 107 of file shader-effect-impl.cpp.

References Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::WrapperStrings::fragmentShaderPostfix, and Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::WrapperStrings::fragmentShaderPrefix.

Referenced by Dali::Internal::ShaderEffect::SetPrograms().

Here is the caller graph for this function:

std::string Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::WrapVertexShader ( const std::string &  vertexPrefix,
const std::string &  vertexBody 
)

Helper to wrap the program with our default pre and postfix if needed.

Parameters
[in]vertexPrefixfrom application
[in]vertexBodyfrom application

Definition at line 85 of file shader-effect-impl.cpp.

References Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::WrapperStrings::vertexShaderPostfix, and Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::WrapperStrings::vertexShaderPrefix.

Referenced by Dali::Internal::ShaderEffect::SetPrograms().

Here is the caller graph for this function:

Variable Documentation

WrapperStrings Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::customImageShaderWrappers
Initial value:
=
{
CustomImagePrefixVertex, CustomImagePrefixFragment,
CustomImagePostfixVertex, CustomImagePostfixFragment
}

Definition at line 74 of file shader-effect-impl.cpp.

TypeRegistration Dali::Internal::anonymous_namespace{shader-effect-impl.cpp}::mType(typeid(Dali::ShaderEffect), typeid(Dali::Handle), Create)
Dali Docs Home
Read more about Dali