SFML community forums
Help => Graphics => Topic started by: 93interactive on November 20, 2011, 07:59:06 am
-
Hi,
what is the best way to draw on a sprite with sfml 2?
As far as i can see:
get texture of sprite
get image from texture
draw to image
create texture from image
set texture to sprite
Doesn't sound high-performance to me... Any other ideas?
-
You don't need sf::Image. Use sf::RenderTexture.