]> git.tdb.fi Git - libs/gl.git/blobdiff - source/technique.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / technique.h
index 7ea695378714d669dabfd8104030664fc1d42787..762b98f4f9afe1d977e4c663397617c6d6d2205f 100644 (file)
@@ -37,6 +37,7 @@ private:
        private:
                void material(const std::string &, const std::string &);
                void texture(const std::string &, const std::string &);
+               void uniforms();
        };
 
 public:
@@ -49,8 +50,11 @@ 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;
 };