MingaEditor.RenderPipeline.ComposedFrame (Minga v0.1.0)

Copy Markdown View Source

Product of the Compose stage: the flattened semantic frame the Emit stage encodes.

Holds the frame's RenderModel.Window list (already flattened across every editor window) and the single resolved RenderModel.Cursor. The top-level RenderModel.Builder reads these two fields directly, so this struct is the literal pipeline product handed to frontend adapters (#2241). Chrome and UI surfaces ride alongside via the Chrome struct passed to the builder, not through this frame.

Summary

Functions

Builds a composed frame from the flattened window list and resolved cursor.

Types

t()

@type t() :: %MingaEditor.RenderPipeline.ComposedFrame{
  cursor: Minga.RenderModel.Cursor.t(),
  windows: [Minga.RenderModel.Window.t()]
}

Functions

new(windows, cursor)

Builds a composed frame from the flattened window list and resolved cursor.