/Engine/Source/Runtime/Engine/Public/Materials/MaterialRenderProxy.h
Finds theFMaterialto use for rendering thisFMaterialRenderProxy. Will fall back to a default material if needed due to a content error, or async compilation. The returnedFMaterialis guaranteed to have a complete shader map, so all relevant shaders should be available OutFallbackMaterialRenderProxy - The proxy that corresponds to the returnedFMaterial, should be used for further rendering. May be a fallback material, or 'this' if no fallback was needed
const [FMaterial](API\Runtime\Engine\FMaterial) & GetMaterialWithFallback ( [ERHIFeatureLevel::Type](API\Runtime\RHI\ERHIFeatureLevel__Type) InFeatureLevel, const [FMaterialRenderProxy](API\Runtime\Engine\Materials\FMaterialRenderProxy) *& OutFallbackMaterialRenderProxy ) const