Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::editor::sandbox::PipelinedFrame Struct Reference

One frame's worth of rendered pixels and metadata handed back to the main thread after PipelinedRenderer completes a submission. More...

#include "donner/editor/sandbox/PipelinedRenderer.h"

Collaboration diagram for donner::editor::sandbox::PipelinedFrame:
[legend]

Public Attributes

uint64_t frameId = 0
 Monotonically increasing frame sequence number. Frame N == submission N.
svg::RendererBitmap bitmap
 RGBA8 snapshot at viewport resolution. Empty on failure.
uint32_t unsupportedCount = 0
 Number of kUnsupported messages the replayer saw on this frame.
bool ok = false
 True iff the wire stream decoded and rasterized cleanly.

Detailed Description

One frame's worth of rendered pixels and metadata handed back to the main thread after PipelinedRenderer completes a submission.

Member Data Documentation

◆ bitmap

svg::RendererBitmap donner::editor::sandbox::PipelinedFrame::bitmap

RGBA8 snapshot at viewport resolution. Empty on failure.

◆ frameId

uint64_t donner::editor::sandbox::PipelinedFrame::frameId = 0

Monotonically increasing frame sequence number. Frame N == submission N.

◆ ok

bool donner::editor::sandbox::PipelinedFrame::ok = false

True iff the wire stream decoded and rasterized cleanly.

◆ unsupportedCount

uint32_t donner::editor::sandbox::PipelinedFrame::unsupportedCount = 0

Number of kUnsupported messages the replayer saw on this frame.


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