Skip to content

Commit 33dbb85

Browse files
authored
Add GPUQuerySet (#2382)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent 83d7770 commit 33dbb85

17 files changed

+528
-3
lines changed

baselines/dom.generated.d.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15068,6 +15068,38 @@ declare var GPUPipelineLayout: {
1506815068
new(): GPUPipelineLayout;
1506915069
};
1507015070

15071+
/**
15072+
* The **`GPUQuerySet`** interface of the WebGPU API is used to record the results of queries on passes, such as occlusion or timestamp queries.
15073+
* Available only in secure contexts.
15074+
*
15075+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet)
15076+
*/
15077+
interface GPUQuerySet extends GPUObjectBase {
15078+
/**
15079+
* The **`count`** read-only property of the GPUQuerySet interface is a number specifying the number of queries managed by the GPUQuerySet.
15080+
*
15081+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/count)
15082+
*/
15083+
readonly count: GPUSize32Out;
15084+
/**
15085+
* The **`type`** read-only property of the GPUQuerySet interface is an enumerated value specifying the type of queries managed by the GPUQuerySet.
15086+
*
15087+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/type)
15088+
*/
15089+
readonly type: GPUQueryType;
15090+
/**
15091+
* The **`destroy()`** method of the GPUQuerySet interface destroys the GPUQuerySet.
15092+
*
15093+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/destroy)
15094+
*/
15095+
destroy(): void;
15096+
}
15097+
15098+
declare var GPUQuerySet: {
15099+
prototype: GPUQuerySet;
15100+
new(): GPUQuerySet;
15101+
};
15102+
1507115103
/**
1507215104
* The **`GPURenderBundle`** interface of the WebGPU API represents a container for pre-recorded bundles of commands.
1507315105
* Available only in secure contexts.
@@ -43276,6 +43308,7 @@ type GPUBufferMapState = "mapped" | "pending" | "unmapped";
4327643308
type GPUCompilationMessageType = "error" | "info" | "warning";
4327743309
type GPUDeviceLostReason = "destroyed" | "unknown";
4327843310
type GPUPipelineErrorReason = "internal" | "validation";
43311+
type GPUQueryType = "occlusion" | "timestamp";
4327943312
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
4328043313
type GPUTextureDimension = "1d" | "2d" | "3d";
4328143314
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";

baselines/serviceworker.generated.d.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4511,6 +4511,38 @@ declare var GPUPipelineLayout: {
45114511
new(): GPUPipelineLayout;
45124512
};
45134513

4514+
/**
4515+
* The **`GPUQuerySet`** interface of the WebGPU API is used to record the results of queries on passes, such as occlusion or timestamp queries.
4516+
* Available only in secure contexts.
4517+
*
4518+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet)
4519+
*/
4520+
interface GPUQuerySet extends GPUObjectBase {
4521+
/**
4522+
* The **`count`** read-only property of the GPUQuerySet interface is a number specifying the number of queries managed by the GPUQuerySet.
4523+
*
4524+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/count)
4525+
*/
4526+
readonly count: GPUSize32Out;
4527+
/**
4528+
* The **`type`** read-only property of the GPUQuerySet interface is an enumerated value specifying the type of queries managed by the GPUQuerySet.
4529+
*
4530+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/type)
4531+
*/
4532+
readonly type: GPUQueryType;
4533+
/**
4534+
* The **`destroy()`** method of the GPUQuerySet interface destroys the GPUQuerySet.
4535+
*
4536+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/destroy)
4537+
*/
4538+
destroy(): void;
4539+
}
4540+
4541+
declare var GPUQuerySet: {
4542+
prototype: GPUQuerySet;
4543+
new(): GPUQuerySet;
4544+
};
4545+
45144546
/**
45154547
* The **`GPURenderBundle`** interface of the WebGPU API represents a container for pre-recorded bundles of commands.
45164548
* Available only in secure contexts.
@@ -12417,6 +12449,7 @@ type GPUBufferMapState = "mapped" | "pending" | "unmapped";
1241712449
type GPUCompilationMessageType = "error" | "info" | "warning";
1241812450
type GPUDeviceLostReason = "destroyed" | "unknown";
1241912451
type GPUPipelineErrorReason = "internal" | "validation";
12452+
type GPUQueryType = "occlusion" | "timestamp";
1242012453
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
1242112454
type GPUTextureDimension = "1d" | "2d" | "3d";
1242212455
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";

baselines/sharedworker.generated.d.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4194,6 +4194,38 @@ declare var GPUPipelineLayout: {
41944194
new(): GPUPipelineLayout;
41954195
};
41964196

4197+
/**
4198+
* The **`GPUQuerySet`** interface of the WebGPU API is used to record the results of queries on passes, such as occlusion or timestamp queries.
4199+
* Available only in secure contexts.
4200+
*
4201+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet)
4202+
*/
4203+
interface GPUQuerySet extends GPUObjectBase {
4204+
/**
4205+
* The **`count`** read-only property of the GPUQuerySet interface is a number specifying the number of queries managed by the GPUQuerySet.
4206+
*
4207+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/count)
4208+
*/
4209+
readonly count: GPUSize32Out;
4210+
/**
4211+
* The **`type`** read-only property of the GPUQuerySet interface is an enumerated value specifying the type of queries managed by the GPUQuerySet.
4212+
*
4213+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/type)
4214+
*/
4215+
readonly type: GPUQueryType;
4216+
/**
4217+
* The **`destroy()`** method of the GPUQuerySet interface destroys the GPUQuerySet.
4218+
*
4219+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/destroy)
4220+
*/
4221+
destroy(): void;
4222+
}
4223+
4224+
declare var GPUQuerySet: {
4225+
prototype: GPUQuerySet;
4226+
new(): GPUQuerySet;
4227+
};
4228+
41974229
/**
41984230
* The **`GPURenderBundle`** interface of the WebGPU API represents a container for pre-recorded bundles of commands.
41994231
* Available only in secure contexts.
@@ -12083,6 +12115,7 @@ type GPUBufferMapState = "mapped" | "pending" | "unmapped";
1208312115
type GPUCompilationMessageType = "error" | "info" | "warning";
1208412116
type GPUDeviceLostReason = "destroyed" | "unknown";
1208512117
type GPUPipelineErrorReason = "internal" | "validation";
12118+
type GPUQueryType = "occlusion" | "timestamp";
1208612119
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
1208712120
type GPUTextureDimension = "1d" | "2d" | "3d";
1208812121
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";

baselines/ts5.5/dom.generated.d.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15054,6 +15054,38 @@ declare var GPUPipelineLayout: {
1505415054
new(): GPUPipelineLayout;
1505515055
};
1505615056

15057+
/**
15058+
* The **`GPUQuerySet`** interface of the WebGPU API is used to record the results of queries on passes, such as occlusion or timestamp queries.
15059+
* Available only in secure contexts.
15060+
*
15061+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet)
15062+
*/
15063+
interface GPUQuerySet extends GPUObjectBase {
15064+
/**
15065+
* The **`count`** read-only property of the GPUQuerySet interface is a number specifying the number of queries managed by the GPUQuerySet.
15066+
*
15067+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/count)
15068+
*/
15069+
readonly count: GPUSize32Out;
15070+
/**
15071+
* The **`type`** read-only property of the GPUQuerySet interface is an enumerated value specifying the type of queries managed by the GPUQuerySet.
15072+
*
15073+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/type)
15074+
*/
15075+
readonly type: GPUQueryType;
15076+
/**
15077+
* The **`destroy()`** method of the GPUQuerySet interface destroys the GPUQuerySet.
15078+
*
15079+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/destroy)
15080+
*/
15081+
destroy(): void;
15082+
}
15083+
15084+
declare var GPUQuerySet: {
15085+
prototype: GPUQuerySet;
15086+
new(): GPUQuerySet;
15087+
};
15088+
1505715089
/**
1505815090
* The **`GPURenderBundle`** interface of the WebGPU API represents a container for pre-recorded bundles of commands.
1505915091
* Available only in secure contexts.
@@ -43250,6 +43282,7 @@ type GPUBufferMapState = "mapped" | "pending" | "unmapped";
4325043282
type GPUCompilationMessageType = "error" | "info" | "warning";
4325143283
type GPUDeviceLostReason = "destroyed" | "unknown";
4325243284
type GPUPipelineErrorReason = "internal" | "validation";
43285+
type GPUQueryType = "occlusion" | "timestamp";
4325343286
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
4325443287
type GPUTextureDimension = "1d" | "2d" | "3d";
4325543288
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";

baselines/ts5.5/serviceworker.generated.d.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4508,6 +4508,38 @@ declare var GPUPipelineLayout: {
45084508
new(): GPUPipelineLayout;
45094509
};
45104510

4511+
/**
4512+
* The **`GPUQuerySet`** interface of the WebGPU API is used to record the results of queries on passes, such as occlusion or timestamp queries.
4513+
* Available only in secure contexts.
4514+
*
4515+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet)
4516+
*/
4517+
interface GPUQuerySet extends GPUObjectBase {
4518+
/**
4519+
* The **`count`** read-only property of the GPUQuerySet interface is a number specifying the number of queries managed by the GPUQuerySet.
4520+
*
4521+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/count)
4522+
*/
4523+
readonly count: GPUSize32Out;
4524+
/**
4525+
* The **`type`** read-only property of the GPUQuerySet interface is an enumerated value specifying the type of queries managed by the GPUQuerySet.
4526+
*
4527+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/type)
4528+
*/
4529+
readonly type: GPUQueryType;
4530+
/**
4531+
* The **`destroy()`** method of the GPUQuerySet interface destroys the GPUQuerySet.
4532+
*
4533+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/destroy)
4534+
*/
4535+
destroy(): void;
4536+
}
4537+
4538+
declare var GPUQuerySet: {
4539+
prototype: GPUQuerySet;
4540+
new(): GPUQuerySet;
4541+
};
4542+
45114543
/**
45124544
* The **`GPURenderBundle`** interface of the WebGPU API represents a container for pre-recorded bundles of commands.
45134545
* Available only in secure contexts.
@@ -12414,6 +12446,7 @@ type GPUBufferMapState = "mapped" | "pending" | "unmapped";
1241412446
type GPUCompilationMessageType = "error" | "info" | "warning";
1241512447
type GPUDeviceLostReason = "destroyed" | "unknown";
1241612448
type GPUPipelineErrorReason = "internal" | "validation";
12449+
type GPUQueryType = "occlusion" | "timestamp";
1241712450
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
1241812451
type GPUTextureDimension = "1d" | "2d" | "3d";
1241912452
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";

0 commit comments

Comments
 (0)