class GPU Methods getPreferredCanvasFormat(): GPUTextureFormat requestAdapter(options?: GPURequestAdapterOptions): Promise<GPUAdapter | null>