FNiagaraShaderScript::CacheShaders

Caches the shaders for this script with no static parameters on the given platform.

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

bool CacheShaders
(
    const FNiagaraShaderMapId & ShaderMapId,
    bool bApplyCompletedShaderMapForRendering,
    bool bForceRecompile,
    bool bSynchronous
)

Remarks

Caches the shaders for this script with no static parameters on the given platform.

Cache the script's shaders

Caches the shaders for this script

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