/Engine/Source/Runtime/Renderer/Public/MeshPassProcessor.h
Only call on the game thread. Heavy weight. Flush rendering commands and recreate all component render states.
static void SetPassFlags ( EShadingPath ShadingPath, [EMeshPass::Type](API\Runtime\Renderer\EMeshPass__Type) PassType, EMeshPassFlags NewFlags )