apply

fun apply(context: Context, centerCamera: Boolean = false)

Sets the OpenGL viewport based on viewport and virtual sizes by calling GL.viewport.