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 bool ShouldCache
(
EShaderPlatform Platform,
const FShaderType * ShaderType
) const
Should the shader for this script with the given platform, shader type and vertex factory type combination be compiled
true if the shader should be compiled
Parameter |
Description |
---|---|
Platform |
The platform currently being compiled for |
ShaderType |
Which shader is being compiled |
VertexFactory |
Which vertex factory is being compiled (can be NULL) |