|
D3D12 Memory Allocator
|
Single move of an allocation to be done for defragmentation. More...
#include <D3D12MemAlloc.h>
Public Attributes | |
| DEFRAGMENTATION_MOVE_OPERATION | Operation |
| Operation to be performed on the allocation by DefragmentationContext::EndPass(). Default value is DEFRAGMENTATION_MOVE_OPERATION_COPY. You can modify it. | |
| Allocation * | pSrcAllocation |
| Allocation that should be moved. | |
| Allocation * | pDstTmpAllocation |
| Temporary allocation pointing to destination memory that will replace pSrcAllocation. | |
Single move of an allocation to be done for defragmentation.
| DEFRAGMENTATION_MOVE_OPERATION D3D12MA::DEFRAGMENTATION_MOVE::Operation |
Operation to be performed on the allocation by DefragmentationContext::EndPass(). Default value is DEFRAGMENTATION_MOVE_OPERATION_COPY. You can modify it.
| Allocation* D3D12MA::DEFRAGMENTATION_MOVE::pDstTmpAllocation |
Temporary allocation pointing to destination memory that will replace pSrcAllocation.
Use it to retrieve new ID3D12Heap and offset to create new ID3D12Resource and then store it here via Allocation::SetResource().
| Allocation* D3D12MA::DEFRAGMENTATION_MOVE::pSrcAllocation |
Allocation that should be moved.