isolated

fun Drawer.isolated(function: Drawer.() -> Unit)

Pushes style, view- and projection matrix, calls function and pops.

Parameters

function

the function that is called in the isolation