]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/sequence.h
Add debug name capability to more classes
[libs/gl.git] / source / render / sequence.h
index 8a480add82050cf2575ecc451908b175f3f3ed82..b1d2c7cabc54f81eea9d0a1ac2abcaf6bf4f2b69 100644 (file)
@@ -84,6 +84,7 @@ private:
        unsigned samples;
        RenderTarget *target[2];
        RenderTarget *target_ms;
+       std::string debug_name;
 
 public:
        Sequence(unsigned, unsigned, bool = false);
@@ -134,6 +135,11 @@ public:
 
 private:
        void create_targets(unsigned);
+
+public:
+       void set_debug_name(const std::string &);
+private:
+       void set_target_debug_names();
 };
 
 } // namespace GL