Function vk_mem_alloc::ffi::vmaFreeMemory
source · [−]pub unsafe extern "C" fn vmaFreeMemory(
allocator: VmaAllocator,
allocation: VmaAllocation
)
Expand description
\brief Frees memory previously allocated using vmaAllocateMemory(), vmaAllocateMemoryForBuffer(), or vmaAllocateMemoryForImage().
Passing VK_NULL_HANDLE
as allocation
is valid. Such function call is just skipped.