MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / VmaAllocateArray

Function VmaAllocateArray

include/vk_mem_alloc.h:4197–4200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4195
4196template<typename T>
4197static T* VmaAllocateArray(const VkAllocationCallbacks* pAllocationCallbacks, size_t count)
4198{
4199 return (T*)VmaMalloc(pAllocationCallbacks, sizeof(T) * count, VMA_ALIGN_OF(T));
4200}
4201
4202#define vma_new(allocator, type) new(VmaAllocate<type>(allocator))(type)
4203

Callers

nothing calls this directly

Calls 1

VmaMallocFunction · 0.85

Tested by

no test coverage detected