Function TRAP::Graphics::TextureManager::Get#

Function Documentation#

Ref<Texture> TRAP::Graphics::TextureManager::Get(std::string_view name, TextureType textureType)#

Retrieve a texture from the TextureManager.

Parameters:
  • name – Name of texture to retrieve.

  • textureType – Type of texture.

Returns:

Texture, Fallback texture if not found.