Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
Include |
#include "GPUDefragAllocator.h" |
class FAsyncReallocationRequest
Asynchronous reallocation request. Requests are created and deleted by the user, but it must stick around until the allocator is done with it. Requests may be fulfilled immediately, check HasCompleted() after making the request.
Name | Description | |
---|---|---|
|
FAsyncReallocationRequest ( |
Creates a new reallocation request. |
Name | Description | |
---|---|---|
|
~FAsyncReallocationRequest() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
void * |
GetNewBaseAddress() |
Returns the new base address, or nullptr if the request hasn't started yet. |
|
GetNewSize() |
Returns the requested new memory size (in uint8s). |
|
|
void * |
GetOldBaseAddress() |
Returns the original base address. |
|
HasCompleted() |
Returns true if the request has been completed. |
|
|
HasStarted() |
Returns true if the allocator has started processing the request (true for completed requests as well). |
|
|
IsAllocation() |
Returns true if the request is for a new allocation. |
|
|
IsCanceled() |
Returns true if the request has been canceled. |
|
|
IsReallocation() |
Returns true if the request is for a reallocation. |