4 #include "renderpass.h"
18 class Loader: public Msp::DataFile::CollectionObjectLoader<Technique>
22 Loader(Technique &, Collection &);
26 void inherit(const std::string &);
27 void pass(const std::string &);
31 class InheritLoader: public Msp::DataFile::CollectionObjectLoader<Technique>
34 InheritLoader(Technique &, Collection &);
37 void texture(const std::string &, const std::string &);
41 typedef std::map<Tag, RenderPass> PassMap;
47 RenderPass &add_pass(const GL::Tag &);
48 bool has_pass(const GL::Tag &) const;
49 const RenderPass &get_pass(const GL::Tag &) const;
50 const PassMap &get_passes() const { return passes; }
51 bool has_shaders() const;