How to clear a DynamicTexture

in the meantime, you can do what I did for my number texts:

  • create a texture with all the letters on it (+mipmaps)
  • create a view that consists of an instance with ‘uv’ instance buffer for each letter in your string
  • update the uv buffers to get the right letters

everytime you change the text you are only updating the buffers, and the whole string is just 1 draw call if you do it right

(al these numbers were done with 2 textures)

2 Likes