Function TRAP::Graphics::TextureManager::GetByPath#

Function Documentation#

std::vector<TRAP::Ref<TRAP::Graphics::Texture>> TRAP::Graphics::TextureManager::GetByPath(const std::filesystem::path &path)#

Retrieve all textures that use the given path from the TextureManager.

Parameters:

path – Path to retrieve.

Returns:

Textures, empty vector if none were found.