/Engine/Source/Runtime/Engine/Public/ShaderCompiler.h
Blocks until completion of all async shader compiling, and assigns shader maps to relevant materials. This should be called before exit if the DDC needs to be made up to date.
virtual void FinishAllCompilation()