C Specification
A Vulkan device operates on data in device memory via memory objects that
are represented in the API by a VkDeviceMemory handle:
// Provided by VK_VERSION_1_0
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDeviceMemory)
Description
Device memory cannot be freed https://registry.khronos.org/vulkansc/specs/1.0-extensions/html/vkspec.html#SCID-4.
If VkPhysicalDeviceVulkanSC10Properties::deviceDestroyFreesMemory
is VK_TRUE, the memory is returned to the system when the device is
destroyed.
Otherwise, it may not be returned to the system until the process is
terminated.
See Also
VK_DEFINE_NON_DISPATCHABLE_HANDLE, VK_VERSION_1_0, VkBindBufferMemoryInfo, VkBindImageMemoryInfo, VkDeviceMemoryOpaqueCaptureAddressInfo, VkMappedMemoryRange, VkMemoryGetFdInfoKHR, VkMemoryGetSciBufInfoNV, vkAllocateMemory, vkBindBufferMemory, vkBindImageMemory, vkGetDeviceMemoryCommitment, vkMapMemory, vkUnmapMemory
Document Notes
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.