target
fun target(presentation: NativeCanvasPresentation, token: NativeCanvasToken): NativeCanvasTarget(source)
Borrows one target while the versioned presenter emits its queued GUI draw command.
The returned target must not escape that native callback or be stored in a core frame.
Return
borrowed matching target, valid through this batch's native GUI consumption.
Parameters
presentation
the currently queued presentation.
token
immutable generation identifier belonging to that presentation.
Throws
when either identity is foreign or expired.