/Engine/Source/Runtime/Engine/Classes/Materials/Material.h
Check if the textures have changed since the last time the material was serialized for Lightmass... Update the lists while in here. NOTE: This will mark the package dirty if they have changed.
bool true if the textures have changed. false if they have not.
virtual bool UpdateLightmassTextureTracking()