X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Feffects%2Fbloom.h;h=b80388d6b6848b2af6023b8de17d165fb467a653;hp=f2d9db7f01a99363da50219728a2d239b91fee76;hb=1863f17c5c5563be8492d7f01e5c613a740ea1e9;hpb=6f39983060a27634c012f66c82fea0d09fea9774 diff --git a/source/effects/bloom.h b/source/effects/bloom.h index f2d9db7f..b80388d6 100644 --- a/source/effects/bloom.h +++ b/source/effects/bloom.h @@ -36,7 +36,7 @@ public: Template(); - virtual Bloom *create(Resources &, unsigned, unsigned) const; + virtual Bloom *create(unsigned, unsigned) const; }; private: @@ -50,7 +50,7 @@ private: const Sampler &linear_sampler; public: - Bloom(Resources &, unsigned, unsigned); + Bloom(unsigned, unsigned); ~Bloom(); /** Sets the σ value of the gaussian blur. Values much larger than 4.0 are @@ -62,6 +62,8 @@ public: void set_strength(float); virtual void render(Renderer &, const Texture2D &, const Texture2D &); + + virtual void set_debug_name(const std::string &); }; } // namespace GL