DirectedVisualizerSurface
fun DirectedVisualizerSurface(director: VizDirector, frame: () -> SpectrumFrame, palette: VizPalette, modifier: Modifier = Modifier, future: VizFuture? = null, post: Boolean = true, switches: PostSwitches = PostSwitches.All, stats: RenderStats? = null, quality: RenderQuality? = null, reducedMotion: Boolean = false, visible: Boolean = true, framesPerSecond: Int = 0)
The same surface, with a director deciding what to show and how to change to it.
During a change drawings with history keep their own feedback buffers. Other drawings stay on the destination canvas, including its GPU, and layer masks mix them without CPU snapshots. The two grounds and the two fronts are faded into each other on the canvas.