Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStreamableManager
Description
Synchronously load a set of assets, and return a handle. This can be very slow and may stall the game thread for several seconds.
| Name | RequestSyncLoad |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h |
| Include Path | #include "Engine/StreamableManager.h" |
template<typename PathContainerType>
TSharedPtr < FStreamableHandle > RequestSyncLoad
(
PathContainerType && TargetsToStream,
bool bManageActiveHandle,
FString DebugName,
UE::FSourceLocation Location
)
Parameters
| Name | Remarks |
|---|---|
| TargetsToStream | Assets to load off disk |
| bManageActiveHandle | [optional] If true, the manager will keep the streamable handle active until explicitly released |
| DebugName | [optional] Name of this handle, either FString or anything that can construct FString |
| Location | [optional] Is not intended for direct use, the parameter catches call site source location. That location is used for debug tools output. |