UgDescriptorPool

Vulkan descriptor pool creation and destruction

create

Create a descriptor pool sized for uniform buffers and combined image samplers

VkDescriptorPool create(UgContext.It& ctx);

Parameters

  • ctx — Vulkan context

Returns — Newly created descriptor pool handle


destroy

Destroy a descriptor pool and free all sets allocated from it

U0 destroy(UgContext.It& ctx, VkDescriptorPool descriptorPool);

Parameters

  • ctx — Vulkan context
  • descriptorPool — Descriptor pool to destroy