FStreamableManager::RequestAsyncLoad

This is the primary streamable operation.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h

Include

#include "Engine/StreamableManager.h"

Source

/Engine/Source/Runtime/Engine/Private/StreamableManager.cpp

Syntax

TSharedPtr< FStreamableHandle > RequestAsyncLoad
(
    TArray< FSoftObjectPath > TargetsToStream,
    FStreamableDelegate DelegateToCall,
    TAsyncLoadPriority Priority,
    bool bManageActiveHandle,
    bool bStartStalled,
    FString DebugName
)

Remarks

This is the primary streamable operation. Requests streaming of one or more target objects. When complete, a delegate function is called. Returns a Streamable Handle.

Parameters

Parameter

Description

TargetsToStream

Assets to load off disk

DelegateToCall

Delegate to call when load finishes. Will be called on the next tick if asset is already loaded, or many seconds later

Priority

Priority to pass to the streaming system, higher priority will be loaded first

bManageActiveHandle

If true, the manager will keep the streamable handle active until explicitly released

bStartStalled

If true, the handle will start in a stalled state and will not attempt to actually async load until StartStalledHandle is called on it

DebugName

Name of this handle, will be reported in debug tools

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