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

Method MarkTaken

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

Source from the content-addressed store, hash-verified

8923
8924 void MarkFree() { prevFree = VMA_NULL; }
8925 void MarkTaken() { prevFree = this; }
8926 bool IsFree() const { return prevFree != this; }
8927 void*& UserData() { VMA_HEAVY_ASSERT(!IsFree()); return userData; }
8928 Block*& PrevFree() { return prevFree; }

Callers 2

AllocMethod · 0.80
RemoveFreeBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected