| 11326 | } |
| 11327 | |
| 11328 | void VmaAllocation_T::SetName(VmaAllocator hAllocator, const char* pName) |
| 11329 | { |
| 11330 | VMA_ASSERT(pName == VMA_NULL || pName != m_pName); |
| 11331 | |
| 11332 | FreeName(hAllocator); |
| 11333 | |
| 11334 | if (pName != VMA_NULL) |
| 11335 | m_pName = VmaCreateStringCopy(hAllocator->GetAllocationCallbacks(), pName); |
| 11336 | } |
| 11337 | |
| 11338 | uint8_t VmaAllocation_T::SwapBlockAllocation(VmaAllocator hAllocator, VmaAllocation allocation) |
| 11339 | { |
no test coverage detected