|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
One message in the decoded stream. The summary is meant for UI display (ImGui command-list rows, text dumps, structural diffs) — it is intentionally terse and not round-trippable. More...
#include "donner/editor/sandbox/FrameInspector.h"
Public Attributes | |
| uint32_t | index = 0 |
| Zero-based message index inside the wire stream. Index 0 is always the kStreamHeader message. | |
| Opcode | opcode = Opcode::kInvalid |
| Opcode raw value. Use Opcode cast for type-safe comparisons. | |
| int32_t | depth = 0 |
| LIFO nesting depth at the point this command was emitted. Incremented by every push* and decremented by every pop*. Unbalanced streams can go negative briefly; the inspector clamps at zero for display. | |
| std::size_t | byteOffset = 0 |
| Byte offset of this message's header inside the wire buffer. | |
| std::size_t | byteLength = 0 |
| Total bytes this message occupies (8-byte header + payload). | |
| std::string | summary |
| Human-readable one-liner (e.g. drawRect (10,10,30,30), setPaint fill=#FF0000 stroke=none). May be empty for opcodes the summarizer doesn't understand yet. | |
One message in the decoded stream. The summary is meant for UI display (ImGui command-list rows, text dumps, structural diffs) — it is intentionally terse and not round-trippable.
| std::size_t donner::editor::sandbox::DecodedCommand::byteLength = 0 |
Total bytes this message occupies (8-byte header + payload).
| std::size_t donner::editor::sandbox::DecodedCommand::byteOffset = 0 |
Byte offset of this message's header inside the wire buffer.
| int32_t donner::editor::sandbox::DecodedCommand::depth = 0 |
LIFO nesting depth at the point this command was emitted. Incremented by every push* and decremented by every pop*. Unbalanced streams can go negative briefly; the inspector clamps at zero for display.
| uint32_t donner::editor::sandbox::DecodedCommand::index = 0 |
Zero-based message index inside the wire stream. Index 0 is always the kStreamHeader message.
| Opcode donner::editor::sandbox::DecodedCommand::opcode = Opcode::kInvalid |
| std::string donner::editor::sandbox::DecodedCommand::summary |
Human-readable one-liner (e.g. drawRect (10,10,30,30), setPaint fill=#FF0000 stroke=none). May be empty for opcodes the summarizer doesn't understand yet.