]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pipeline.h
Turn Effect into a Renderable
[libs/gl.git] / source / pipeline.h
index bc793887695b2db51676d979522faf7f680842fc..85179b7d5abfb4c4263c39176b53d6fd26a0a7a5 100644 (file)
@@ -10,7 +10,6 @@ namespace Msp {
 namespace GL {
 
 class Camera;
-class Effect;
 class Framebuffer;
 class PostProcessor;
 class Renderbuffer;
@@ -33,7 +32,6 @@ private:
        std::vector<Tag> pass_order;
        const Camera *camera;
        std::vector<Slot> renderables;
-       std::vector<Effect *> effects;
        std::vector<PostProcessor *> postproc;
        unsigned width;
        unsigned height;
@@ -61,7 +59,6 @@ public:
        void add_renderable(const Renderable &);
        void add_renderable_for_pass(const Renderable &, const Tag &);
        void remove_renderable(const Renderable &);
-       void add_effect(Effect &);
        void add_postprocessor(PostProcessor &);
 
        virtual void render(Renderer &, const Tag &tag = Tag()) const;