struct VmaAllocationRequest

Defined at line 6352 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h

Parameters of planned allocation inside a VmaDeviceMemoryBlock.

If canMakeOtherLost was false:

- item points to a FREE suballocation.

- itemsToMakeLostCount is 0.

If canMakeOtherLost was true:

- item points to first of sequence of suballocations, which are either FREE,

or point to VmaAllocations that can become lost.

- itemsToMakeLostCount is the number of VmaAllocations that need to be made lost for

the requested allocation to succeed.

Public Members

VkDeviceSize offset
VkDeviceSize sumFreeSize
VkDeviceSize sumItemSize
iterator item
size_t itemsToMakeLostCount
void * customData
VmaAllocationRequestType type

Public Methods

VkDeviceSize CalcCost ()

Defined at line 6362 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h