AdvancedOptions for the recording
StaticdefaultDefaults for every new GraphDebugRecording; an option passed as undefined keeps its default
Whether frames are currently being recorded
Frames recorded so far, in capture order
Maximum number of frames one recording stores before stopping itself
Stores a frame while recording; the frame that reaches the cap stops the recording
The frame's snapshot
Capture time in milliseconds
Begin a new recording, discarding any previously recorded frames
Start time in milliseconds; recorded elapsedMs values are relative to it
Stop the active recording, keeping the recorded frames
Stop time in milliseconds, closing the recording's duration
Why the recording stopped
Returns the recording as JSON-serialisable data
Stores one GraphDebugSnapshot per rendered frame, up to a frame cap
It captures nothing itself: pass each frame's snapshot to GraphDebugRecording#record between GraphDebugRecording#start and GraphDebugRecording#stop.