Merge "Use Control's own PanGestureDetector in ScrollBar" into devel/master
[platform/core/uifw/dali-toolkit.git] / docs / content / programming-guide / shader-intro.h
index d811594..75fef8f 100644 (file)
@@ -6,44 +6,6 @@
 The shader effects allow the developer to apply visual deformations on the actors.
 They can affect the geometry, the colors and textures of the actor.
 
-There are some utility functions in Dali::Toolkit to create some useful shader effects:
-@code
-//Bendy effect bends the geometry around a point, useful to do a page turn effect
-Dali::ShaderEffect bendyEffect = Dali::Toolkit::CreateBendyEffect();
-
-//Dissolve effect does a dissolve effect on the actor texture
-Dali::ShaderEffect dissolveEffect = Dali::Toolkit::CreateDissolveEffect();
-
-//Ripple effect does a concentric wave effect on the actor texture
-Dali::ShaderEffect rippleEffect = Dali::Toolkit::CreateRippleEffect();
-
-@endcode
-
-@image html shader-effect-ripple.png "Ripple Effect"
-
-<br>
-<br>
-<h2 class="pg">Example and Usage</h2>
-Here is an example on how to use a shader effect, using the RippleEffect.
-
-First create the shader effect.
-@code
-Dali::ShaderEffect effect = Dali::Toolkit::CreateRippleEffect();
-@endcode
-
-Then set the values of the uniforms.
-@code
-// Set the amplitude
-effect.SetUniform("uAmplitude", 45.0f );
-// Set the center
-effect.SetUniform("uCenter", Vector2() );
-@endcode
-
-Finally apply the shader effect to an actor:
-@code
-actor.SetShaderEffect( effect );
-@endcode
-
 
 <br>
 <br>