ViewportModesWindow
The "Edit modes…" window: the list of viewport modes and the thirteen switches of the selected one (viewport-shading-modes §VSMU-3).
| Inherits | construct::ui::ConstructToolDialog |
In the namespace construct::ui. Declared in src/libs/libconstruct/construct/ui/ViewportModesWindow.hpp.
Detailed description
A ConstructToolDialog, as the material editor is. The list is the order that Z cycles: a drag or "Move up" and "Move down" change it. A change applies when it is made: a switch writes the mode to the library at once, the name when its field loses the focus, and a change of the active mode reaches the viewport, so the viewport is the preview. Nothing waits for a Save: only a document is saved (owner, 2026-10-21). "Reset to built-in" gives a shipped mode its values back, and Duplicate makes a copy to try a change on.
Path tracing decides two switches: with it on, ambient occlusion and shadows read "Traced" and take no value. Denoise applies to path tracing only, so with it off the switch reads "–".