FNiagaraShaderType::FinishCompileShader

Either creates a new instance of this type or returns an equivalent existing shader.

Windows
MacOS
Linux

References

Module

NiagaraShader

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraShader/Public/NiagaraShaderType.h

Include

#include "NiagaraShaderType.h"

Source

/Engine/Plugins/FX/Niagara/Source/NiagaraShader/Private/NiagaraShader.cpp

Syntax

FShader * FinishCompileShader
(
    const FSHAHash & NiagaraShaderMapHash,
    const FShaderCompileJob & CurrentJob,
    const FString & InDebugDescription
) const

Remarks

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.

Parameters

Parameter

Description

script

The script to link the shader with.

CurrentJob

Compile job that was enqueued by BeginCompileShader.

CurrentJob

Compile job that was enqueued by BeginCompileShader.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss