X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbuilders%2Fpipelinebuilder.h;h=4a576c739572f84c7ad26b2f619f1008074df61b;hp=ab0dc4b9428c603fb4b555e83ee1091b9d2ef254;hb=006bdb4f8660098fc524dcca80b24c943c65b249;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266 diff --git a/source/builders/pipelinebuilder.h b/source/builders/pipelinebuilder.h index ab0dc4b9..4a576c73 100644 --- a/source/builders/pipelinebuilder.h +++ b/source/builders/pipelinebuilder.h @@ -1,37 +1,12 @@ -#ifndef PIPELINEBUILDER_H_ -#define PIPELINEBUILDER_H_ +#ifndef MSP_GL_PIPELINEBUILDER_H_ +#define MSP_GL_PIPELINEBUILDER_H_ -#include -#include +#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 renderables; - std::map 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