SpiecsEngine
 
Loading...
Searching...
No Matches

◆ UnLoadForce() [2/2]

void Spices::DescriptorSetManager::UnLoadForce ( const String2 & name)
static

Forcing UnLoad a VulkanDescriptorSet.

Parameters
nameThe owner's name of the descriptor set.

Definition at line 71 of file DescriptorSetManager.cpp.

72 {
74
75 std::unique_lock<std::mutex> lock(m_Mutex);
76
77 if (m_DescriptorSets.find(name) != m_DescriptorSets.end())
78 {
79 m_DescriptorSets.erase(name);
80 }
81 }
#define SPICES_PROFILE_ZONE
static std::mutex m_Mutex
Mutex of this DescriptorSetManager.
static DescriptorManagerContainer m_DescriptorSets
The container of all descriptor sets, identified with owner's name and set number.

Referenced by UnLoadForce().