-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;
-};