/Engine/Source/Runtime/Engine/Public/MaterialShared.h
Prepares to destroy the material, must be called from render thread, only ifPrepareDestroy_GameThread()returned true
virtual void PrepareDestroy_RenderThread()