/Engine/Source/Runtime/Engine/Public/IStereoLayers.h
If pushing and popping layer state is supported, the visibility of the background layer should be part of the saved state.
virtual void HideBackgroundLayer()