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.
pub fn wgpu_device() -> Option<&'static WgpuDevice>Get or initialize the global wgpu device singleton. Returns None on systems with no compatible adapter.