IMappedFileRegion::PreloadHint

Synchronously preload part or all of the mapped region.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/MappedFileHandle.h

Include

#include "Async/MappedFileHandle.h"

Syntax

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

Parameter

Description

PreloadOffset

Offset into this region to preload

BytesToPreload

number of bytes to preload. This is clamped to the size of the mapped region

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss