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

Method GetBlockCount

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

To be used only while the m_Mutex is locked. Used during defragmentation.

Source from the content-addressed store, hash-verified

9823 const void* GetAllocationNextPtr() const { return m_pMemoryAllocateNext; }
9824 // To be used only while the m_Mutex is locked. Used during defragmentation.
9825 size_t GetBlockCount() const { return m_Blocks.size(); }
9826 // To be used only while the m_Mutex is locked. Used during defragmentation.
9827 VmaDeviceMemoryBlock* GetBlock(size_t index) const { return m_Blocks[index]; }
9828 VMA_RW_MUTEX &GetMutex() { return m_Mutex; }

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected