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;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.commandPool
is the command pool from which the command buffers are allocated.level
is a VkCommandBufferLevel value specifying the command buffer level.commandBufferCount
is 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