Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FGPUDefragAllocator
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
| Include | #include "GPUDefragAllocator.h" |
| Source | /Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp |
virtual void &42; Allocate
&40;
int64 AllocationSize,
int32 Alignment,
TStatId InStat,
bool bAllowFailure
&41;
Remarks
Allocate physical memory. Pointer to allocated memory
Parameters
| Name | Description |
|---|---|
| AllocationSize | Size of allocation |
| bAllowFailure | Whether to allow allocation failure or not |