Initializer for mapped memory range
This commit is contained in:
parent
b08e9f4074
commit
fa3e11153a
2 changed files with 9 additions and 0 deletions
|
|
@ -416,6 +416,13 @@ VkMemoryAllocateInfo vkTools::initializers::memoryAllocateInfo()
|
|||
return memAllocInfo;
|
||||
}
|
||||
|
||||
VkMappedMemoryRange vkTools::initializers::mappedMemoryRange()
|
||||
{
|
||||
VkMappedMemoryRange mappedMemoryRange = {};
|
||||
mappedMemoryRange.sType = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE;
|
||||
return mappedMemoryRange;
|
||||
}
|
||||
|
||||
VkCommandBufferAllocateInfo vkTools::initializers::commandBufferAllocateInfo(VkCommandPool commandPool, VkCommandBufferLevel level, uint32_t bufferCount)
|
||||
{
|
||||
VkCommandBufferAllocateInfo commandBufferAllocateInfo = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue