To unmap a memory object once host access to it is no longer needed by the application, call:
// Provided by VK_VERSION_1_0 void vkUnmapMemory( VkDevice device, VkDeviceMemory memory);
deviceis the logical device that owns the memory.
memoryis the memory object to be unmapped.
vkUnmapMemory is equivalent to calling vkUnmapMemory2KHR
with an empty
pNext chain and the flags parameter set to zero.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.