67 static void copyTexture(
const std::shared_ptr<TextureData>& textureDataToCopy);
76 static void removeTexture(
const std::shared_ptr<TextureData>& textureDataToRemove);
86 TGUI_NODISCARD
static std::size_t getCachedImagesCount();
91 static std::map<String, std::list<TextureDataHolder>> m_imageMap;
Definition TextureManager.hpp:47
static void removeTexture(const std::shared_ptr< TextureData > &textureDataToRemove)
Removes the texture.
static void copyTexture(const std::shared_ptr< TextureData > &textureDataToCopy)
Shares the image with another texture.
static std::shared_ptr< TextureData > getTexture(Texture &texture, const String &filename, bool smooth)
Loads a texture.
Texture wrapper that internally reuses resources when multiple Texture objects are loaded from the sa...
Definition Texture.hpp:57