Dali 3D User Interface Engine
Functions | Variables
Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp} Namespace Reference

Functions

const char *const RENDERER_TYPE ("rendererType")
 
const char *const RENDERER_TYPE_VALUE ("gradient")
 
const char *const GRADIENT_START_POSITION_NAME ("gradientStartPosition")
 
const char *const GRADIENT_END_POSITION_NAME ("gradientEndPosition")
 
const char *const GRADIENT_CENTER_NAME ("gradientCenter")
 
const char *const GRADIENT_RADIUS_NAME ("gradientRadius")
 
const char *const GRADIENT_STOP_OFFSET_NAME ("gradientStopOffset")
 
const char *const GRADIENT_STOP_COLOR_NAME ("gradientStopColor")
 
const char *const GRADIENT_UNITS_NAME ("gradientUnits")
 
const char *const GRADIENT_SPREAD_METHOD_NAME ("gradientSpreadMethod")
 
const char *const UNIT_USER_SPACE ("userSpace")
 
const char *const UNIT_BOUNDING_BOX ("objectBoundingBox")
 
const char *const SPREAD_PAD ("pad")
 
const char *const SPREAD_REFLECT ("reflect")
 
const char *const SPREAD_REPEAT ("repeat")
 
const char *const UNIFORM_ALIGNMENT_MATRIX_NAME ("uAlignmentMatrix")
 
const char *const UNIFORM_TEXTULRE_NAME ("sTexture")
 
RendererFactoryCache::ShaderType GetShaderType (GradientRenderer::Type type, Gradient::GradientUnits units)
 
Dali::WrapMode::Type GetWrapMode (Gradient::SpreadMethod spread)
 

Variables

const char * VERTEX_SHADER []
 
const char * FRAGMENT_SHADER []
 

Function Documentation

RendererFactoryCache::ShaderType Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::GetShaderType ( GradientRenderer::Type  type,
Gradient::GradientUnits  units 
)
Dali::WrapMode::Type Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::GetWrapMode ( Gradient::SpreadMethod  spread)
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::GRADIENT_CENTER_NAME ( "gradientCenter"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::GRADIENT_END_POSITION_NAME ( "gradientEndPosition"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::GRADIENT_RADIUS_NAME ( "gradientRadius"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::GRADIENT_SPREAD_METHOD_NAME ( "gradientSpreadMethod"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::GRADIENT_START_POSITION_NAME ( "gradientStartPosition"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::GRADIENT_STOP_COLOR_NAME ( "gradientStopColor"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::GRADIENT_STOP_OFFSET_NAME ( "gradientStopOffset"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::GRADIENT_UNITS_NAME ( "gradientUnits"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::RENDERER_TYPE ( "rendererType"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::RENDERER_TYPE_VALUE ( "gradient"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::SPREAD_PAD ( "pad"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::SPREAD_REFLECT ( "reflect"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::SPREAD_REPEAT ( "repeat"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::UNIFORM_ALIGNMENT_MATRIX_NAME ( "uAlignmentMatrix"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::UNIFORM_TEXTULRE_NAME ( "sTexture"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::UNIT_BOUNDING_BOX ( "objectBoundingBox"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::UNIT_USER_SPACE ( "userSpace"  )

Referenced by Dali::Toolkit::Internal::GradientRenderer::DoInitialize().

Here is the caller graph for this function:

Variable Documentation

const char* Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::FRAGMENT_SHADER[]
Initial value:
=
{
uniform sampler2D sTexture;\n
uniform lowp vec4 uColor;\n
varying mediump vec2 vTexCoord;\n
\n
void main()\n
{\n
gl_FragColor = texture2D( sTexture, vec2( vTexCoord.y, 0.5 ) ) * uColor;\n
}\n
),
uniform sampler2D sTexture;\n
uniform lowp vec4 uColor;\n
varying mediump vec2 vTexCoord;\n
\n
void main()\n
{\n
gl_FragColor = texture2D( sTexture, vec2( length(vTexCoord), 0.5 ) ) * uColor;\n
}\n
)
}

Definition at line 131 of file gradient-renderer.cpp.

const char* Dali::Toolkit::Internal::anonymous_namespace{gradient-renderer.cpp}::VERTEX_SHADER[]

Definition at line 92 of file gradient-renderer.cpp.

Dali Docs Home
Read more about Dali