Skip to main content

set_offscreen

Function set_offscreen 

Source
pub fn set_offscreen(ctx: &Context, render: Option<Offscreen>)
Expand description

Render screenshots with render instead of asking the backend to capture a presented frame (None: the backend’s ViewportCommand::Screenshot).