Navigation
API > API/Editor > API/Editor/MaterialEditor > API/Editor/MaterialEditor/FMaterialEditorUtilities
Description
Triggers a refresh or redraw for post process preview materials and material instances. A refresh is useful when a material generating a UserSceneTexture output is loaded or unloaded. Other loaded materials that have UserSceneTexture inputs may include the material in question in their preview, which necessitates a refresh. A redraw is useful when debug settings change that may affect post process material viewports.
| Name | RefreshPostProcessPreviewMaterials |
| Type | function |
| Header File | /Engine/Source/Editor/MaterialEditor/Public/MaterialEditorUtilities.h |
| Include Path | #include "MaterialEditorUtilities.h" |
| Source | /Engine/Source/Editor/MaterialEditor/Private/MaterialEditorUtilities.cpp |
static void RefreshPostProcessPreviewMaterials
(
UMaterialInterface * ExcludeMaterialInterface,
bool bRedrawOnly
)