FNiagaraShaderMap::LoadFromDerivedDataCache

Attempts to load the shader map for the given script from the Derived Data Cache.

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/NiagaraShader.cpp

Syntax

static void LoadFromDerivedDataCache
(
    const FNiagaraShaderScript * Script,
    const FNiagaraShaderMapId & ShaderMapId,
    EShaderPlatform Platform,
    TRefCountPtr< FNiagaraShaderMap > & InOutShaderMap
)

Remarks

Attempts to load the shader map for the given script from the Derived Data Cache. If InOutShaderMap is valid, attempts to load the individual missing shaders instead.

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