Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::editor::app::RenderSessionSnapshot Struct Reference

Snapshot of the most recent navigation result. All fields are read-only after EditorApp::navigate returns - subsequent navigations produce a new snapshot. More...

#include "donner/editor/app/EditorApp.h"

Public Attributes

RenderSessionStatus status = RenderSessionStatus::kEmpty
std::string uri
 Resolved URI the snapshot corresponds to, or empty for kEmpty.
svg::RendererBitmap bitmap
 RGBA snapshot of the rendered frame. Empty if no render has succeeded.
std::string message
 Human-readable status line suitable for display in a UI chip or a terminal prompt.

Detailed Description

Snapshot of the most recent navigation result. All fields are read-only after EditorApp::navigate returns - subsequent navigations produce a new snapshot.

Member Data Documentation

◆ bitmap

svg::RendererBitmap donner::editor::app::RenderSessionSnapshot::bitmap

RGBA snapshot of the rendered frame. Empty if no render has succeeded.

◆ message

std::string donner::editor::app::RenderSessionSnapshot::message

Human-readable status line suitable for display in a UI chip or a terminal prompt.

◆ status

RenderSessionStatus donner::editor::app::RenderSessionSnapshot::status = RenderSessionStatus::kEmpty

◆ uri

std::string donner::editor::app::RenderSessionSnapshot::uri

Resolved URI the snapshot corresponds to, or empty for kEmpty.


The documentation for this struct was generated from the following file: