Added initializer for VkCommandPoolCreateInfo
This commit is contained in:
parent
2c5e6f1d0e
commit
86b13eb84c
2 changed files with 8 additions and 0 deletions
|
|
@ -364,6 +364,13 @@ VkCommandBufferAllocateInfo vkTools::initializers::commandBufferAllocateInfo(VkC
|
||||||
return commandBufferAllocateInfo;
|
return commandBufferAllocateInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VkCommandPoolCreateInfo vkTools::initializers::commandPoolCreateInfo()
|
||||||
|
{
|
||||||
|
VkCommandPoolCreateInfo cmdPoolCreateInfo = {};
|
||||||
|
cmdPoolCreateInfo.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO;
|
||||||
|
return cmdPoolCreateInfo;
|
||||||
|
}
|
||||||
|
|
||||||
VkCommandBufferBeginInfo vkTools::initializers::commandBufferBeginInfo()
|
VkCommandBufferBeginInfo vkTools::initializers::commandBufferBeginInfo()
|
||||||
{
|
{
|
||||||
VkCommandBufferBeginInfo cmdBufferBeginInfo = {};
|
VkCommandBufferBeginInfo cmdBufferBeginInfo = {};
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,7 @@ namespace vkTools
|
||||||
VkCommandBufferLevel level,
|
VkCommandBufferLevel level,
|
||||||
uint32_t bufferCount);
|
uint32_t bufferCount);
|
||||||
|
|
||||||
|
VkCommandPoolCreateInfo commandPoolCreateInfo();
|
||||||
VkCommandBufferBeginInfo commandBufferBeginInfo();
|
VkCommandBufferBeginInfo commandBufferBeginInfo();
|
||||||
|
|
||||||
VkRenderPassBeginInfo renderPassBeginInfo();
|
VkRenderPassBeginInfo renderPassBeginInfo();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue