X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Feffect.h;h=a4f108fbcf9f739bcca08fc55b520fe0d5fab202;hb=003890aeda3e2bb444d9560a8dd8f6aef924a1ee;hp=c68bc944f8edd0a8dc2490e74e1234bace23fa12;hpb=9a63244c1342337915c4610401a24c09fa72cc3d;p=libs%2Fgl.git diff --git a/source/effects/effect.h b/source/effects/effect.h index c68bc944..a4f108fb 100644 --- a/source/effects/effect.h +++ b/source/effects/effect.h @@ -26,14 +26,16 @@ protected: public: virtual ~Effect() { } - void enable_for_pass(const Tag &); - void disable_for_pass(const Tag &); + void enable_for_pass(Tag); + void disable_for_pass(Tag); virtual const Matrix *get_matrix() const { return renderable.get_matrix(); } virtual const Geometry::BoundingSphere *get_bounding_sphere() const { return renderable.get_bounding_sphere(); } 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