Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FGPUDefragAllocator
Description
Cancels the specified reallocation request. Note that the allocator doesn't keep track of requests after it's been completed, so the user must provide the current base address. This may not match any of the addresses in the (old) request since the memory may have been relocated since then.
| Name | CancelAsyncReallocation |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
| Include Path | #include "GPUDefragAllocator.h" |
void CancelAsyncReallocation
(
FAsyncReallocationRequest * Request,
const void * CurrentBaseAddress
)
Parameters
| Name | Remarks |
|---|---|
| Request | Request to cancel. Must be a valid request. |
| CurrentBaseAddress | Current baseaddress used by the allocation. |