#define DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
namespace Dali
{
-
namespace Toolkit
{
-
namespace Internal
{
-
/**
* An embossing image filter, implements Dali::Toolkit::Internal::ImageFilter
*/
public: // From ImageFilter
/// @copydoc Dali::Toolkit::Internal::ImageFilter::Enable
- virtual void Enable();
+ void Enable() override;
/// @copydoc Dali::Toolkit::Internal::ImageFilter::Disable
- virtual void Disable();
+ void Disable() override;
/// @copydoc Dali::Toolkit::Internal::ImageFilter::Refresh
- virtual void Refresh();
+ void Refresh() override;
/// @copydoc Dali::Toolkit::Internal::ImageFilter::SetSize
- virtual void SetSize( const Vector2& size );
+ void SetSize(const Vector2& size) override;
private:
/**
void CreateRenderTasks();
private:
- EmbossFilter( const EmbossFilter& );
- EmbossFilter& operator=( const EmbossFilter& );
+ EmbossFilter(const EmbossFilter&);
+ EmbossFilter& operator=(const EmbossFilter&);
private: // Attributes
-
- RenderTask mRenderTaskForEmboss1;
- RenderTask mRenderTaskForEmboss2;
- RenderTask mRenderTaskForOutput;
- FrameBuffer mFrameBufferForEmboss1;
- FrameBuffer mFrameBufferForEmboss2;
- Actor mActorForInput1;
- Actor mActorForInput2;
- Renderer mRendererForEmboss1;
- Renderer mRendererForEmboss2;
- Actor mActorForComposite;
+ RenderTask mRenderTaskForEmboss1;
+ RenderTask mRenderTaskForEmboss2;
+ RenderTask mRenderTaskForOutput;
+ FrameBuffer mFrameBufferForEmboss1;
+ FrameBuffer mFrameBufferForEmboss2;
+ Actor mActorForInput1;
+ Actor mActorForInput2;
+ Renderer mRendererForEmboss1;
+ Renderer mRendererForEmboss2;
+ Actor mActorForComposite;
}; // class EmbossFilter
} // namespace Internal
} // namespace Dali
#endif // DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H
-