pixi.js
    Preparing search index...

    Function isWebGPUSupported

    • Helper for checking for WebGPU support in the current environment. Results are cached after first call for better performance.

      Parameters

      • options: GPURequestAdapterOptions = {}

        The options for requesting a GPU adapter

      Returns Promise<boolean>

      Promise that resolves to true if WebGPU is supported

      // Basic WebGPU support check
      const hasWebGPU = await isWebGPUSupported();
      console.log('WebGPU available:', hasWebGPU);