FUntypedBulkData::CreateStreamingRequest

Create an async read request for the bulk data.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkData.h

Include

#include "Serialization/BulkData.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Serialization/BulkData.cpp

Syntax

IBulkDataIORequest * CreateStreamingRequest
(
    EAsyncIOPriorityAndFlags Priority,
    FBulkDataIORequestCallBack * CompleteCallback,
    uint8 * UserSuppliedMemory
) const

Remarks

Create an async read request for the bulk data. This version will load the entire data range that the FUntypedBulkData represents.

Returns

A request for the read. This is owned by the caller and must be deleted by the caller.

Parameters

Parameter

Description

Priority

Priority and flags of the request. If this includes AIOP_FLAG_PRECACHE, then memory will never be returned. The request should always be canceled and waited for, even for a precache request.

CompleteCallback

Called from an arbitrary thread when the request is complete. Can be nullptr, if non-null, must remain valid until it is called. It will always be called.

UserSuppliedMemory

A pointer to memory for the IO request to be written to, it is up to the caller to make sure that it is large enough. If the pointer is null then the system will allocate memory instead.

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