Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FAssetCompilingManager |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/AssetCompilingManager.h |
| Include Path | #include "AssetCompilingManager.h" |
Syntax
class FAssetCompilingManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAssetCompilingManager() |
AssetCompilingManager.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAssetCompilingManager() |
AssetCompilingManager.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FPackageScopeEvent | TMulticastDelegate_TwoParams< void, UPackage *, bool > | Event called before and after FinishAllCompilation or ProcessAsyncTasks run operations on a specific package, used for subscribers to associate low-level actions with that Package (e.g. TObjectPtr reads). | AssetCompilingManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetCompilingManagers | TArray< IAssetCompilingManager * > | AssetCompilingManager.h | ||
| AssetCompilingManagersWithValidDependencies | TArray< IAssetCompilingManager * > | AssetCompilingManager.h | ||
| AssetPostCompileEvent | FAssetPostCompileEvent | Event issued at the end of the compile process | AssetCompilingManager.h | |
| bHasShutdown | bool | AssetCompilingManager.h | ||
| LastNumRemainingAssets | int32 | AssetCompilingManager.h | ||
| PackageScopeEvent | FPackageScopeEvent | AssetCompilingManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FinishAllCompilation() |
Blocks until completion of all assets. | AssetCompilingManager.h | |
void FinishCompilationForObjects
(
TArrayView< UObject*const > InObjects |
Finish compilation of the requested objects. | AssetCompilingManager.h | |
int32 GetNumRemainingAssets () |
Returns the number of remaining compilations. | AssetCompilingManager.h | |
TArrayView< IAssetCompilingManager *const > GetRegisteredManagers() |
Register the list of registered managers. | AssetCompilingManager.h | |
FQueuedThreadPool * GetThreadPool() |
Returns the thread-pool where asset compilation should be scheduled. | AssetCompilingManager.h | |
void MarkCompilationAsCanceled
(
TArrayView< UObject*const > InObjects |
Mark compilation of the provided objects as canceled. | AssetCompilingManager.h | |
FAssetPostCompileEvent & OnAssetPostCompileEvent() |
Event called after an asset finishes compilation. | AssetCompilingManager.h | |
FPackageScopeEvent & OnPackageScopeEvent() |
AssetCompilingManager.h | ||
void ProcessAsyncTasks
(
bool bLimitExecutionTime |
Called once per frame, fetches completed tasks and applies them to the scene. | AssetCompilingManager.h | |
void ProcessAsyncTasks
(
const AssetCompilation::FProcessAsyncTaskParams& Params |
Called once per frame, fetches completed tasks and applies them to the scene. | AssetCompilingManager.h | |
bool RegisterManager
(
IAssetCompilingManager* InAssetCompilingManager |
Register an asset compiling manager. | AssetCompilingManager.h | |
void Shutdown() |
Cancel any pending work and blocks until it is safe to shut down. | AssetCompilingManager.h | |
bool UnregisterManager
(
IAssetCompilingManager* InAssetCompilingManager |
Unregister an asset compiling manager. | AssetCompilingManager.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FAssetCompilingManager & Get() |
AssetCompilingManager.h |