Structures
VkCommandBufferAllocateInfo
Structure specifying the allocation parameters for command buffer object
The VkCommandBufferAllocateInfo structure is defined as:
typedef struct VkCommandBufferAllocateInfo {
VkStructureType sType;
const void* pNext;
VkCommandPool commandPool;
VkCommandBufferLevel level;
uint32_t commandBufferCount;
} VkCommandBufferAllocateInfo;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.commandPoolis the command pool from which the command buffers are allocated.levelis a VkCommandBufferLevel value specifying the command buffer level.commandBufferCountis the number of command buffers to allocate from the pool.
Valid Usage (Implicit)
VUID-VkCommandBufferAllocateInfo-sType-sType
sType must be VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO
VUID-VkCommandBufferAllocateInfo-pNext-pNext
pNext must be NULL
VUID-VkCommandBufferAllocateInfo-commandPool-parameter
commandPool must be a valid VkCommandPool handle
VUID-VkCommandBufferAllocateInfo-level-parameter
level must be a valid VkCommandBufferLevel value