Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FGPUDefragAllocator > API/Runtime/RHI/FGPUDefragAllocator/FMemoryChunk
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
| Include | #include "GPUDefragAllocator.h" |
void SetSyncIndex
(
uint32 InSyncIndex,
int64 InSyncSize
)
Remarks
Sets the relocation sync index.
Parameters
| Name | Description |
|---|---|
| InSyncIndex | GPU synchronization identifier that can be compared with BestFitAllocator::CompletedSyncIndex |
| InSyncSize | Number of uint8s that require GPU synchronization (starting from the beginning of the chunk) |