Function TRAP::Graphics::SpriteManager::Get#

Function Documentation#

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

Retrieve a sprite from the SpriteManager.

Parameters:

name – Name of sprite to retrieve.

Returns:

Sprite, nullptr if not found.