11#include "sml/math/blur.h"
12#include "sml/graphics_wrapper/texture.h"
23 int32_t blurRadius, Sml::Color color = Sml::COLOR_BLACK);
27 const Sml::Vec2i& getOffset()
const;
28 const Sml::Vec2f& getScale()
const;
29 int32_t getBlurRadius()
const;
30 Sml::Color getColor()
const;
33 Sml::Vec2i m_Offset = {0, 0};
34 Sml::Vec2f m_Scale = {1, 1};
35 Sml::Kernel* m_BlurKernel =
nullptr;
36 Sml::Color m_Color = Sml::COLOR_BLACK;
47 void update(
const Sml::Texture* srcTexture,
const Sml::Rectangle<int32_t>& objectRegion);
48 void render(
const Sml::Rectangle<int32_t>&
object,
const Sml::Rectangle<int32_t>& targetRegion);
50 Sml::Texture* getTexture()
const;
57 Sml::Texture* m_Texture =
nullptr;