]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderer.h
Update gl.xml to latest version
[libs/gl.git] / source / renderer.h
index f736447e12fce15c7bf9555cd9be7333cd01b2ae..ccb23a22a709ff1f864e6179435c9ead36bb5db8 100644 (file)
@@ -65,6 +65,7 @@ private:
        {
                const Texture *texture;
                const Texturing *texturing;
+               unsigned lowest_effect_texunit;
                const Material *material;
                const Lighting *lighting;
                Matrix lighting_matrix;
@@ -90,6 +91,7 @@ private:
 
        MtxStack mtx_stack;
        bool mtx_changed;
+       bool matrices_loaded;
        const Camera *camera;
        std::vector<State> state_stack;
        State *state;
@@ -110,6 +112,7 @@ public:
 
        void set_texture(const Texture *);
        void set_texturing(const Texturing *);
+       unsigned allocate_effect_texunit();
        void set_material(const Material *);
 
        void set_lighting(const Lighting *);