Skip to main content

try_create_device

Function try_create_device 

Source
pub fn try_create_device() -> Option<(Device, Queue)>
Expand description

Try to create a wgpu device and queue. Returns None if no GPU adapter is available.