|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
One frame's snapshot: continuous input state + any discrete events that fired during the frame. More...
#include "donner/editor/repro/ReproFile.h"
Public Attributes | |
| std::uint64_t | index = 0 |
| Monotonic frame index starting at 0. | |
| double | timestampSeconds = 0.0 |
| Seconds since the recording started. | |
| double | deltaMs = 0.0 |
| ImGui delta-time value that the frame advanced by, in milliseconds. Replayer uses this to set ImGuiIO::DeltaTime. | |
| double | mouseX = 0.0 |
| Current mouse position in logical window coordinates. | |
| double | mouseY = 0.0 |
| int | mouseButtonMask = 0 |
| Bitmask of currently-held mouse buttons. Bit N set means button N down. | |
| int | modifiers = 0 |
| Current modifier bitmask (see ReproEvent::modifiers). | |
| std::vector< ReproEvent > | events |
| Discrete events that fired during this frame, in arrival order. | |
One frame's snapshot: continuous input state + any discrete events that fired during the frame.
| double donner::editor::repro::ReproFrame::deltaMs = 0.0 |
ImGui delta-time value that the frame advanced by, in milliseconds. Replayer uses this to set ImGuiIO::DeltaTime.
| std::vector<ReproEvent> donner::editor::repro::ReproFrame::events |
Discrete events that fired during this frame, in arrival order.
| std::uint64_t donner::editor::repro::ReproFrame::index = 0 |
Monotonic frame index starting at 0.
| int donner::editor::repro::ReproFrame::modifiers = 0 |
Current modifier bitmask (see ReproEvent::modifiers).
| int donner::editor::repro::ReproFrame::mouseButtonMask = 0 |
Bitmask of currently-held mouse buttons. Bit N set means button N down.
| double donner::editor::repro::ReproFrame::mouseX = 0.0 |
Current mouse position in logical window coordinates.
| double donner::editor::repro::ReproFrame::mouseY = 0.0 |
| double donner::editor::repro::ReproFrame::timestampSeconds = 0.0 |
Seconds since the recording started.