flush

fun flush(kind: RenderContext.FlushKind = FlushKind.FULL)

Flushes all the pending renderings. This is called automatically at the end of the frame. You should call this if you plan to render something else not managed via batch, so all the pending vertices are drawn.