KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
Karma::FVulkanDescriptorPool Class Reference

Public Member Functions

 FVulkanDescriptorPool (FVulkanDevice *InDevice, const FVulkanDescriptorSetsLayout &InLayout)
VkDescriptorPool GetHandle () const
 Retrieves the Vulkan descriptor pool handle.
void AllocateDescriptorSets (const FVulkanDescriptorSetsLayout &InLayout, FVulkanDescriptorSets &InDSets)
 Allocates descriptor sets from the pool based on the provided allocation info.

Member Function Documentation

◆ AllocateDescriptorSets()

void Karma::FVulkanDescriptorPool::AllocateDescriptorSets ( const FVulkanDescriptorSetsLayout & InLayout,
FVulkanDescriptorSets & InDSets )

Allocates descriptor sets from the pool based on the provided allocation info.

Parameters
InDescriptorSetAllocateInfoInformation about the descriptor set allocation
OutSetsPointer to an array where allocated descriptor sets will be stored
Returns
VkDescriptorSet The first allocated descriptor set handle
Since
Karma 1.0.0

◆ GetHandle()

VkDescriptorPool Karma::FVulkanDescriptorPool::GetHandle ( ) const
inline

Retrieves the Vulkan descriptor pool handle.

Returns
VkDescriptorPool The Vulkan descriptor pool handle.
Since
Karma 1.0.0

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