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

Default viewport and source-loading policy for a render session. More...

#include "donner/editor/app/EditorApp.h"

Public Attributes

int defaultWidth = 512
 Default viewport used for navigations that don't carry an explicit width/height. Matches typical desktop editor previews.
int defaultHeight = 384
 Fallback viewport height when navigation omits an explicit size.
SourceLoadOptions sourceOptions
 Options forwarded to the internal source loader. Most tests override baseDirectory to isolate fixture files from the developer's CWD.

Detailed Description

Default viewport and source-loading policy for a render session.

Member Data Documentation

◆ defaultHeight

int donner::editor::app::RenderSessionOptions::defaultHeight = 384

Fallback viewport height when navigation omits an explicit size.

◆ defaultWidth

int donner::editor::app::RenderSessionOptions::defaultWidth = 512

Default viewport used for navigations that don't carry an explicit width/height. Matches typical desktop editor previews.

◆ sourceOptions

SourceLoadOptions donner::editor::app::RenderSessionOptions::sourceOptions

Options forwarded to the internal source loader. Most tests override baseDirectory to isolate fixture files from the developer's CWD.


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