Search code examples
javaandroidlibgdxtextures

how to write a text in a Texture Object in libGDX


I´m trying to write some text in different Texture objects in libGDX. Is it possible to merge fonts with Texture objects?


Solution

  • Yes, you can do this. You can use the same approach as used here to write to a TextureRegion with SpriteBatch.