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

Method GetAllocationOffset

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

Source from the content-addressed store, hash-verified

8868 VkDeviceSize GetSumFreeSize() const override { return m_BlocksFreeSize + m_NullBlock->size; }
8869 bool IsEmpty() const override { return m_NullBlock->offset == 0; }
8870 VkDeviceSize GetAllocationOffset(VmaAllocHandle allocHandle) const override { return ((Block*)allocHandle)->offset; }
8871
8872 void Init(VkDeviceSize size) override;
8873 bool Validate() const override;

Callers 5

AllocateMethod · 0.45
GetOffsetMethod · 0.45
ReallocWithinBlockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected