openrndr / org.openrndr.draw / isolated

isolated

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

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

Parameters

function - the function that is called in the isolation