Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FMaterial
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include | #include "MaterialShared.h" |
static void AddEditorLoadedMaterialResource
&40;
FMaterial &42; Material
&41;
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.