44 bool show_requested_{};
45 bool open_requested_{};
Modal for selecting a scene preset when creating a new scene. Call ShowCreateSceneModal() to open; Re...
static void show(std::function< void(defaults::scene_preset)> on_preset_selected)
Request the create scene modal to open.
static void render()
Draw the modal. Call every frame from the main UI render loop.
static auto complete_if_pending(defaults::scene_preset preset) -> bool
static auto is_pending() -> bool
True when Show was requested and the user has not yet confirmed/cancelled.
static void cancel_if_pending()
Dismiss a pending create-scene modal without invoking the callback.
defaults::scene_preset preset
scene_preset
Quality presets for new scene creation (low = less expensive, high = more expensive).