Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::editor::PresentationRenderScheduleDecision Struct Reference

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

#include "donner/editor/PresentationRenderScheduler.h"

Collaboration diagram for donner::editor::PresentationRenderScheduleDecision:
[legend]

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