Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FGPUDefragAllocator > API/Runtime/RHI/FGPUDefragAllocator/Initialize
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
| Include | #include "GPUDefragAllocator.h" |
virtual void Initialize
&40;
uint8 &42; InMemoryBase,
int64 InMemorySize,
int32 InAllocationAlignment
&41;
Remarks
Initialize this allocator with a preallocated block of memory.
Parameters
| Name | Description |
|---|---|
| InMemoryBase | Base address for the block of memory |
| InMemorySize | Size of the block of memory, in uint8s |
| InAllocationAlignment | Alignment for all allocations, in uint8s |