X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Feffect.h;h=d763f251bd473b7b22e58c2230400805442d2fdd;hb=a2b0d155023ca23afe7848ae5d17e0f7bc328525;hp=c43cda3a39303822361f23405b74bedf2dfbc635;hpb=233dff2a6c552e08da832496aecd88ef4f8948f1;p=libs%2Fgl.git diff --git a/source/effects/effect.h b/source/effects/effect.h index c43cda3a..d763f251 100644 --- a/source/effects/effect.h +++ b/source/effects/effect.h @@ -2,14 +2,11 @@ #define MSP_GL_EFFECT_H_ #include -#include #include "renderable.h" namespace Msp { namespace GL { -class Sampler; - /** Effects are used to wrap other renderables and give them additional visual properties. An Effect's render method should set up the necessary state, call @@ -34,6 +31,8 @@ public: virtual void setup_frame(Renderer &r) { renderable.setup_frame(r); } virtual void finish_frame() { renderable.finish_frame(); } + + virtual void set_debug_name(const std::string &) = 0; }; } // namespace GL