Skip to main content

wgpu_device

Function wgpu_device 

Source
pub fn wgpu_device() -> Option<&'static WgpuDevice>
Expand description

Get or initialize the global wgpu device singleton. Returns None on systems with no compatible adapter.