| FMaterialRenderProxy::GetMaterialWithFallback()
|
Module |
|
Header |
/Engine/Source/Runtime/Landscape/Public/LandscapeRender.h |
Include |
#include "LandscapeRender.h" |
virtual const FMaterial & GetMaterialWithFallback
(
ERHIFeatureLevel::Type InFeatureLevel,
const FMaterialRenderProxy *& OutFallbackMaterialRenderProxy
) const
Finds the FMaterial to use for rendering this FMaterialRenderProxy. Will fall back to a default material if needed due to a content error, or async compilation. OutFallbackMaterialRenderProxy - if valid, the default material had to be used and OutFallbackMaterialRenderProxy should be used for rendering.