MingaEditor.Renderer.FrameAttempt (Minga v0.1.0)

Copy Markdown View Source

Carries one renderer attempt identity across scheduling and recovery.

Summary

Types

t()

@type t() :: %MingaEditor.Renderer.FrameAttempt{
  intent: MingaEditor.RenderPipeline.Intent.t(),
  pushed_at: integer(),
  seq: non_neg_integer()
}

Functions

force_keyframe(attempt)

@spec force_keyframe(t()) :: t()

latest(pending, fallback)

@spec latest(t() | nil, t()) :: t()

new(intent, seq, pushed_at)