FMaterial::RestoreEditorLoadedMaterialShadersFromMemory

Recreates FShaders in editor loaded materials from the passed in memory, handling shader key changes.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "MaterialShared.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialShared.cpp

Syntax

static void RestoreEditorLoadedMaterialShadersFromMemory
(
    const TMap< FMaterialShaderMap *, TUniquePtr< TArray< uint8 > > > & ShaderMapToSerializedShaderData
)

Remarks

Recreates FShaders in editor loaded materials from the passed in memory, handling shader key changes.

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