This Class manages all descriptor sets this project. More...
#include <DescriptorSetManager.h>
Public Types | |
| enum | DescriptorSetCombineBits { None = 0 , PreRenderer = 1 << 0 , ThisRenderer = 1 << 1 , Material = 1 << 2 , Max = 3 , ALL = 0xFFFFFFFF } |
| DescriptorSetCombine types. More... | |
| typedef uint32_t | DescriptorSetCombineFlags |
Public Member Functions | |
| DescriptorSetManager ()=default | |
| Constructor Function. | |
| virtual | ~DescriptorSetManager ()=default |
| Destructor Function. | |
Static Public Member Functions | |
| static std::shared_ptr< VulkanDescriptorSet > | Registry (const String2 &name, uint32_t set) |
| Registry a VulkanDescriptorSet, create one if find none. | |
| static std::shared_ptr< VulkanDescriptorSet > | Registry (const std::string &name, uint32_t set) |
| Registry a VulkanDescriptorSet, create one if find none. | |
| static void | UnLoad (const String2 &name) |
| UnLoad a VulkanDescriptorSet. | |
| static void | UnLoad (const std::string &name) |
| UnLoad a VulkanDescriptorSet. | |
| static void | UnLoadForce (const String2 &name) |
| Forcing UnLoad a VulkanDescriptorSet. | |
| static void | UnLoadForce (const std::string &name) |
| Forcing UnLoad a VulkanDescriptorSet. | |
| static void | UnLoadAll () |
| Forcing UnLoad all VulkanDescriptorSet. | |
| static DescriptorSetInfo & | GetByName (const String2 &name) |
| Get a DescriptorSetInfo by owner's name. | |
| static DescriptorSetInfo & | GetByName (const std::string &name) |
| Get a DescriptorSetInfo by owner's name. | |
Static Private Attributes | |
| static DescriptorManagerContainer | m_DescriptorSets |
| The container of all descriptor sets, identified with owner's name and set number. | |
| static std::mutex | m_Mutex |
| Mutex of this DescriptorSetManager. | |
This Class manages all descriptor sets this project.
Definition at line 20 of file DescriptorSetManager.h.