aboutsummaryrefslogtreecommitdiff
path: root/src/rendering/view.h
blob: 0ac6ae04c427ff5aac245c2a419ae670985c4029 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)
    };
}