flush

fun flush(viewProjection: Mat4)

Renders the text to a stencil buffer in order to flip the pixels the correct way and then renders to the color buffer. This does not use any antialiasing. The color of the text passed in queue will be rendered.

Parameters

viewProjection

the combined view projection matrix to render the text