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

Method GetAllocHandle

include/vk_mem_alloc.h:11357–11369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11355}
11356
11357VmaAllocHandle VmaAllocation_T::GetAllocHandle() const
11358{
11359 switch (m_Type)
11360 {
11361 case ALLOCATION_TYPE_BLOCK:
11362 return m_BlockAllocation.m_AllocHandle;
11363 case ALLOCATION_TYPE_DEDICATED:
11364 return VK_NULL_HANDLE;
11365 default:
11366 VMA_ASSERT(0);
11367 return VK_NULL_HANDLE;
11368 }
11369}
11370
11371VkDeviceSize VmaAllocation_T::GetOffset() const
11372{

Callers 2

ValidateMethod · 0.80
FreeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected