Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(rendering): add recording_time field to ProjectUniforms
Richie McIlroy9dedbbf999b7
diff --git a/crates/rendering/src/lib.rs b/crates/rendering/src/lib.rsindex f8d7fd249..5a9fd2685 100644--- a/crates/rendering/src/lib.rs+++ b/crates/rendering/src/lib.rs@@ -1071,6 +1071,7 @@ pub struct ProjectUniforms {pub cursor_size: f32,pub frame_rate: u32,pub frame_number: u32,+ pub recording_time: f64,display: CompositeVideoFrameUniforms,camera: Option<CompositeVideoFrameUniforms>,camera_only: Option<CompositeVideoFrameUniforms>,@@ -2187,6 +2188,7 @@ impl ProjectUniforms {interpolated_cursor,frame_rate: fps,frame_number,+ recording_time: current_recording_time as f64,prev_cursor: prev_interpolated_cursor,display_parent_motion_px: display_motion_parent,motion_blur_amount: cursor_motion_blur,