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 |
FMemoryChunk &42; FindAny
&40;
FMemoryChunk &42; FreeChunk
&41;
Remarks
Searches for an allocated chunk that would fit within the specified free chunk. Any chunk that fits and has a larger base address than 'FreeChunk' is accepted. Starts searching from the end of the texture pool. Pointer to a suitable chunk, or nullptr
Parameters
| Name | Description |
|---|---|
| FreeChunk | Free chunk we're trying to fill up |