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

Result of one editor-style render scheduling decision. More...

#include "donner/editor/PresentationRenderScheduler.h"

Public Member Functions

bool shouldRequestRender () const
 True when the caller should post a render request.

Public Attributes

bool needsCompositedLayerCapture = false
 A fresh drag-target layer is needed for active presentation.
bool needsCompositedPrewarm = false
 A selected layer should be warmed or refreshed for presentation.
bool needsRenderedActiveDragPresentation = false
 The backend must render a changed active-drag transform even though cached pixels are valid.
bool needsRegularRender = false
 Document pixels changed and require a regular render.
std::optional< RenderRequest::DragPreviewdragPreview
 Compositor interaction hint to attach to the render request, if any.
std::uint64_t currentVersion = 0
 Version evaluated by the scheduler.
Vector2i currentCanvasSize = Vector2i::Zero()
 Output raster canvas size evaluated by the scheduler.
EditorRasterViewport currentRasterViewport
 Raster viewport evaluated by the scheduler.

Detailed Description

Result of one editor-style render scheduling decision.


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