]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effects/shadowmap.h
Add debug name capability to more classes
[libs/gl.git] / source / effects / shadowmap.h
index 5d8bf5095287423827e71f32b988a22811d1777e..dc1ce548cb325bd233f39a600afacbcd4e0ccddd 100644 (file)
@@ -34,12 +34,12 @@ private:
        Vector3 target;
        float radius;
        float depth_bias;
-       mutable ProgramData shdata;
+       ProgramData shdata;
        bool rendered;
 
 public:
-       ShadowMap(Resources &, unsigned, Renderable &, const Light &, Renderable &);
-       DEPRECATED ShadowMap(Resources &, unsigned, Renderable &, const Light &);
+       ShadowMap(unsigned, Renderable &, const Light &, Renderable &);
+       DEPRECATED ShadowMap(unsigned, Renderable &, const Light &);
 private:
        void init(unsigned);
 
@@ -67,6 +67,8 @@ public:
        virtual void finish_frame();
 
        virtual void render(Renderer &, Tag = Tag()) const;
+
+       virtual void set_debug_name(const std::string &);
 };
 
 } // namespace GL