Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IMappedFileRegion
Description
Synchronously preload part or all of the mapped region. Typically this is done by reading a byte from each CPU page. This is only a hint, some platforms might ignore it. There are not guarantees how long this data will stay in memory.
| Name | PreloadHint |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/MappedFileHandle.h |
| Include Path | #include "Async/MappedFileHandle.h" |
virtual void PreloadHint
(
int64 PreloadOffset,
int64 BytesToPreload
)
Parameters
| Name | Remarks |
|---|---|
| PreloadOffset | Offset into this region to preload |
| BytesToPreload | number of bytes to preload. This is clamped to the size of the mapped region |