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

Method GetBlock

include/vk_mem_alloc.h:9827–9827  ·  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

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; }
9829
9830 VkResult CreateMinBlocks();

Callers 15

BindBufferMemoryMethod · 0.45
BindImageMemoryMethod · 0.45
FreeMethod · 0.45
DefragmentPassBeginMethod · 0.45
DefragmentPassEndMethod · 0.45
AllocInOtherBlockMethod · 0.45
MoveDataToFreeBlocksMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected