I have the same problem, I have textures for font and icons that I want to use in multiple windows. My solution was the same as yours, check if I have a texture, otherwise create one from cache, if it isnt there I need to load/rebuild it
I have the same problem, I have textures for font and icons that I want to use in multiple windows. My solution was the same as yours, check if I have a texture, otherwise create one from cache, if it isnt there I need to load/rebuild it