FrameHistoryStream

Yields the frames renderer presented since the last getNewFrames, tracking the last processed frame ID and reporting the IDs of frames that went missing. Keep one alive across frames and close it when done.

Constructors

Link copied to clipboard
constructor(renderer: Renderer)

Types

Link copied to clipboard
data class Result(val frameId: Int, val frameInfo: Renderer.FrameInfo?)

A presented frame's frameInfo, or a missing frame (null frameInfo) with its frameId.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard

The frames new since the last call, oldest first; frames still awaiting presentation timing come later.