ViewportModeOverlay
The viewport mode's values over the scene's settings, at the one place where the viewport reads a setting (viewport-shading-modes §VSMA-4).
In the namespace construct::settings. Declared in src/libs/libconstruct/construct/settings/ViewportModeOverlay.hpp.
Detailed description
A mode adds no level to the settings. ConstructShell::resolvedSetting() asks value() first: when a switch of the mode fixes the id, the mode's value wins. When the switch is scene, or no switch decides the id, the scene's resolved value passes through. A render job reads its own resolver and never this, so a mode changes no render.
The ids that a mode fixes are a hash, so value() costs one lookup for an id that the mode does not decide.