Published release 0.2.1. Unreleased PR #2 reference.
LOOM 0.2.1 / RENDERING, VIEWPORTS, AND COMPOSITION
RenderBackend
Receives whole presentation operations without owning terminal modes or input.
Throwing may mean partial output. The driver invalidates its frame and requires an explicit inline reanchor whenever an operation could have scrolled.
Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.
Members on this page
Feature guides and release status
RenderBackend
protocol RenderBackendReceives whole presentation operations without owning terminal modes or input.
Throwing may mean partial output. The driver invalidates its frame and requires an explicit inline reanchor whenever an operation could have scrolled.
Source · RenderBackend.swift:67render(_:)
mutating func render(_ update: RenderUpdate) throws -> RenderStatsPresents the semantic operation or throws. A failure may follow partial output; the driver invalidates its snapshot.
Parameters (1)
update- Argument type and any default are shown in the declaration; see the behavior notes above.
Returns RenderStats.
reset()
mutating func reset()Discards backend assumptions without clearing the physical surface. The protocol supplies an empty default implementation.
Source · RenderBackend.swift:69reset()
mutating func reset()Discards backend assumptions without clearing the physical surface. The protocol supplies an empty default implementation.
Source · RenderBackend.swift:73