//////////////////////////////////////////////////////////////////////////////////////////////////// // NoesisGUI - http://www.noesisengine.com // Copyright (c) 2013 Noesis Technologies S.L. All Rights Reserved. //////////////////////////////////////////////////////////////////////////////////////////////////// #ifndef __GUI_BLUREFFECT_H__ #define __GUI_BLUREFFECT_H__ #include #include #include #include namespace Noesis { NS_WARNING_PUSH NS_MSVC_WARNING_DISABLE(4251 4275) //////////////////////////////////////////////////////////////////////////////////////////////////// /// A bitmap effect that blurs the target texture. /// /// .. code-block:: xml /// /// /// /// /// /// /// /// /// /// https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.effects.blureffect //////////////////////////////////////////////////////////////////////////////////////////////////// class NS_GUI_CORE_API BlurEffect final: public Effect { public: BlurEffect(); ~BlurEffect(); /// Gets or sets a value that indicates the radius of the blur effect. //@{ float GetRadius(); void SetRadius(float value); //@} /// From IRenderProxyCreator //@{ void CreateRenderProxy(RenderTreeUpdater& updater, uint32_t proxyIndex) override; void UpdateRenderProxy(RenderTreeUpdater& updater, uint32_t proxyIndex) override; //@} public: static const DependencyProperty* RadiusProperty; private: /// From Freezable //@{ Ptr CreateInstanceCore() const override; //@} NS_DECLARE_REFLECTION(BlurEffect, Effect) }; NS_WARNING_POP } #endif