SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::VulkanDescriptorPool::Builder Class Reference

VulkanDescriptorPool::Builder Class. This class is defines how to build a VulkanDescriptorPool. More...

#include <VulkanDescriptor.h>

Public Member Functions

 Builder ()=default
 Constructor Function.
 
virtual ~Builder ()=default
 Destructor Function.
 
BuilderAddPoolSize (VkDescriptorType descriptorType, uint32_t count)
 Add a size of specific descriptor type.
 
BuilderSetPoolFlags (VkDescriptorPoolCreateFlags flags)
 Add a type identify to VkDescriptorPool.
 
std::shared_ptr< VulkanDescriptorPoolBuild (VulkanState &vulkanState) const
 Build a shared pointer of VulkanDescriptorPool.
 

Private Attributes

std::vector< VkDescriptorPoolSize > m_PoolSizes {}
 The vector of specific descriptor type's max count.
 
uint32_t m_MaxSets = 1000
 The max descriptor set nums that this pool can assign.
 
VkDescriptorPoolCreateFlags m_PoolFlags = 0
 The specific VkDescriptorPool type identify.
 

Detailed Description

VulkanDescriptorPool::Builder Class. This class is defines how to build a VulkanDescriptorPool.

Definition at line 29 of file VulkanDescriptor.h.


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