Function TRAP::Graphics::TextureManager::Remove(const Ref<Texture>&)#

Function Documentation#

Ref<Texture> TRAP::Graphics::TextureManager::Remove(const Ref<Texture> &texture)#

Remove a texture from the TextureManager.

Parameters:

textureTexture to remove.

Returns:

Removed texture on success, nullptr otherwise.