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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback