diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-16 20:31:59 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-16 20:31:59 -0300 |
| commit | 82fca5c9f29124f37f6dcd08e73e6999ce44a69d (patch) | |
| tree | b3d5487659aa933d47699e5e420fa6140b0b75f3 /src/abi.zig | |
| parent | e77b01d4b5504cea08a3f88cf8502897d868a1d3 (diff) | |
| download | sketchbook-82fca5c9f29124f37f6dcd08e73e6999ce44a69d.tar.gz sketchbook-82fca5c9f29124f37f6dcd08e73e6999ce44a69d.zip | |
Add display-paced frame timing and presentation feedback in Zig
Diffstat (limited to 'src/abi.zig')
| -rw-r--r-- | src/abi.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/abi.zig b/src/abi.zig index 2eed3a7..d91fa23 100644 --- a/src/abi.zig +++ b/src/abi.zig @@ -164,7 +164,8 @@ pub const Stream = struct { pub const Input = struct { /// In `update`, the frame's tick time (`Event.time`: since the /// recording began while recording or replaying); in `draw`, the host - /// clock, or the playback position. + /// clock, or the playback position. Interactive native frames align + /// this clock and dt to display refresh when feedback is available. now: u64 = 0, /// In `update`, the frame's tick `dt` (`Event.tickDt`), the same live /// and replayed; in `draw`, likewise for the frame just updated. |
