]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/mesh.h
Set OpenGL debug labels on various objects loaded from Resources
[libs/gl.git] / source / core / mesh.h
index c325ade6111c9f4a981f41d80b228db65decb057..acf2910cb7ea208f3ce2fbab9c74bc182b781928 100644 (file)
@@ -69,6 +69,7 @@ private:
        mutable unsigned short dirty;
        bool disallow_rendering;
        const WindingTest *winding;
+       std::string debug_name;
 
 public:
        Mesh(ResourceManager * = 0);
@@ -105,6 +106,8 @@ public:
        virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);
        virtual UInt64 get_data_size() const;
        virtual void unload();
+
+       void set_debug_name(const std::string &);
 };
 
 } // namespace GL