Navigation
API > API/Plugins > API/Plugins/NiagaraShader > API/Plugins/NiagaraShader/FNiagaraShaderType
Description
Either creates a new instance of this type or returns an equivalent existing shader. Either creates a new instance of this type or returns an equivalent existing shader.
| Name | FinishCompileShader |
| 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 |
FShader * FinishCompileShader
(
const FSHAHash & NiagaraShaderMapHash,
const FShaderCompileJob & CurrentJob
) const
Parameters
| Name | Remarks |
|---|---|
| script | The script to link the shader with. |
| CurrentJob | Compile job that was enqueued by BeginCompileShader. |
| CurrentJob | Compile job that was enqueued by BeginCompileShader. |