Navigation
Unreal Engine C++ API Reference > Runtime > Core > Async > IMappedFileRegion
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Async/MappedFileHandle.h |
Include | #include "Async/MappedFileHandle.h" |
virtual void PreloadHint
&40;
int64 PreloadOffset,
int64 BytesToPreload
&41;
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 |