Expand description
Screen-capture POD types — ScreenCaptureSource + ScreenCaptureConfig.
Symmetric to the camera surface (a “dumb widget” in
azul_layout::widgets::screencap); reuses camera’s capture status types.
POD types for the screen-capture surface
(SUPER_PLAN_2 §4 Priority 6 + research/01).
Symmetric to the camera surface: screen capture is a “dumb widget”
(azul_layout::widgets::screencap::ScreenCaptureWidget) that owns a
background capture thread + a GL-texture ImageRef, identical to the
camera widget — only the source differs (a display / window instead of
a camera). Defined here in azul-core so the config types cross the FFI
without azul-layout (or ScreenCaptureKit / MediaProjection / PipeWire)
as a dependency.
Reuses the camera surface’s generic capture status types
(crate::camera::StreamState, CaptureStats, CaptureStreamId,
CaptureErrorCode) — those are capture-agnostic.
Structs§
- Screen
Capture Config - Requested screen-capture configuration — the input to the screencap
widget. Zero
fpsmeans “let the backend pick its default”.
Enums§
- Screen
Capture Source - What to capture.