protected:
Renderable &renderable;
- std::set<Tag> enabled_methods;
+ std::vector<Tag> enabled_methods;
protected:
Effect(Renderable &);
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<float, 3> *get_bounding_sphere() const { return renderable.get_bounding_sphere(); }