Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async > API/Runtime/Core/Async/IMappedFileRegion
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/MappedFileHandle.h |
| Include | #include "Async/MappedFileHandle.h" |
virtual void PreloadHint
(
int64 PreloadOffset,
int64 BytesToPreload
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| PreloadOffset | Offset into this region to preload |
| BytesToPreload | number of bytes to preload. This is clamped to the size of the mapped region |