Hey,
I'm writing a code that would use several .png files to build an sf::Image from scratch, and at some point I have to add texts on that image. It is my understanding that there's no straightforward way for this, so I was going to actually draw the sf::Sprite then the sf::Text on my sf::RenderWindow, then use the sf::RenderWindow::capture function to get the final image with text on it.
Is this the best way though? I was under the impression that the capture function takes time, and I was hoping to find something more convenient.
Thanks!