Language:
Discover
By Skill Level
By Category

UMaterial::UpdateMaterialShaderCacheAndTextureReferences

Choose your OS:

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

References

Module

Engine

Header

Runtime/Engine/Classes/Materials/Material.h

Source

Runtime/Engine/Private/Materials/Material.cpp