From b884b918c2dfc8c20ca51437f21915acad104d9a Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 17 Jan 2024 22:47:00 +0200 Subject: [PATCH] Add a getter for the texture tag of Text --- source/render/text.h | 1 + 1 file changed, 1 insertion(+) 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 &); -- 2.45.2