X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=optional%2Fdali-toolkit%2Fpublic-api%2Fshader-effects%2Fmotion-blur-effect.h;h=1cd0880e04a4786931c199c89f6f893a6dd0b327;hb=47602d95266454026fab0b4fb9c745a1c342c5c3;hp=19b9ea636625e7a933edbb6b0f156abe10dd8efb;hpb=a881757839b7abb008873a68c67e17b3ba39669b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/optional/dali-toolkit/public-api/shader-effects/motion-blur-effect.h b/optional/dali-toolkit/public-api/shader-effects/motion-blur-effect.h index 19b9ea6..1cd0880 100644 --- a/optional/dali-toolkit/public-api/shader-effects/motion-blur-effect.h +++ b/optional/dali-toolkit/public-api/shader-effects/motion-blur-effect.h @@ -19,11 +19,10 @@ */ // EXTERNAL INCLUDES +#include +#include -// INTERNAL INCLUDES -#include - -namespace Dali DALI_IMPORT_API +namespace Dali { namespace Toolkit @@ -45,7 +44,7 @@ namespace Toolkit * Actor.SetShaderEffect( MotionBlurEffect ); * */ -class MotionBlurEffect : public ShaderEffect +class DALI_IMPORT_API MotionBlurEffect : public ShaderEffect { public: @@ -57,9 +56,11 @@ public: MotionBlurEffect(); /** - * Virtual destructor. + * @brief Destructor + * + * This is non-virtual since derived Handle types must not contain data or virtual methods. */ - virtual ~MotionBlurEffect(); + ~MotionBlurEffect(); /** * Create an initialized MotionBlurEffect @@ -73,18 +74,20 @@ public: * Create a MotionBlurEffect and attach it to the specified actor * The number of texture samples taken along the motion velocity vector of the * actor, producing the blur, is set to a default of 8. + * @param renderable actor to apply the effect to * @return A handle to a newly allocated Dali resource. */ - static MotionBlurEffect Apply( Actor handle ); + static MotionBlurEffect Apply( RenderableActor renderable ); /** * Create an initialized MotionBlurEffect * @param numBlurSamples The number of texture samples taken along the motion * velocity vector of the actor, producing the blur. A higher number gives a * smoother blur but costs more in terms of performance. + * @param numBlurSamples to have * @return A handle to a newly allocated Dali resource. */ - static MotionBlurEffect New( const unsigned int numBlurSamples ); + static MotionBlurEffect New( unsigned int numBlurSamples ); /** * Set texcoord scale property. This scales the offset for texture samples @@ -203,7 +206,7 @@ public: private: // Not intended for application developers - MotionBlurEffect( ShaderEffect handle ); + DALI_INTERNAL MotionBlurEffect( ShaderEffect handle ); }; }