FNiagaraShaderScript::ModifyCompilationEnvironment

Allow Niagara script the opportunity to modify the compilation environment for GPU simulations.

Windows
MacOS
Linux

References

Module

NiagaraShader

Header

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

Include

#include "NiagaraShared.h"

Source

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

Syntax

virtual void ModifyCompilationEnvironment
(
    struct FShaderCompilerEnvironment & OutEnvironment
) const

Remarks

Allow Niagara script the opportunity to modify the compilation environment for GPU simulations. Generally used for data interfaces to inject project defines.

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