Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/NiagaraShader/Public/NiagaraShared.h |
Include |
#include "NiagaraShared.h" |
Source |
/Engine/Plugins/FX/Niagara/Source/NiagaraShader/Private/NiagaraShader.cpp |
void Compile
(
FNiagaraShaderScript * Script,
const FNiagaraShaderMapId & ShaderMapId,
TRefCountPtr< FShaderCompilerEnvironment > CompilationEnvironment,
const FNiagaraComputeShaderCompilationOutput & InNiagaraCompilationOutput,
EShaderPlatform Platform,
bool bSynchronousCompile,
bool bApplyCompletedShaderMapForRendering
)
Compiles the shaders for a script and caches them in this shader map. Compiles the shaders for a script and caches them in this shader map.
Parameter |
Description |
---|---|
script |
The script to compile shaders for. |
ShaderMapId |
the set of static parameters to compile for |
Platform |
The platform to compile to |
script |
The script to compile shaders for. |
InShaderMapId |
the script id and set of static parameters to compile for |
Platform |
The platform to compile to |