diff options
| author | hachem <im@hachem.wtf> | 2026-08-23 21:55:36 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-23 21:55:36 +0200 |
| commit | 5ea6c14c0e14bacee766ce1280ab2c71564e05ec (patch) | |
| tree | 34620051e8eaf65db4ff9cd40ffd982a03e1ccc8 /src/rendering/view.h | |
| parent | 8742482311b86bb705d93336805ab26881e96070 (diff) | |
[feat]: implement ui layer arch
Diffstat (limited to 'src/rendering/view.h')
| -rw-r--r-- | src/rendering/view.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/rendering/view.h b/src/rendering/view.h new file mode 100644 index 0000000..0ac6ae0 --- /dev/null +++ b/src/rendering/view.h @@ -0,0 +1,13 @@ +#pragma once + +namespace Donut +{ + // What the RenderPath draws in the viewport this frame. Each UI workspace + // (tab) declares which one it wants, so switching tabs switches the view. + enum class View + { + None, // empty viewport (tabs that aren't a live view, e.g. Setup / Export) + Scene, // world-builder: grid + placed objects + skybox + BlackHole, // the ray-traced accretion-disk simulation (only the Simulation tab) + }; +} |
