*/
// EXTERNAL INCLUDES
+#include <dali/public-api/actors/renderable-actor.h>
+#include <dali/public-api/shader-effects/shader-effect.h>
-// INTERNAL INCLUDES
-#include <dali/dali.h>
-
-namespace Dali DALI_IMPORT_API
+namespace Dali
{
namespace Toolkit
* Actor.SetShaderEffect( MotionStretchEffect );
*
*/
-class MotionStretchEffect : public ShaderEffect
+class DALI_IMPORT_API MotionStretchEffect : public ShaderEffect
{
public:
/**
* Create a MotionStretchEffect and attach it to the specified actor
+ * @param renderable actor to apply the effect to
* @return A handle to a newly allocated Dali resource.
*/
- static MotionStretchEffect Apply( Actor handle );
+ static MotionStretchEffect Apply( RenderableActor renderable );
/**
* Set geometry stretch factor property. This scales the amount the geometry
private:
// Not intended for application developers
- MotionStretchEffect( ShaderEffect handle );
+ DALI_INTERNAL MotionStretchEffect( ShaderEffect handle );
};
}