Polyphase Game Engine
Loading...
Searching...
No Matches
DescriptorPool Class Reference

#include <DescriptorPool.h>

Public Member Functions

void Create ()
 
void Destroy ()
 
void Reset ()
 
VkDescriptorSet Allocate (VkDescriptorSetLayout layout, const char *name=nullptr)
 

Protected Member Functions

VkDescriptorPool CreatePool ()
 
VkDescriptorPool GrabPool ()
 

Protected Attributes

VkDescriptorPool mCurrentPool = VK_NULL_HANDLE
 
std::vector< VkDescriptorPool > mUsedPools
 
std::vector< VkDescriptorPool > mFreePools
 

Member Function Documentation

◆ Allocate()

VkDescriptorSet DescriptorPool::Allocate ( VkDescriptorSetLayout  layout,
const char *  name = nullptr 
)

◆ Create()

void DescriptorPool::Create ( )

◆ CreatePool()

VkDescriptorPool DescriptorPool::CreatePool ( )
protected

◆ Destroy()

void DescriptorPool::Destroy ( )

◆ GrabPool()

VkDescriptorPool DescriptorPool::GrabPool ( )
protected

◆ Reset()

void DescriptorPool::Reset ( )

Member Data Documentation

◆ mCurrentPool

VkDescriptorPool DescriptorPool::mCurrentPool = VK_NULL_HANDLE
protected

◆ mFreePools

std::vector<VkDescriptorPool> DescriptorPool::mFreePools
protected

◆ mUsedPools

std::vector<VkDescriptorPool> DescriptorPool::mUsedPools
protected

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