Function TRAP::Graphics::TextureManager::Load(const std::filesystem::path&, TextureCubeFormat, TextureCreationFlags)#

Function Documentation#

Ref<Texture> TRAP::Graphics::TextureManager::Load(const std::filesystem::path &filepath, TextureCubeFormat format, TextureCreationFlags flags = TextureCreationFlags::None)#

Load a cube texture from file. File name will be used as the texture name.

Parameters:
  • filepath – File path of texture to load.

  • format – Format of the cube texture.

  • flags – Additional flags. Default: None.

Returns:

Loaded texture.