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

Method GetParentPool

include/vk_mem_alloc.h:11062–11074  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11060}
11061
11062VmaPool VmaAllocation_T::GetParentPool() const
11063{
11064 switch (m_Type)
11065 {
11066 case ALLOCATION_TYPE_BLOCK:
11067 return m_BlockAllocation.m_Block->GetParentPool();
11068 case ALLOCATION_TYPE_DEDICATED:
11069 return m_DedicatedAllocation.m_hParentPool;
11070 default:
11071 VMA_ASSERT(0);
11072 return VK_NULL_HANDLE;
11073 }
11074}
11075
11076VkDeviceMemory VmaAllocation_T::GetMemory() const
11077{

Callers 2

FreeMemoryMethod · 0.45
FreeDedicatedMemoryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected