FNiagaraShaderScript::CacheShaders

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

Choose your operating system:

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
(
    bool bApplyCompletedShaderMapForRendering,
    bool bForceRecompile,
    bool bSynchronous,
    const ITargetPlatform * TargetPlatform
)

Remarks

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

Cache the script's shaders