X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmesh.h;h=acf2910cb7ea208f3ce2fbab9c74bc182b781928;hb=fcde8390ad577fe434dcd4b29e0f410d29f867c9;hp=57c87b7e42986ac31f94092612c373159b633a7a;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266;p=libs%2Fgl.git diff --git a/source/core/mesh.h b/source/core/mesh.h index 57c87b7e..acf2910c 100644 --- a/source/core/mesh.h +++ b/source/core/mesh.h @@ -32,7 +32,7 @@ public: public: Loader(Mesh &, bool = true); private: - void vertices(const std::vector &); + void vertices(const std::vector &); void batch(PrimitiveType); void winding(FaceWinding); }; @@ -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