renderTo

abstract fun renderTo(output: MutableList<RenderCommand>, context: RenderContext)

Render this node and its children into the given accumulator list. Eliminates intermediate list allocations compared to a returning render() method.