UgCommandPool

Vulkan command pool creation and destruction

destroy

Destroy a command pool and free all buffers allocated from it

U0 destroy(UgContext.It& ctx, VkCommandPool cmdPool);

Parameters

  • ctx — Vulkan context
  • cmdPool — Command pool to destroy

create

Create a command pool for the graphics queue family

VkCommandPool create(UgContext.It& ctx);

Parameters

  • ctx — Vulkan context

Returns — Newly created command pool handle