EditorLoadedMaterialResources

Tracks FMaterials without a corresponding [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) in the editor, for example FExpressionPreviews.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "MaterialShared.h"

Syntax

static TSet< FMaterial * > EditorLoadedMaterialResources;

Remarks

Tracks FMaterials without a corresponding UMaterialInterface in the editor, for example FExpressionPreviews. Used to handle the 'recompileshaders changed' command in the editor. This doesn't have to use a reference counted pointer because materials are removed on destruction.

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