|
| | TextureManager (Renderer const &renderer) |
| void | addConfig (json const &config) |
| std::vector< std::array< float, 3 > > | addNormalMapTexture (std::string const &name) |
| void | addSkyBox (std::string const &skybox_name, std::vector< std::string > const &skybox_images, Renderer const &renderer) |
| void | addKTXTexture (std::string const &name, std::string const &path, VkImageAspectFlags const aspect_flags, ktx_transcode_fmt_e const transcoding, Renderer const &renderer, bool const is_public=false) |
| void | clear () |
| Texture & | getSkyboxTexture () |
| Texture | getSkyboxTexture () const & |
| std::unordered_map< std::string, std::string > const & | getPaths () const |
| std::unordered_map< std::string, Texture > const & | getTextures () const |
| Texture & | getTerrainTexture () |
| Texture & | getWaterTexture () |
| std::function< void(std::latch &count_down)> | load (Renderer const &renderer) |
| std::function< void(std::latch &count_down)> | loadSkybox (std::string_view skybox, Renderer const &renderer) |
| void | setTerrainName (std::string const &terrain_name) |
| void | setWaterName (std::string const &water_name) |
| void | addTexture (Texture texture) |
| void | add (std::string const &name, std::string const &file_path, VkImageAspectFlags const aspect_flags, TEXTURE_TYPE texture_type, Renderer const &renderer) |
| void | addMaterial (material_t material) |
◆ TextureManager()
| Vyroda::TextureManager::TextureManager |
( |
Renderer const & | renderer | ) |
|
◆ add()
| void Vyroda::TextureManager::add |
( |
std::string const & | name, |
|
|
std::string const & | file_path, |
|
|
VkImageAspectFlags const | aspect_flags, |
|
|
TEXTURE_TYPE | texture_type, |
|
|
Renderer const & | renderer ) |
◆ addConfig()
| void Vyroda::TextureManager::addConfig |
( |
json const & | config | ) |
|
|
inline |
◆ addKTXTexture()
| void Vyroda::TextureManager::addKTXTexture |
( |
std::string const & | name, |
|
|
std::string const & | path, |
|
|
VkImageAspectFlags const | aspect_flags, |
|
|
ktx_transcode_fmt_e const | transcoding, |
|
|
Renderer const & | renderer, |
|
|
bool const | is_public = false ) |
◆ addMaterial()
| void Vyroda::TextureManager::addMaterial |
( |
material_t | material | ) |
|
|
inline |
◆ addNormalMapTexture()
| std::vector< std::array< float, 3 > > Vyroda::TextureManager::addNormalMapTexture |
( |
std::string const & | name | ) |
|
◆ addSkyBox()
| void Vyroda::TextureManager::addSkyBox |
( |
std::string const & | skybox_name, |
|
|
std::vector< std::string > const & | skybox_images, |
|
|
Renderer const & | renderer ) |
◆ addTexture()
| void Vyroda::TextureManager::addTexture |
( |
Texture | texture | ) |
|
|
inline |
◆ clear()
| void Vyroda::TextureManager::clear |
( |
| ) |
|
◆ getPaths()
| std::unordered_map< std::string, std::string > const & Vyroda::TextureManager::getPaths |
( |
| ) |
const |
|
inline |
◆ getSkyboxTexture() [1/2]
| Texture & Vyroda::TextureManager::getSkyboxTexture |
( |
| ) |
|
|
inline |
◆ getSkyboxTexture() [2/2]
| Texture Vyroda::TextureManager::getSkyboxTexture |
( |
| ) |
const & |
|
inline |
◆ getTerrainTexture()
| Texture & Vyroda::TextureManager::getTerrainTexture |
( |
| ) |
|
|
inline |
◆ getTextures()
| std::unordered_map< std::string, Texture > const & Vyroda::TextureManager::getTextures |
( |
| ) |
const |
|
inline |
◆ getWaterTexture()
| Texture & Vyroda::TextureManager::getWaterTexture |
( |
| ) |
|
|
inline |
◆ load()
| std::function< void(std::latch &count_down)> Vyroda::TextureManager::load |
( |
Renderer const & | renderer | ) |
|
◆ loadSkybox()
| std::function< void(std::latch &count_down)> Vyroda::TextureManager::loadSkybox |
( |
std::string_view | skybox, |
|
|
Renderer const & | renderer ) |
◆ setTerrainName()
| void Vyroda::TextureManager::setTerrainName |
( |
std::string const & | terrain_name | ) |
|
|
inline |
◆ setWaterName()
| void Vyroda::TextureManager::setWaterName |
( |
std::string const & | water_name | ) |
|
|
inline |
The documentation for this class was generated from the following files: