]> git.tdb.fi Git - libs/gl.git/blobdiff - source/technique.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / technique.h
index 41157f0ae58e963bc817036f5802b74cd407f934..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:
@@ -46,11 +47,14 @@ private:
        PassMap passes;
 
 public:
-       RenderPass &add_pass(const GL::Tag &);
-       bool has_pass(const GL::Tag &) const;
-       const RenderPass &get_pass(const GL::Tag &) const;
+       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;
 };