Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::RenderPanePresenterState Struct Reference

Public Attributes

const ViewportStateviewport
 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 ViewportStatepresentedDocumentViewport = nullptr
 Viewport the document pixels presented this frame are actually placed with, or null when that is the live viewport.
const FrameHistoryframeHistory
const GlTextureCachetextures
const std::optional< SelectionChromeSnapshot > & immediateOverlaySnapshot
const std::optional< SelectTool::ActiveDragPreview > & activeDragPreview
const std::optional< SelectTool::ActiveDragPreview > & displayedDragPreview
Vector2d contentRegion = Vector2d::Zero()
Entity suppressedLayerEntity = entt::null
bool suppressDragTargetTiles = false
bool documentPresentedDirectly = false
DocumentCompositeTextureView documentComposite
bool compositorTileOverlay = false
PerfOverlayMode perfOverlayMode = PerfOverlayMode::Off

Member Data Documentation

◆ activeDragPreview

const std::optional<SelectTool::ActiveDragPreview>& donner::editor::RenderPanePresenterState::activeDragPreview

◆ compositorTileOverlay

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

◆ contentRegion

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

◆ displayedDragPreview

const std::optional<SelectTool::ActiveDragPreview>& donner::editor::RenderPanePresenterState::displayedDragPreview

◆ documentComposite

DocumentCompositeTextureView donner::editor::RenderPanePresenterState::documentComposite

◆ documentPresentedDirectly

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

◆ frameHistory

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

◆ immediateOverlaySnapshot

const std::optional<SelectionChromeSnapshot>& donner::editor::RenderPanePresenterState::immediateOverlaySnapshot

◆ perfOverlayMode

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

◆ presentedDocumentViewport

const ViewportState* donner::editor::RenderPanePresenterState::presentedDocumentViewport = nullptr

Viewport the document pixels presented this frame are actually placed with, or null when that is the live viewport.

A worker-owned surface is positioned with the viewport its accepted epoch was rasterized against, which can be one or more worker frames behind the live one. Everything drawn in document space - the presented image clip rect, tile quads, and the compositor tile overlay - must use that same transform, or it annotates pixels that are no longer underneath it.

◆ suppressDragTargetTiles

bool donner::editor::RenderPanePresenterState::suppressDragTargetTiles = false

◆ suppressedLayerEntity

Entity donner::editor::RenderPanePresenterState::suppressedLayerEntity = entt::null

◆ textures

const GlTextureCache& donner::editor::RenderPanePresenterState::textures

◆ 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: