]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pipeline.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / pipeline.h
diff --git a/source/pipeline.h b/source/pipeline.h
deleted file mode 100644 (file)
index afa9ed5..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#ifndef MSP_GL_PIPELINE_H_
-#define MSP_GL_PIPELINE_H_
-
-#include <map>
-#include "pipelinepass.h"
-#include "renderable.h"
-
-namespace Msp {
-namespace GL {
-
-class Effect;
-class Framebuffer;
-class PostProcessor;
-class Renderbuffer;
-class Texture2D;
-
-class Pipeline: public Renderable
-{
-private:
-       std::map<unsigned, PipelinePass> passes;
-       std::vector<Tag> pass_order;
-       std::vector<const Renderable *> renderables;
-       std::vector<Effect *> effects;
-       std::vector<PostProcessor *> postproc;
-       unsigned width;
-       unsigned height;
-       bool hdr;
-       Framebuffer *fbo;
-       Texture2D *color_buf;
-       Renderbuffer *depth_buf;
-
-public:
-       Pipeline(unsigned, unsigned, bool);
-       ~Pipeline();
-
-       PipelinePass &add_pass(const Tag &tag);
-       PipelinePass &get_pass(const Tag &tag);
-       const PipelinePass &get_pass(const Tag &tag) const;
-
-       void add_renderable(const Renderable &);
-       void add_effect(Effect &);
-       void add_postprocessor(PostProcessor &);
-
-       virtual void render(const Tag &tag=Tag()) const;
-       void render_all() const;
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif