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;
pub struct CommandBufferAllocateInfo {
s_type: vk::StructureType,
p_next: *const c_void,
command_pool: vk::CommandPool,
level: vk::CommandBufferLevel,
command_buffer_count: u32,
}
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
Host Synchronization
- Host access to
commandPoolmust be externally synchronized
Parent
VK_VERSION_1_0Type
Structures