Vulkan Memory Allocator
|
VmaAllocator
objects can be used independently.VmaAllocator
as first parameter are safe to call from multiple threads simultaneously because they are synchronized internally when needed.VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT
flag, calls to functions that take such VmaAllocator
object must be synchronized externally.VmaAllocation
object must be externally synchronized. For example, you must not call vmaGetAllocationInfo() and vmaMapMemory() from different threads at the same time if you pass the same VmaAllocation
object to these functions.