UNiagaraScript::CacheShadersForResources

Choose your operating system:

Windows

macOS

Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraScript.h

Include

#include "NiagaraScript.h"

Source

/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraScript.cpp

Syntax

void CacheShadersForResources
(
    FNiagaraShaderScript * ResourceToCache,
    bool bApplyCompletedShaderMapForRendering,
    bool bForceRecompile,
    bool bCooking,
    const ITargetPlatform * TargetPlatform
)