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