X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmesh.h;fp=source%2Fcore%2Fmesh.h;h=acf2910cb7ea208f3ce2fbab9c74bc182b781928;hb=fcde8390ad577fe434dcd4b29e0f410d29f867c9;hp=c325ade6111c9f4a981f41d80b228db65decb057;hpb=7f0e08f04536bf42b8f64e7dff5cc3e18b916c7b;p=libs%2Fgl.git diff --git a/source/core/mesh.h b/source/core/mesh.h index c325ade6..acf2910c 100644 --- a/source/core/mesh.h +++ b/source/core/mesh.h @@ -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