Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialShaderMap
Description
Begin an attempts to load the shader map for the given material from the Derived Data Cache. If InOutShaderMap is valid, attempts to load the individual missing shaders instead. Returns (via OutDDCKeyDesc parameter) a helpful string to debug the DDC key and parameters
| Name | BeginLoadFromDerivedDataCache |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include Path | #include "MaterialShared.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialShader.cpp |
static TSharedRef < FAsyncLoadContext > BeginLoadFromDerivedDataCache
(
const FMaterial * Material,
const FMaterialShaderMapId & ShaderMapId,
EShaderPlatform Platform,
const ITargetPlatform * TargetPlatform,
TRefCountPtr < FMaterialShaderMap > & InOutShaderMap,
FString & OutDDCKeyDesc
)