UMaterialInterface::GetMaterialResource

Get the static permutation resource if the instance has one

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInterface.h

Include

#include "Materials/MaterialInterface.h"

Syntax

virtual const FMaterialResource * GetMaterialResource
(
    ERHIFeatureLevel::Type InFeatureLevel,
    EMaterialQualityLevel::Type QualityLevel
) const

Remarks

Get the static permutation resource if the instance has one

Returns

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