]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/pipelinebuilder.h
Make it possible to specify explicit clear values
[libs/gl.git] / source / builders / pipelinebuilder.h
index ab0dc4b9428c603fb4b555e83ee1091b9d2ef254..4a576c739572f84c7ad26b2f619f1008074df61b 100644 (file)
@@ -1,37 +1,12 @@
-#ifndef PIPELINEBUILDER_H_
-#define PIPELINEBUILDER_H_
+#ifndef MSP_GL_PIPELINEBUILDER_H_
+#define MSP_GL_PIPELINEBUILDER_H_
 
-#include <map>
-#include <string>
+#include "sequencebuilder.h"
 
 namespace Msp {
 namespace GL {
 
-class Framebuffer;
-class Pipeline;
-class PipelineTemplate;
-class PostProcessor;
-class Renderable;
-class View;
-
-class PipelineBuilder
-{
-private:
-       const PipelineTemplate &tmpl;
-       std::map<std::string, Renderable *> renderables;
-       std::map<std::string, PostProcessor *> postprocessors;
-
-public:
-       PipelineBuilder(const PipelineTemplate &);
-
-       void set_renderable(const std::string &, Renderable &);
-       void set_postprocessor(const std::string &, PostProcessor &);
-
-       void build(Pipeline &) const;
-       Pipeline *build(unsigned, unsigned) const;
-       Pipeline *build(const View &) const;
-       Pipeline *build(const Framebuffer &) const;
-};
+DEPRECATED typedef SequenceBuilder PipelineBuilder;
 
 } // namespace GL
 } // namespace Msp