Navigation
API > API/Plugins > API/Plugins/NiagaraShader > API/Plugins/NiagaraShader/FNiagaraShaderType
Description
Enqueues a compilation for a new shader of this type. Enqueues a compilation for a new shader of this type.
| Name | BeginCompileShader |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraShader/Public/NiagaraShaderType.h |
| Include Path | #include "NiagaraShaderType.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/NiagaraShader/Private/NiagaraShader.cpp |
void BeginCompileShader
(
uint32 ShaderMapId,
int32 PermutationId,
const FNiagaraShaderScript * Script,
FSharedShaderCompilerEnvironment * CompilationEnvironment,
EShaderPlatform Platform,
TArray < TRefCountPtr < FShaderCommonCompileJob > > & NewJobs,
FShaderTarget Target
)
Parameters
| Name | Remarks |
|---|---|
| Script | The script to link the shader with. |
| script | The script to link the shader with. |