X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Fmaterial.h;h=ae38f2444afdadbd3fc260e142bf1c83113660bf;hp=8f387a43bfacfbdc4b2b5629d1a5a718f653a5cd;hb=fcde8390ad577fe434dcd4b29e0f410d29f867c9;hpb=7f0e08f04536bf42b8f64e7dff5cc3e18b916c7b diff --git a/source/materials/material.h b/source/materials/material.h index 8f387a43..ae38f244 100644 --- a/source/materials/material.h +++ b/source/materials/material.h @@ -114,6 +114,8 @@ public: virtual const Texture *get_texture(Tag) const = 0; const Sampler *get_sampler() const { return sampler; } + void set_debug_name(const std::string &); + template static void register_type(const std::string &); private: