@maplibre/native-ffi
    Preparing search index...

    Function webGpuTextureFormat

    • Returns the WGPUTextureFormat value of a GPUTextureFormat name, such as navigator.gpu.getPreferredCanvasFormat().

      Throws a RangeError for an unknown name.

      Parameters

      • format: string

      Returns number