createCommandPool :: (Extendss CommandPoolCreateInfo a, PokeChain a, MonadIO io)=> Devicedeviceis the logical device that creates the command pool.-> CommandPoolCreateInfo apCreateInfois a pointer to a CommandPoolCreateInfo structure specifying the state of the command pool object.->"allocator"
::: Maybe AllocationCallbackspAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.-> io CommandPool
vkCreateCommandPool - Create a new command pool object
Valid Usage
pCreateInfo->queueFamilyIndexmust be the index of a queue family available in the logical devicedevice
Valid Usage (Implicit)
devicemust be a valid Device handle
pCreateInfomust be a valid pointer to a valid CommandPoolCreateInfo structureIf
pAllocatoris notNULL,pAllocatormust be a valid pointer to a valid AllocationCallbacks structurepCommandPoolmust be a valid pointer to a CommandPool handleThe device must have been created with at least
1queue
Return Codes
See Also
VK_VERSION_1_0, AllocationCallbacks, CommandPool, CommandPoolCreateInfo, Device