Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/NiagaraShader/Public/NiagaraShared.h |
Include |
#include "NiagaraShared.h" |
Source |
/Engine/Plugins/FX/Niagara/Source/NiagaraShader/Private/NiagaraShared.cpp |
virtual void ModifyCompilationEnvironment
(
EShaderPlatform Platform,
struct FShaderCompilerEnvironment & OutEnvironment
) const
Allow Niagara script the opportunity to modify the compilation environment for GPU simulations. Generally used for data interfaces to inject project defines.