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

Method SetName

include/vk_mem_alloc.h:11005–11013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11003}
11004
11005void VmaAllocation_T::SetName(VmaAllocator hAllocator, const char* pName)
11006{
11007 VMA_ASSERT(pName == VMA_NULL || pName != m_pName);
11008
11009 FreeName(hAllocator);
11010
11011 if (pName != VMA_NULL)
11012 m_pName = VmaCreateStringCopy(hAllocator->GetAllocationCallbacks(), pName);
11013}
11014
11015uint8_t VmaAllocation_T::SwapBlockAllocation(VmaAllocator hAllocator, VmaAllocation allocation)
11016{

Callers 3

vmaSetAllocationNameFunction · 0.80

Calls 4

VmaCreateStringCopyFunction · 0.85
VmaFreeStringFunction · 0.85
GetAllocatorMethod · 0.80

Tested by

no test coverage detected