SFML community forums
Help => Graphics => Topic started by: heishe on February 16, 2011, 11:05:02 pm
-
When I copy a sprite
( spritea = spriteb or my_sprite = new sf::Sprite(someothersprite))
does it create a hardcopy of the image or does it just copy pointers to the copied image.
-
A sprite is not an image, images are sf::Image. So when you copy a sprite, all you copy internally is a few floats.