MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / vmaMapMemory

Function vmaMapMemory

include/vk_mem_alloc.h:16561–16571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16559}
16560
16561VMA_CALL_PRE VkResult VMA_CALL_POST vmaMapMemory(
16562 VmaAllocator allocator,
16563 VmaAllocation allocation,
16564 void** ppData)
16565{
16566 VMA_ASSERT(allocator && allocation && ppData);
16567
16568 VMA_DEBUG_GLOBAL_MUTEX_LOCK
16569
16570 return allocator->Map(allocation, ppData);
16571}
16572
16573VMA_CALL_PRE void VMA_CALL_POST vmaUnmapMemory(
16574 VmaAllocator allocator,

Callers 9

CreateBufferFunction · 0.85
CreateAllocationFunction · 0.85
ValidateAllocationDataFunction · 0.85
TestMappingFunction · 0.85
TestMappingMultithreadedFunction · 0.85
TestMappingHysteresisFunction · 0.85

Calls

no outgoing calls

Tested by 9

CreateBufferFunction · 0.68
CreateAllocationFunction · 0.68
ValidateAllocationDataFunction · 0.68
TestMappingFunction · 0.68
TestMappingMultithreadedFunction · 0.68
TestMappingHysteresisFunction · 0.68