renderTarget
Change where dvui renders. Can pass output from dvui.textureCreateTarget or
null for the screen. Returns the previous target/offset.
offset will be subtracted from all dvui rendering, useful as the point on the screen the texture will map to.
Useful for caching expensive renders or to save a render for export. See
Picture.
Only valid between Window.beginand Window.end.
Parameters
- target:Target
- Target