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

Method ~VmaBlockVector

include/vk_mem_alloc.h:11616–11623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11614 m_NextBlockId(0) {}
11615
11616VmaBlockVector::~VmaBlockVector()
11617{
11618 for (size_t i = m_Blocks.size(); i--; )
11619 {
11620 m_Blocks[i]->Destroy(m_hAllocator);
11621 vma_delete(m_hAllocator, m_Blocks[i]);
11622 }
11623}
11624
11625VkResult VmaBlockVector::CreateMinBlocks()
11626{

Callers

nothing calls this directly

Calls 3

vma_deleteFunction · 0.85
sizeMethod · 0.45
DestroyMethod · 0.45

Tested by

no test coverage detected