Profile Renderer
Renders a profile's clips into their handoffs: each clip runs through its ClipPipeline against the profile's cache, and its handoff is written by HandoffWriter, which keeps whatever the artist has painted. A clip whose stages are all cached renders without decoding or computing anything.
Clips render in order and the first that cannot stops the render; handoffs already written stay.
Types
Functions
Link copied to clipboard
fun render(profile: Profile, folder: ProfileFolder, clips: List<Clip> = profile.clips, onClipDone: (done: Int, total: Int) -> Unit = { _, _ -> }): ProfileRenderer.Report
Renders clips — all of profile's unless told otherwise — of the profile stored in folder. onClipDone is told how many of the clips are written, after each one.