X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frenderer.h;h=ccb23a22a709ff1f864e6179435c9ead36bb5db8;hb=922fac753e31d97fc88daa166e93e4c5572bd2ba;hp=f736447e12fce15c7bf9555cd9be7333cd01b2ae;hpb=9d6c244eb728336c64ee23d5c55e45c6696aa65c;p=libs%2Fgl.git diff --git a/source/renderer.h b/source/renderer.h index f736447e..ccb23a22 100644 --- a/source/renderer.h +++ b/source/renderer.h @@ -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_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 *);