FMaterial::AddEditorLoadedMaterialResource

Adds an [FMaterial](API\Runtime\Engine\FMaterial) to the global list.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "MaterialShared.h"

Syntax

static void AddEditorLoadedMaterialResource
(
    FMaterial * Material
)

Remarks

Adds an FMaterial to the global list. Any FMaterials that don't belong to a UMaterialInterface need to be registered in this way to work correctly with runtime recompiling of outdated shaders.

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