Skip to main content

print_wgpu_backend

Function print_wgpu_backend 

Source
pub fn print_wgpu_backend(device: &Device)
Expand description

Logs the active wgpu backend to stderr.

Equivalent to eprintln!("[wgpu] backend: {}", backend_name(device)). Prefer backend_name when you want to route the value to a logger.