The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Vulkan Memory Allocator
Loading...
Searching...
No Matches
VmaDefragmentationMove Struct Reference

Single move of an allocation to be done for defragmentation. More...

#include <vk_mem_alloc.h>

Public Attributes

VmaDefragmentationMoveOperation operation
 Operation to be performed on the allocation by vmaEndDefragmentationPass(). Default value is VMA_DEFRAGMENTATION_MOVE_OPERATION_COPY. You can modify it.
 
VmaAllocation srcAllocation
 Allocation that should be moved.
 
VmaAllocation dstTmpAllocation
 Temporary allocation pointing to destination memory that will replace srcAllocation.
 

Detailed Description

Single move of an allocation to be done for defragmentation.

Member Data Documentation

◆ dstTmpAllocation

VmaAllocation VmaDefragmentationMove::dstTmpAllocation

Temporary allocation pointing to destination memory that will replace srcAllocation.

Warning
Do not store this allocation in your data structures! It exists only temporarily, for the duration of the defragmentation pass, to be used for binding new buffer/image to the destination memory using e.g. vmaBindBufferMemory(). vmaEndDefragmentationPass() will destroy it and make srcAllocation point to this memory.

◆ operation

VmaDefragmentationMoveOperation VmaDefragmentationMove::operation

Operation to be performed on the allocation by vmaEndDefragmentationPass(). Default value is VMA_DEFRAGMENTATION_MOVE_OPERATION_COPY. You can modify it.

◆ srcAllocation

VmaAllocation VmaDefragmentationMove::srcAllocation

Allocation that should be moved.


The documentation for this struct was generated from the following file:

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.