FMaterialRenderProxy::GetIncompleteMaterialWithFallback

Finds the [FMaterial](API\Runtime\Engine\FMaterial) to use for rendering this [FMaterialRenderProxy](API\Runtime\Engine\FMaterialRenderProxy).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialShared.cpp

Syntax

const FMaterial & GetIncompleteMaterialWithFallback
(
    ERHIFeatureLevel::Type InFeatureLevel
) const

Remarks

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. Will always return a valid FMaterial, but unlike GetMaterialWithFallback, FMaterial's shader map may be incomplete

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss