Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterial
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 |
void UpdateMaterialShaderCacheAndTextureReferences&40;&41;
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