From 5ea6c14c0e14bacee766ce1280ab2c71564e05ec Mon Sep 17 00:00:00 2001 From: hachem Date: Sun, 23 Aug 2026 21:55:36 +0200 Subject: [feat]: implement ui layer arch --- src/rendering/view.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/rendering/view.h (limited to 'src/rendering/view.h') 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) + }; +} -- cgit v1.3