Donner 0.5.1
Embeddable browser-grade SVG2 engine
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"

Collaboration diagram for donner::editor::app::RenderSessionSnapshot:
[legend]

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::vector< uint8_t > wire
 Raw sandbox wire bytes from the most recent successful render. Useful for "record" / "inspect" REPL commands. Empty for unsuccessful states.
uint32_t unsupportedCount = 0
 Number of kUnsupported messages observed during replay (0 means fully faithful).
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

◆ unsupportedCount

uint32_t donner::editor::app::RenderSessionSnapshot::unsupportedCount = 0

Number of kUnsupported messages observed during replay (0 means fully faithful).

◆ uri

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

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

◆ wire

std::vector<uint8_t> donner::editor::app::RenderSessionSnapshot::wire

Raw sandbox wire bytes from the most recent successful render. Useful for "record" / "inspect" REPL commands. Empty for unsuccessful states.


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