Create a renderer drawing into an offscreen texture of width by height pixels, for tests and
screenshots. Returns null if no adapter is available.
- width: the target width in pixels.
- height: the target height in pixels.
create_offscreen_renderer :: (width: int, height: int) -> *Renderer
Create a renderer drawing into an offscreen texture of width by height pixels, for tests and
screenshots. Returns null if no adapter is available.
Parameters
- width: int
- the target width in pixels.
- height: int
- the target height in pixels.