isolatedWithTarget

fun Drawer.isolatedWithTarget(target: RenderTarget, function: Drawer.() -> Unit)

Pushes style, view- and projection matrix, sets render target, calls function and pops,

Parameters

function

the function that is called in the isolation