]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderpass.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / renderpass.h
index 7a2f65688104015afe9650b4b5b6e5814a84a95f..9e704376a446b56abb056edf0d1aab803a269f7d 100644 (file)
@@ -11,6 +11,7 @@ class Material;
 class Program;
 class ProgramData;
 class Renderer;
+class Sampler;
 class Texture;
 class Texturing;
 
@@ -46,10 +47,15 @@ private:
        {
        private:
                unsigned index;
+               const Texture *tex;
+               const Sampler *samp;
 
        public:
                TextureLoader(Texturing &, unsigned, Collection *);
        private:
+               virtual void finish();
+
+               void sampler(const std::string &);
                void texture(const std::string &);
        };