X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Feffects%2Feffect.h;fp=source%2Feffects%2Feffect.h;h=0d794a3a2d9b6b264b17e880cf0a02c95d8218d7;hp=eadb4dc845984a3d8e04d83e93d6a819df81bdf0;hb=84e0e55710123e54617d342df852007f8b60af24;hpb=0fa506250545acb83bc86f1734826544d6f1eda6 diff --git a/source/effects/effect.h b/source/effects/effect.h index eadb4dc8..0d794a3a 100644 --- a/source/effects/effect.h +++ b/source/effects/effect.h @@ -35,7 +35,7 @@ public: protected: Renderable &renderable; - std::set enabled_methods; + std::vector enabled_methods; protected: Effect(Renderable &); @@ -44,6 +44,7 @@ public: void enable_for_method(Tag); void disable_for_method(Tag); + bool is_enabled_for_method(Tag) const; virtual const Matrix *get_matrix() const { return renderable.get_matrix(); } virtual const Geometry::BoundingSphere *get_bounding_sphere() const { return renderable.get_bounding_sphere(); }