burn::backend::wgpu

Function init_setup_async

pub async fn init_setup_async<G>(
    device: &WgpuDevice,
    options: RuntimeOptions,
) -> WgpuSetup
where G: GraphicsApi,
Expand description

Initialize a client on the given device with the given options. This function is useful to configure the runtime options or to pick a different graphics API.