SpiecsEngine
 
Loading...
Searching...
No Matches

◆ GetByName() [2/2]

DescriptorSetInfo & Spices::DescriptorSetManager::GetByName ( const String2 & name)
static

Get a DescriptorSetInfo by owner's name.

Parameters
nameThe owner's name of the descriptor set.
Returns
DescriptorSetInfo.

Definition at line 99 of file DescriptorSetManager.cpp.

100 {
102
103 std::unique_lock<std::mutex> lock(m_Mutex);
104
105 return m_DescriptorSets[name];
106 }
#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.