Crate webgpu_check

Source
Expand description

Easily detect if WebGPU is supported on the current target platform.

§Usage

if !webgpu_check::is_webgpu_available() {
    panic!("This platform doesn't support WebGPU!");
}
// Proceed to run your WebGPU application...

Functions§

is_webgpu_available
Detect if WebGPU is supported on this target.