Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialShaderMap
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include | #include "MaterialShared.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialShader.cpp |
static void LoadFromDerivedDataCache
&40;
const FMaterial &42; Material,
const FMaterialShaderMapId & ShaderMapId,
EShaderPlatform Platform,
const ITargetPlatform &42; TargetPlatform,
TRefCountPtr< FMaterialShaderMap > & InOutShaderMap,
FString & OutDDCKeyDesc
&41;
Remarks
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