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

Method BlockAllocUnmap

include/vk_mem_alloc.h:11131–11143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11129}
11130
11131void VmaAllocation_T::BlockAllocUnmap()
11132{
11133 VMA_ASSERT(GetType() == ALLOCATION_TYPE_BLOCK);
11134
11135 if (m_MapCount > 0)
11136 {
11137 --m_MapCount;
11138 }
11139 else
11140 {
11141 VMA_ASSERT(0 && "Unmapping allocation not previously mapped.");
11142 }
11143}
11144
11145VkResult VmaAllocation_T::DedicatedAllocMap(VmaAllocator hAllocator, void** ppData)
11146{

Callers 1

UnmapMethod · 0.80

Calls 1

GetTypeFunction · 0.85

Tested by

no test coverage detected