Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraScript.h |
Include |
#include "NiagaraScript.h" |
Source |
/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraScript.cpp |
bool RequestExternallyManagedAsyncCompile
(
const TSharedPtr< FNiagaraCompileRequestDataBase, ESPMode::ThreadSafe > & RequestData,
const TSharedPtr< FNiagaraCompileRequestDuplicateDataBase, ESPMode::ThreadSafe > & RequestDuplicateData,
FNiagaraVMExecutableDataId & OutCompileId,
uint32 & OutAsyncHandle
)
Request an asynchronous compile for the script, possibly forcing it to compile. The output values are the compilation id of the data as well as the async handle to gather up the results with. The function returns whether or not any compiles were actually issued.