Function TRAP::Graphics::API::VulkanInits::CommandBufferAllocateInfo#
Function Documentation#
-
VkCommandBufferAllocateInfo TRAP::Graphics::API::VulkanInits::CommandBufferAllocateInfo(VkCommandPool commandPool, bool secondary = false)#
Create a Vulkan command buffer allocate info.
- Parameters:
commandPool – Vulkan command pool to use.
secondary – Optional: Set to true to allocate as a secondary command buffer.
- Returns:
VkCommandBufferAllocateInfo.