Dali 3D User Interface Engine
Variables
Dali::Toolkit::Internal::anonymous_namespace{bouncing-effect-actor.cpp} Namespace Reference

Variables

const float LAYER_HEIGHTS [5]
 
const char * MESH_VERTEX_SHADER
 
const char * MESH_FRAGMENT_SHADER
 

Variable Documentation

const float Dali::Toolkit::Internal::anonymous_namespace{bouncing-effect-actor.cpp}::LAYER_HEIGHTS[5]
Initial value:
=
{
1.f,
26.f * 4.f/ 130.f,
26.f * 3.f / 130.f,
26.f * 2.f / 130.f,
26.f / 130.f
}

Definition at line 42 of file bouncing-effect-actor.cpp.

const char* Dali::Toolkit::Internal::anonymous_namespace{bouncing-effect-actor.cpp}::MESH_FRAGMENT_SHADER
Initial value:
uniform lowp vec4 uColor;\n
void main()\n
{\n
gl_FragColor = uColor;\n
}\n
)

Definition at line 68 of file bouncing-effect-actor.cpp.

const char* Dali::Toolkit::Internal::anonymous_namespace{bouncing-effect-actor.cpp}::MESH_VERTEX_SHADER
Initial value:
attribute mediump vec3 aPosition1;\n
attribute mediump vec3 aPosition2;\n
uniform mediump mat4 uMvpMatrix;\n
uniform mediump vec3 uSize;
uniform mediump float uBounceCoefficient;\n
\n
void main()\n
{\n
gl_Position = uMvpMatrix * vec4(mix( aPosition1, aPosition2, abs(uBounceCoefficient) )*uSize, 1.0);\n
}
)

Definition at line 54 of file bouncing-effect-actor.cpp.

Dali Docs Home
Read more about Dali