FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(webgpu): expose GPUQuerySet.destroy (#145) · NativeScript/canvas@2bc5637 · GitHub

Repository navigation

Commit 2bc5637

Browse files
authored
fix(webgpu): expose GPUQuerySet.destroy (#145)
1 parent f2f6a56 commit 2bc5637

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎packages/canvas/WebGPU/GPUQuerySet.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ export class GPUQuerySet {
77
return this[native_]?.label ?? '';
88
}
99

10+
destroy() {
11+
this[native_]?.destroy?.();
12+
}
13+
1014
static fromNative(query) {
1115
if (query) {
1216
const ret = new GPUQuerySet();

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL