Vyroda
Game engine made by hand, with modern C++ and Vulkan.
Loading...
Searching...
No Matches
Vyroda::DestroyManager Class Referenceexport

Public Member Functions

 DestroyManager ()=default
void addMemoryPool (DeviceMemoryPool *const deviceMemoryPool)
void cleanDeviceMemory ()
template<std::derived_from< Entity > T>
void cleanEntity (T *entity)
template<std::derived_from< Entity > T>
void cleanEntities (std::vector< std::unique_ptr< T > > &entities)
template<std::derived_from< Entity > T>
void cleanEntities (std::vector< T * > &entities)
void cleanShaders (std::unordered_map< std::string, std::unordered_map< std::string, VkShaderModule > > shaders)
void cleanTexture (Texture &textures)
void cleanTextures (std::unordered_map< std::string, Texture > &textures)
void setRenderer (Renderer *renderer)

Constructor & Destructor Documentation

◆ DestroyManager()

Vyroda::DestroyManager::DestroyManager ( )
default

Member Function Documentation

◆ addMemoryPool()

void Vyroda::DestroyManager::addMemoryPool ( DeviceMemoryPool *const deviceMemoryPool)
inline

◆ cleanDeviceMemory()

void Vyroda::DestroyManager::cleanDeviceMemory ( )

◆ cleanEntities() [1/2]

template<std::derived_from< Entity > T>
void Vyroda::DestroyManager::cleanEntities ( std::vector< std::unique_ptr< T > > & entities)
Here is the call graph for this function:

◆ cleanEntities() [2/2]

template<std::derived_from< Entity > T>
void Vyroda::DestroyManager::cleanEntities ( std::vector< T * > & entities)
Here is the call graph for this function:

◆ cleanEntity()

template<std::derived_from< Entity > T>
void Vyroda::DestroyManager::cleanEntity ( T * entity)
Here is the caller graph for this function:

◆ cleanShaders()

void Vyroda::DestroyManager::cleanShaders ( std::unordered_map< std::string, std::unordered_map< std::string, VkShaderModule > > shaders)

◆ cleanTexture()

void Vyroda::DestroyManager::cleanTexture ( Texture & textures)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cleanTextures()

void Vyroda::DestroyManager::cleanTextures ( std::unordered_map< std::string, Texture > & textures)
Here is the call graph for this function:

◆ setRenderer()

void Vyroda::DestroyManager::setRenderer ( Renderer * renderer)

The documentation for this class was generated from the following files: