Function Prototype
vkUnmapMemory2
Unmap a previously mapped memory object
Alternatively, to unmap a memory object once host access to it is no longer needed by the application, call:
VkResult vkUnmapMemory2KHR(
VkDevice device,
const VkMemoryUnmapInfo* pMemoryUnmapInfo);
deviceis the logical device that owns the memory.pMemoryUnmapInfois a pointer to a VkMemoryUnmapInfo structure describing parameters of the unmap.
This function behaves identically to vkUnmapMemory except that it gets its parameters via an extensible structure pointer rather than directly as function arguments.
Valid Usage (Implicit)
VUID-vkUnmapMemory2-device-parameter
device must be a valid VkDevice handle
VUID-vkUnmapMemory2-pMemoryUnmapInfo-parameter
pMemoryUnmapInfo must be a valid pointer to a valid VkMemoryUnmapInfo structure