]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderpass.h
Check uniforms as a hint for texunit to use for material textures
[libs/gl.git] / source / renderpass.h
index 66768772f2d545a6e817c612a39873e5a9234b6d..261669148de31838cb7dfc980f0bc70c2cd08bb7 100644 (file)
@@ -31,9 +31,12 @@ public:
 
        private:
                void init();
+
                void material_inline();
                void material(const std::string &);
+               void shader(const std::string &);
                void texunit(unsigned);
+               void texunit_auto(const std::string &);
                void texunit_named(unsigned, const std::string &);
                void uniforms();
                void uniform_slot(const std::string &);
@@ -72,6 +75,7 @@ public:
        ~RenderPass();
 
 private:
+       void finalize_material();
        void ensure_private_shader_data();
 
 public: