Structures
VkCommandPoolCreateInfo
Structure specifying parameters of a newly created command pool
The VkCommandPoolCreateInfo
structure is defined as:
typedef struct VkCommandPoolCreateInfo {
VkStructureType sType;
const void* pNext;
VkCommandPoolCreateFlags flags;
uint32_t queueFamilyIndex;
} VkCommandPoolCreateInfo;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.flags
is a bitmask of VkCommandPoolCreateFlagBits indicating usage behavior for the pool and command buffers allocated from it.queueFamilyIndex
designates a queue family as described in section Queue Family Properties. All command buffers allocated from this command pool must be submitted on queues from the same queue family.
Valid Usage (Implicit)
VUID-VkCommandPoolCreateInfo-sType-sType
sType
must be VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO
VUID-VkCommandPoolCreateInfo-pNext-pNext
pNext
must be NULL
VUID-VkCommandPoolCreateInfo-flags-parameter
flags
must be a valid combination of VkCommandPoolCreateFlagBits values