]> git.tdb.fi Git - libs/gl.git/commitdiff
Add a getter for the texture tag of Text
authorMikko Rasa <tdb@tdb.fi>
Wed, 17 Jan 2024 20:47:00 +0000 (22:47 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 17 Jan 2024 20:47:00 +0000 (22:47 +0200)
source/render/text.h

index 433c5f211e63984d23a5f9a8c8c18a7765372213..8e6adddab34c03b49ebac4a261d57f1e6cf19b2e 100644 (file)
@@ -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 &);