Navigation
Unreal Engine C++ API Reference > Runtime > RHI
References
Module | RHI |
Header | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
Include | #include "GPUDefragAllocator.h" |
Syntax
class FAsyncReallocationRequest
Remarks
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.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FAsyncReallocationRequest
(
void* InCurrentBaseAddress, |
Creates a new reallocation request. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void * | Returns the new base address, or nullptr if the request hasn't started yet. | |
![]() ![]() |
int32 | GetNewSize () |
Returns the requested new memory size (in uint8s). |
![]() ![]() |
void * | Returns the original base address. | |
![]() ![]() |
bool | HasCompleted () |
Returns true if the request has been completed. |
![]() ![]() |
bool | HasStarted () |
Returns true if the allocator has started processing the request (true for completed requests as well). |
![]() ![]() |
bool | IsAllocation () |
Returns true if the request is for a new allocation. |
![]() ![]() |
bool | IsCanceled () |
Returns true if the request has been canceled. |
![]() ![]() |
bool | Returns true if the request is for a reallocation. |