From: Mikko Rasa Date: Wed, 17 Jan 2024 20:47:00 +0000 (+0200) Subject: Add a getter for the texture tag of Text X-Git-Url: https://git.tdb.fi/?a=commitdiff_plain;h=b884b918c2dfc8c20ca51437f21915acad104d9a;p=libs%2Fgl.git Add a getter for the texture tag of Text --- diff --git a/source/render/text.h b/source/render/text.h index 433c5f21..8e6addda 100644 --- a/source/render/text.h +++ b/source/render/text.h @@ -58,6 +58,7 @@ public: void set_technique(const Technique *, Tag = Tag()); const Technique *get_technique() const { return object.get_technique(); } + Tag get_texture_tag() const { return texture_tag; } /** Sets the string to be displayed, with an explicit character encoding. */ void set_text(const std::string &, StringCodec::Decoder &);