Function TRAP::Graphics::SpriteManager::Remove(std::string_view)#

Function Documentation#

Ref<SubTexture2D> TRAP::Graphics::SpriteManager::Remove(std::string_view name)#

Remove a sprite from the SpriteManager via its name.

Parameters:

name – Name of sprite to remove.

Returns:

Removed sprite on success, nullptr otherwise.