I made class that have sf::Sprite or vector of sf::Sprite. Is there any way to make them work without existing texture?
I mean that I load sprites object(made by me, to handle sf::sprites) by loading image file into texture that created using 'new'. Then I load texture into sprite and finally make object with copy of that sprite. But it cost big amount of perfomance as I read in tutorial to change textures. So, is there any way to either construct one texture made of other textures, so I can load .png file into texture, then append my texture and somehow draw my newly created texture on that texture and delete newly created texture, so it's like appending texture with other texture, or make sprite work without reference to texture?