Function TRAP::Graphics::TextureManager::Get2D#

Function Documentation#

Ref<Texture> TRAP::Graphics::TextureManager::Get2D(std::string_view name)#

Retrieve a 2D texture from the TextureManager.

Parameters:

name – Name of texture to retrieve.

Returns:

Texture, Fallback texture if not found.