]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effects/bloom.h
Add debug name capability to more classes
[libs/gl.git] / source / effects / bloom.h
index f2d9db7f01a99363da50219728a2d239b91fee76..b80388d6b6848b2af6023b8de17d165fb467a653 100644 (file)
@@ -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