FMaterialRenderProxy::GetMaterial

These functions should only be called by the rendering thread.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "MaterialShared.h"

Syntax

const FMaterial * GetMaterial
(
    ERHIFeatureLevel::Type InFeatureLevel
) const

Remarks

Returns the effective FMaterial, which can be a fallback if this material's shader map is invalid. Always returns a valid material pointer.

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