@@ -14950,6 +14950,82 @@ declare var GPUSupportedFeatures: {
1495014950 new(): GPUSupportedFeatures;
1495114951};
1495214952
14953+ /**
14954+ * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter.
14955+ * Available only in secure contexts.
14956+ *
14957+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits)
14958+ */
14959+ interface GPUSupportedLimits {
14960+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14961+ readonly maxBindGroups: number;
14962+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14963+ readonly maxBindGroupsPlusVertexBuffers: number;
14964+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14965+ readonly maxBindingsPerBindGroup: number;
14966+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14967+ readonly maxBufferSize: number;
14968+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14969+ readonly maxColorAttachmentBytesPerSample: number;
14970+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14971+ readonly maxColorAttachments: number;
14972+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14973+ readonly maxComputeInvocationsPerWorkgroup: number;
14974+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14975+ readonly maxComputeWorkgroupSizeX: number;
14976+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14977+ readonly maxComputeWorkgroupSizeY: number;
14978+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14979+ readonly maxComputeWorkgroupSizeZ: number;
14980+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14981+ readonly maxComputeWorkgroupStorageSize: number;
14982+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14983+ readonly maxComputeWorkgroupsPerDimension: number;
14984+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14985+ readonly maxDynamicStorageBuffersPerPipelineLayout: number;
14986+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14987+ readonly maxDynamicUniformBuffersPerPipelineLayout: number;
14988+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14989+ readonly maxInterStageShaderVariables: number;
14990+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14991+ readonly maxSampledTexturesPerShaderStage: number;
14992+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14993+ readonly maxSamplersPerShaderStage: number;
14994+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14995+ readonly maxStorageBufferBindingSize: number;
14996+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14997+ readonly maxStorageBuffersPerShaderStage: number;
14998+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
14999+ readonly maxStorageTexturesPerShaderStage: number;
15000+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15001+ readonly maxTextureArrayLayers: number;
15002+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15003+ readonly maxTextureDimension1D: number;
15004+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15005+ readonly maxTextureDimension2D: number;
15006+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15007+ readonly maxTextureDimension3D: number;
15008+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15009+ readonly maxUniformBufferBindingSize: number;
15010+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15011+ readonly maxUniformBuffersPerShaderStage: number;
15012+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15013+ readonly maxVertexAttributes: number;
15014+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15015+ readonly maxVertexBufferArrayStride: number;
15016+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15017+ readonly maxVertexBuffers: number;
15018+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15019+ readonly minStorageBufferOffsetAlignment: number;
15020+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
15021+ readonly minUniformBufferOffsetAlignment: number;
15022+ }
15023+
15024+ declare var GPUSupportedLimits: {
15025+ prototype: GPUSupportedLimits;
15026+ new(): GPUSupportedLimits;
15027+ };
15028+
1495315029/**
1495415030 * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture.
1495515031 * Available only in secure contexts.
0 commit comments