X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frenderer.h;h=1be1a4549211828d8b3dedfeea7898a4c0a526b3;hb=47abe7c9e1633ca65f910a4db340724117a6f6e5;hp=f736447e12fce15c7bf9555cd9be7333cd01b2ae;hpb=9d6c244eb728336c64ee23d5c55e45c6696aa65c;p=libs%2Fgl.git diff --git a/source/renderer.h b/source/renderer.h index f736447e..1be1a454 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; @@ -110,6 +111,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 *);