Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterial
Description
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.
| Name | AddEditorLoadedMaterialResource |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include Path | #include "MaterialShared.h" |
static void AddEditorLoadedMaterialResource
(
FMaterial * Material
)