SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Registry() [1/2]

std::shared_ptr< VulkanDescriptorSet > Spices::DescriptorSetManager::Registry ( const std::string & name,
uint32_t set )
static

Registry a VulkanDescriptorSet, create one if find none.

Parameters
nameThe owner's name of the descriptor set. usually used with material descriptor set.
setThe set number of the descriptor set.
Returns
The shared pointer of VulkanDescriptorSet.

Definition at line 36 of file DescriptorSetManager.cpp.

37 {
39
40 return Registry({ name , name }, set);
41 }
#define SPICES_PROFILE_ZONE
static std::shared_ptr< VulkanDescriptorSet > Registry(const String2 &name, uint32_t set)
Registry a VulkanDescriptorSet, create one if find none.