]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effects/effect.h
Rename Effect::enabled_passes to enabled_methods
[libs/gl.git] / source / effects / effect.h
index d763f251bd473b7b22e58c2230400805442d2fdd..9bf49c22b812a585200a0c28890932dcadadf093 100644 (file)
@@ -16,15 +16,15 @@ class Effect: public Renderable
 {
 protected:
        Renderable &renderable;
-       std::set<Tag> enabled_passes;
+       std::set<Tag> enabled_methods;
 
 protected:
        Effect(Renderable &);
 public:
        virtual ~Effect() { }
 
-       void enable_for_pass(Tag);
-       void disable_for_pass(Tag);
+       void enable_for_method(Tag);
+       void disable_for_method(Tag);
 
        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(); }