Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Serialization
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Serialization/AsyncPackageLoader.h |
| Include | #include "Serialization/AsyncPackageLoader.h" |
Syntax
class IAsyncPackageLoader
Remarks
Asynchronous package loader interface.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Cancels streaming.Note: Called from Game Thread. | ||
| void | FlushLoading
(
TConstArrayView< int32 > RequestIds |
Flush pending loading request(s).Note: Called from Game Thread. | |
| float | GetAsyncLoadPercentage
(
const FName& PackageName |
[GAME THREAD] Gets the load percentage of the specified package | |
| ELoaderType | |||
| int32 | |||
| int32 | Returns the number of loading packages. | ||
| int32 | Returns the number of queued packages. | ||
| void | Initialize loading. | ||
| bool | Returns whether packages are currently being loaded on a background thread. | ||
| bool | Returns whether the package loader is suspended or not. | ||
| bool | Returns whether in package loader background thread or not. | ||
| bool | Returns whether loading packages with multiple threads. | ||
| int32 | LoadPackage
(
const FPackagePath& PackagePath, |
Asynchronously load a package. | |
| int32 | LoadPackage
(
const FPackagePath& PackagePath, |
Asynchronously load a package. | |
| void | NotifyConstructedDuringAsyncLoading
(
UObject* Object, |
||
| void | |||
| void | NotifyRegistrationEvent
(
const TCHAR* PackageName, |
||
| void | NotifyUnreachableObjects
(
const TArrayView< FUObjectItem* >& UnreachableObjects |
||
| EAsyncPackageState::Type | ProcessLoading
(
bool bUseTimeLimit, |
Process all currently loading package requests. | |
| EAsyncPackageState::Type | ProcessLoadingUntilComplete
(
TFunctionRef< bool()> CompletionPredicate, |
Process all loading package requests until completion predicate is satisfied. | |
| void | Resumes async loading threadNote: Called from Game Thread. | ||
| bool | ShouldAlwaysLoadPackageAsync
(
const FPackagePath& PackagePath |
||
| void | Shut down loading. | ||
| void | StartThread () |
||
| void | Suspends async loading threadNote: Called from Game Thread. |
Constants
| Name | Description |
|---|---|
| NextPackageRequestId |