![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GPUDefragAllocator.h>
Public Member Functions | |
| FAsyncReallocationRequest (void *InCurrentBaseAddress, int32 InNewSize, FThreadSafeCounter *InRequestStatus) | |
| ~FAsyncReallocationRequest () | |
| bool | IsAllocation () const |
| bool | IsReallocation () const |
| bool | IsCanceled () const |
| bool | HasCompleted () const |
| bool | HasStarted () const |
| void * | GetOldBaseAddress () const |
| void * | GetNewBaseAddress () const |
| int32 | GetNewSize () const |
Friends | |
| class | FGPUDefragAllocator |
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.
|
inline |
Creates a new reallocation request.
| InCurrentBaseAddress | Current base address |
| InNewSize | Requested new size, in uint8s |
| InRequestStatus | Will be decremented by one when the request has been completed. Can be nullptr. |
|
inline |
Destructor.
|
inline |
Returns the new base address, or nullptr if the request hasn't started yet.
|
inline |
Returns the requested new memory size (in uint8s).
|
inline |
Returns the original base address.
|
inline |
Returns true if the request has been completed.
|
inline |
Returns true if the allocator has started processing the request (true for completed requests as well).
|
inline |
Returns true if the request is for a new allocation.
|
inline |
Returns true if the request has been canceled.
|
inline |
Returns true if the request is for a reallocation.
|
friend |