Re-exports§
pub use rendering::PickSource;pub use rendering::DEFAULT_THUMB_SIZE;pub use save::SaveError;pub use save::SaveJob;pub use save::SavePurpose;pub use save::SaveReadbackKind;pub use types::BlendModeTypeInfo;pub use types::ClipboardExport;pub use types::EngineState;pub use types::LayerInfo;pub use types::LayerKindTypeInfo;pub use types::ModifierInfo;pub use types::ModifierTypeInfo;pub use types::ParamInfo;pub use types::StrokeOp;pub use types::ToolTypeInfo;pub use types::VeilInfo;pub use types::VeilTypeInfo;pub use types::VoidTypeInfo;
Modules§
- protocol
- Async request/response protocol — the engine-side dispatch surface.
- rendering
- Rendering, view transform, thumbnails, undo/redo, and async readback polling.
- save
.darklysave flow — async readback of every pixel-bearing texture plus the composite, gathered into aSaveBundlefor JS to encode and zip.- types
- FFI/serialization types — serde-serializable for any WASM bridge.
Structs§
- Brush
Perf Delta - Per-interval brush perf delta returned by
crate::engine::DarklyEngine::drain_brush_perf_delta. Scalars are differences against the previous snapshot; vectors are taken whole-cloth from the current counter (and reset to empty there). - Darkly
Engine - Export
Image Result - Completed export readback — drained by
poll_export_result. - Frame
Render Phases - Most recent
engine.render()sub-phase timings, in microseconds. Overwritten each frame. Read by the WASM bridge’s slow-frame log so the breakdown is surfaced alongside the bridge-side drain/render timing without having to plumb a return value out ofrender. - Load
Document - Public marker re-export so the WASM bridge can name the engine-side “loaded document” capability without importing the load module directly. Empty today; reserved for future expansion (e.g. progress callbacks).
Enums§
- Preview
Kind - Which kind of effect a picker preview is generating. Keys the shared
previewsmap alongside the effect’s'statictype id, so a veil and a void that happen to share a type-id string never collide.