#include <AssetCompilingManager.h>
◆ DECLARE_MULTICAST_DELEGATE_TwoParams()
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). void OnPackageScopeEvent(UPackage* Package, bool bEntering) Called with bEntering=true followed by actions for Package followed by call with bEntering=false.
◆ FinishAllCompilation()
| void FAssetCompilingManager::FinishAllCompilation |
( |
| ) |
|
Blocks until completion of all assets.
◆ FinishCompilationForObjects()
Finish compilation of the requested objects.
◆ Get()
◆ GetNumRemainingAssets()
| int32 FAssetCompilingManager::GetNumRemainingAssets |
( |
| ) |
const |
Returns the number of remaining compilations.
Returns the number of outstanding asset compilations.
◆ GetRegisteredManagers()
Register the list of registered managers.
◆ GetThreadPool()
Returns the thread-pool where asset compilation should be scheduled.
◆ MarkCompilationAsCanceled()
Mark compilation of the provided objects as canceled. This is a hint that the compilations are no longer needed and may leave the objects in a bad state. There is no guarantee that anything will be canceled, but if supported, it might remove heavy CPU work earlier. If you need to make sure that any activity is done on these objects, a call to FinishCompilationForObjects is still required.
Finish compilation of the requested objects.
◆ OnAssetPostCompileEvent()
Event called after an asset finishes compilation.
◆ OnPackageScopeEvent()
◆ ProcessAsyncTasks() [1/2]
| void FAssetCompilingManager::ProcessAsyncTasks |
( |
bool |
bLimitExecutionTime = false | ) |
|
Called once per frame, fetches completed tasks and applies them to the scene.
◆ ProcessAsyncTasks() [2/2]
Called once per frame, fetches completed tasks and applies them to the scene.
◆ RegisterManager()
Register an asset compiling manager.
◆ Shutdown()
| void FAssetCompilingManager::Shutdown |
( |
| ) |
|
Cancel any pending work and blocks until it is safe to shut down.
◆ UnregisterManager()
Unregister an asset compiling manager.
◆ IAssetCompilingManager
The documentation for this class was generated from the following files: