Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::RenderPanePresenterState Struct Reference

Borrowed presentation inputs for one render-pane UI pass. More...

#include "donner/editor/RenderPanePresenter.h"

Public Attributes

const ViewportState & viewport
 Live viewport for this frame. Owns pane geometry: the pane rect, the content region, and everything anchored to the window rather than to the document.
const FrameHistory & frameHistory
 Frame timing and memory samples used by the performance overlay.
std::shared_ptr< const FramePresentation > presentation
 Sealed frame drawn by this pass, or null when no coherent frame is available.
Vector2d contentRegion = Vector2d::Zero()
 Available content size in logical UI pixels.
bool documentPresentedDirectly = false
 Whether the document was already drawn into the host framebuffer.
DocumentCompositeTextureView documentComposite
 Composite texture used when the document is presented as a single image.
bool compositorTileOverlay = false
 Whether to draw tile boundaries and identities.
PerfOverlayMode perfOverlayMode = PerfOverlayMode::Off
 Performance overlay selected by the View menu.

Detailed Description

Borrowed presentation inputs for one render-pane UI pass.

Member Data Documentation

◆ compositorTileOverlay

bool donner::editor::RenderPanePresenterState::compositorTileOverlay = false

Whether to draw tile boundaries and identities.

◆ contentRegion

Vector2d donner::editor::RenderPanePresenterState::contentRegion = Vector2d::Zero()

Available content size in logical UI pixels.

◆ documentComposite

DocumentCompositeTextureView donner::editor::RenderPanePresenterState::documentComposite

Composite texture used when the document is presented as a single image.

◆ documentPresentedDirectly

bool donner::editor::RenderPanePresenterState::documentPresentedDirectly = false

Whether the document was already drawn into the host framebuffer.

◆ frameHistory

const FrameHistory& donner::editor::RenderPanePresenterState::frameHistory

Frame timing and memory samples used by the performance overlay.

◆ perfOverlayMode

PerfOverlayMode donner::editor::RenderPanePresenterState::perfOverlayMode = PerfOverlayMode::Off

Performance overlay selected by the View menu.

◆ presentation

std::shared_ptr<const FramePresentation> donner::editor::RenderPanePresenterState::presentation

Sealed frame drawn by this pass, or null when no coherent frame is available.

◆ viewport

const ViewportState& donner::editor::RenderPanePresenterState::viewport

Live viewport for this frame. Owns pane geometry: the pane rect, the content region, and everything anchored to the window rather than to the document.


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