isolated

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

Pushes style and model-view-projection matrices, calls function and pops.

Parameters

function

the function that is called in the isolation