UMaterial::UpdateMaterialShaderCacheAndTextureReferences

Recompute the ddc cache key and reload the material in case the key is not the same.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/Material.h

Include

#include "Materials/Material.h"

Source

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

Syntax

void UpdateMaterialShaderCacheAndTextureReferences()

Remarks

Recompute the ddc cache key and reload the material in case the key is not the same. It will also make sure lightmass texture reference are up to date

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