]> git.tdb.fi Git - libs/gl.git/blobdiff - source/technique.h
Support fog in lighting and shaders
[libs/gl.git] / source / technique.h
index 141fa9c80a2b3f42cbfd2a87c1b218253993bce6..6841f486fd3fc3096e6884eb94621ef53c56e716 100644 (file)
@@ -35,6 +35,7 @@ private:
                InheritLoader(Technique &, Collection &);
 
        private:
+               void material(const std::string &, const std::string &);
                void texture(const std::string &, const std::string &);
        };
 
@@ -49,6 +50,7 @@ public:
        bool has_pass(const GL::Tag &) const;
        const RenderPass &get_pass(const GL::Tag &) const;
        const PassMap &get_passes() const { return passes; }
+       void replace_texture(const std::string &, const Texture &);
        bool has_shaders() const;
 };