private:
void material(const std::string &, const std::string &);
void texture(const std::string &, const std::string &);
+ void uniforms();
};
public:
RenderPass &add_pass(const Tag &);
bool has_pass(const Tag &) const;
const RenderPass &get_pass(const Tag &) const;
+ const RenderPass *find_pass(const Tag &) const;
const PassMap &get_passes() const { return passes; }
- void replace_texture(const std::string &, const Texture &);
+ bool replace_texture(const std::string &, const Texture &);
+ bool replace_material(const std::string &, const Material &);
+ bool replace_uniforms(const ProgramData &);
bool has_shaders() const;
};