summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.deno_webgpu.d.ts
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-01-27 23:10:09 +0530
committerGitHub <noreply@github.com>2024-01-27 23:10:09 +0530
commitcc0a3721275398a5b081ba5ee8e13fa2410ada04 (patch)
tree338e611ff68ca02fcc8a92de7774f1e5df639478 /cli/tsc/dts/lib.deno_webgpu.d.ts
parentbde2028d837cba3511df86ef7c67ee21eeb1ea0e (diff)
feat(unstable): implement `navigator.gpu.getPreferredCanvasFormat()` (#22149)
Diffstat (limited to 'cli/tsc/dts/lib.deno_webgpu.d.ts')
-rw-r--r--cli/tsc/dts/lib.deno_webgpu.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno_webgpu.d.ts b/cli/tsc/dts/lib.deno_webgpu.d.ts
index 50d9ecfb6..74fa7c907 100644
--- a/cli/tsc/dts/lib.deno_webgpu.d.ts
+++ b/cli/tsc/dts/lib.deno_webgpu.d.ts
@@ -78,6 +78,7 @@ declare class GPU {
requestAdapter(
options?: GPURequestAdapterOptions,
): Promise<GPUAdapter | null>;
+ getPreferredCanvasFormat(): GPUTextureFormat;
}
/** @category WebGPU */