]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderer.h
Deprecated setting Material or Lighting on Renderer
[libs/gl.git] / source / render / renderer.h
index 197cf95a5c6b09090adc6ccd5e4505c2a1f44617..69474d4034b03b63bb8b8b20553dc2e91e7e0401 100644 (file)
@@ -89,8 +89,6 @@ private:
                Matrix model_matrix;
                unsigned texture_count;
                unsigned lowest_effect_texunit;
-               const Material *material;
-               const Lighting *lighting;
                const Clipping *clipping;
                const Program *shprog;
                unsigned shdata_count;
@@ -106,10 +104,8 @@ private:
        {
                MATRIX = 2,
                SHADER_DATA = 16,
-               MATERIAL_SHDATA = 32,
                STANDARD_SHDATA = 64,
                CAMERA_SHDATA = 128,
-               LIGHTING_SHDATA = 256,
                CLIPPING_SHDATA = 512
        };
 
@@ -155,9 +151,9 @@ public:
        DEPRECATED void set_texturing(const Texturing *);
        DEPRECATED unsigned allocate_effect_texunit();
 #pragma GCC diagnostic pop
-       void set_material(const Material *);
+       DEPRECATED void set_material(const Material *);
 
-       void set_lighting(const Lighting *);
+       DEPRECATED void set_lighting(const Lighting *);
        void set_clipping(const Clipping *);
 
        /** Sets the shader program to use.  An initial set of data can be set as