• Check if WebGPU API is available in the current browser

    Returns boolean

    true if WebGPU is supported, false otherwise

    Example

    if (isWebGPUAvailable()) {
    console.log('WebGPU is supported!');
    } else {
    console.log('WebGPU not available, using fallback');
    }