euv-core 0.46.1

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
/// Default maximum number of in-flight frames allowed before applying pacing backpressure.
pub const PACING_DEFAULT_MAX_IN_FLIGHT: u32 = 2;
/// Minimum clamped display refresh rate in Hz.
pub const PACING_MIN_DISPLAY_HZ: f32 = 24.0;
/// Maximum clamped display refresh rate in Hz.
pub const PACING_MAX_DISPLAY_HZ: f32 = 480.0;
/// Upper bound on a single VSync simulation delta in seconds to guard against debugger or suspend stalls.
pub const PACING_MAX_FRAME_DT_SECS: f32 = 0.25;
/// Nanoseconds per second used for monotonic VSync timestamp arithmetic.
pub(crate) const NS_PER_SEC_F64: f64 = 1_000_000_000.0;