59 static std::shared_ptr<TextureData>
getTexture(
Texture& texture,
const sf::String& filename,
const sf::IntRect& partRect = sf::IntRect(0, 0, 0, 0));
Definition: TextureManager.hpp:45
static void removeTexture(std::shared_ptr< TextureData > textureDataToRemove)
Removes the texture.
static std::shared_ptr< TextureData > getTexture(Texture &texture, const sf::String &filename, const sf::IntRect &partRect=sf::IntRect(0, 0, 0, 0))
Loads a texture.
static void copyTexture(std::shared_ptr< TextureData > textureDataToCopy)
Shares the image with another texture.
Definition: Texture.hpp:42