Function TRAP::Graphics::TextureManager::Load(const std::string&, const std::filesystem::path&, TextureCubeFormat, TextureCreationFlags)#
Function Documentation#
-
Ref<Texture> TRAP::Graphics::TextureManager::Load(const std::string &name, const std::filesystem::path &filepath, TextureCubeFormat format, TextureCreationFlags flags = TextureCreationFlags::None)#
Load a cube texture from file.
- Parameters:
name – Name for the texture.
filepath – File path of texture to load.
format – Format of the cube texture.
flags – Additional flags. Default: None.
- Returns:
Loaded texture.