Skip to main content

web_sys/features/
gen_GpuSupportedLimits.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[cfg(web_sys_unstable_apis)]
6#[wasm_bindgen]
7extern "C" {
8    #[wasm_bindgen(
9        extends = "::js_sys::Object",
10        js_name = "GPUSupportedLimits",
11        typescript_type = "GPUSupportedLimits"
12    )]
13    #[derive(Debug, Clone, PartialEq, Eq)]
14    #[doc = "The `GpuSupportedLimits` class."]
15    #[doc = ""]
16    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits)"]
17    #[doc = ""]
18    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
19    #[doc = ""]
20    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
21    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
22    pub type GpuSupportedLimits;
23    #[cfg(web_sys_unstable_apis)]
24    #[wasm_bindgen(
25        method,
26        getter,
27        js_class = "GPUSupportedLimits",
28        js_name = "maxTextureDimension1D"
29    )]
30    #[doc = "Getter for the `maxTextureDimension1D` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension1D)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
35    #[doc = ""]
36    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
37    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
38    pub fn max_texture_dimension_1d(this: &GpuSupportedLimits) -> u32;
39    #[cfg(web_sys_unstable_apis)]
40    #[wasm_bindgen(
41        method,
42        getter,
43        js_class = "GPUSupportedLimits",
44        js_name = "maxTextureDimension2D"
45    )]
46    #[doc = "Getter for the `maxTextureDimension2D` field of this object."]
47    #[doc = ""]
48    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension2D)"]
49    #[doc = ""]
50    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
51    #[doc = ""]
52    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
53    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
54    pub fn max_texture_dimension_2d(this: &GpuSupportedLimits) -> u32;
55    #[cfg(web_sys_unstable_apis)]
56    #[wasm_bindgen(
57        method,
58        getter,
59        js_class = "GPUSupportedLimits",
60        js_name = "maxTextureDimension3D"
61    )]
62    #[doc = "Getter for the `maxTextureDimension3D` field of this object."]
63    #[doc = ""]
64    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension3D)"]
65    #[doc = ""]
66    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
67    #[doc = ""]
68    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
69    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
70    pub fn max_texture_dimension_3d(this: &GpuSupportedLimits) -> u32;
71    #[cfg(web_sys_unstable_apis)]
72    #[wasm_bindgen(
73        method,
74        getter,
75        js_class = "GPUSupportedLimits",
76        js_name = "maxTextureArrayLayers"
77    )]
78    #[doc = "Getter for the `maxTextureArrayLayers` field of this object."]
79    #[doc = ""]
80    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureArrayLayers)"]
81    #[doc = ""]
82    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
83    #[doc = ""]
84    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
85    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
86    pub fn max_texture_array_layers(this: &GpuSupportedLimits) -> u32;
87    #[cfg(web_sys_unstable_apis)]
88    #[wasm_bindgen(
89        method,
90        getter,
91        js_class = "GPUSupportedLimits",
92        js_name = "maxBindGroups"
93    )]
94    #[doc = "Getter for the `maxBindGroups` field of this object."]
95    #[doc = ""]
96    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBindGroups)"]
97    #[doc = ""]
98    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
99    #[doc = ""]
100    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
101    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
102    pub fn max_bind_groups(this: &GpuSupportedLimits) -> u32;
103    #[cfg(web_sys_unstable_apis)]
104    #[wasm_bindgen(
105        method,
106        getter,
107        js_class = "GPUSupportedLimits",
108        js_name = "maxBindGroupsPlusVertexBuffers"
109    )]
110    #[doc = "Getter for the `maxBindGroupsPlusVertexBuffers` field of this object."]
111    #[doc = ""]
112    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBindGroupsPlusVertexBuffers)"]
113    #[doc = ""]
114    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
115    #[doc = ""]
116    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
117    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
118    pub fn max_bind_groups_plus_vertex_buffers(this: &GpuSupportedLimits) -> u32;
119    #[cfg(web_sys_unstable_apis)]
120    #[wasm_bindgen(
121        method,
122        getter,
123        js_class = "GPUSupportedLimits",
124        js_name = "maxBindingsPerBindGroup"
125    )]
126    #[doc = "Getter for the `maxBindingsPerBindGroup` field of this object."]
127    #[doc = ""]
128    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBindingsPerBindGroup)"]
129    #[doc = ""]
130    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
131    #[doc = ""]
132    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
133    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
134    pub fn max_bindings_per_bind_group(this: &GpuSupportedLimits) -> u32;
135    #[cfg(web_sys_unstable_apis)]
136    #[wasm_bindgen(
137        method,
138        getter,
139        js_class = "GPUSupportedLimits",
140        js_name = "maxDynamicUniformBuffersPerPipelineLayout"
141    )]
142    #[doc = "Getter for the `maxDynamicUniformBuffersPerPipelineLayout` field of this object."]
143    #[doc = ""]
144    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxDynamicUniformBuffersPerPipelineLayout)"]
145    #[doc = ""]
146    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
147    #[doc = ""]
148    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
149    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
150    pub fn max_dynamic_uniform_buffers_per_pipeline_layout(this: &GpuSupportedLimits) -> u32;
151    #[cfg(web_sys_unstable_apis)]
152    #[wasm_bindgen(
153        method,
154        getter,
155        js_class = "GPUSupportedLimits",
156        js_name = "maxDynamicStorageBuffersPerPipelineLayout"
157    )]
158    #[doc = "Getter for the `maxDynamicStorageBuffersPerPipelineLayout` field of this object."]
159    #[doc = ""]
160    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxDynamicStorageBuffersPerPipelineLayout)"]
161    #[doc = ""]
162    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
163    #[doc = ""]
164    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
165    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
166    pub fn max_dynamic_storage_buffers_per_pipeline_layout(this: &GpuSupportedLimits) -> u32;
167    #[cfg(web_sys_unstable_apis)]
168    #[wasm_bindgen(
169        method,
170        getter,
171        js_class = "GPUSupportedLimits",
172        js_name = "maxSampledTexturesPerShaderStage"
173    )]
174    #[doc = "Getter for the `maxSampledTexturesPerShaderStage` field of this object."]
175    #[doc = ""]
176    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxSampledTexturesPerShaderStage)"]
177    #[doc = ""]
178    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
179    #[doc = ""]
180    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
181    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
182    pub fn max_sampled_textures_per_shader_stage(this: &GpuSupportedLimits) -> u32;
183    #[cfg(web_sys_unstable_apis)]
184    #[wasm_bindgen(
185        method,
186        getter,
187        js_class = "GPUSupportedLimits",
188        js_name = "maxSamplersPerShaderStage"
189    )]
190    #[doc = "Getter for the `maxSamplersPerShaderStage` field of this object."]
191    #[doc = ""]
192    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxSamplersPerShaderStage)"]
193    #[doc = ""]
194    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
195    #[doc = ""]
196    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
197    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
198    pub fn max_samplers_per_shader_stage(this: &GpuSupportedLimits) -> u32;
199    #[cfg(web_sys_unstable_apis)]
200    #[wasm_bindgen(
201        method,
202        getter,
203        js_class = "GPUSupportedLimits",
204        js_name = "maxStorageBuffersPerShaderStage"
205    )]
206    #[doc = "Getter for the `maxStorageBuffersPerShaderStage` field of this object."]
207    #[doc = ""]
208    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageBuffersPerShaderStage)"]
209    #[doc = ""]
210    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
211    #[doc = ""]
212    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
213    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
214    pub fn max_storage_buffers_per_shader_stage(this: &GpuSupportedLimits) -> u32;
215    #[cfg(web_sys_unstable_apis)]
216    #[wasm_bindgen(
217        method,
218        getter,
219        js_class = "GPUSupportedLimits",
220        js_name = "maxStorageBuffersInVertexStage"
221    )]
222    #[doc = "Getter for the `maxStorageBuffersInVertexStage` field of this object."]
223    #[doc = ""]
224    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageBuffersInVertexStage)"]
225    #[doc = ""]
226    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
227    #[doc = ""]
228    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
229    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
230    pub fn max_storage_buffers_in_vertex_stage(this: &GpuSupportedLimits) -> u32;
231    #[cfg(web_sys_unstable_apis)]
232    #[wasm_bindgen(
233        method,
234        getter,
235        js_class = "GPUSupportedLimits",
236        js_name = "maxStorageBuffersInFragmentStage"
237    )]
238    #[doc = "Getter for the `maxStorageBuffersInFragmentStage` field of this object."]
239    #[doc = ""]
240    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageBuffersInFragmentStage)"]
241    #[doc = ""]
242    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
243    #[doc = ""]
244    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
245    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
246    pub fn max_storage_buffers_in_fragment_stage(this: &GpuSupportedLimits) -> u32;
247    #[cfg(web_sys_unstable_apis)]
248    #[wasm_bindgen(
249        method,
250        getter,
251        js_class = "GPUSupportedLimits",
252        js_name = "maxStorageTexturesPerShaderStage"
253    )]
254    #[doc = "Getter for the `maxStorageTexturesPerShaderStage` field of this object."]
255    #[doc = ""]
256    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageTexturesPerShaderStage)"]
257    #[doc = ""]
258    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
259    #[doc = ""]
260    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
261    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
262    pub fn max_storage_textures_per_shader_stage(this: &GpuSupportedLimits) -> u32;
263    #[cfg(web_sys_unstable_apis)]
264    #[wasm_bindgen(
265        method,
266        getter,
267        js_class = "GPUSupportedLimits",
268        js_name = "maxStorageTexturesInVertexStage"
269    )]
270    #[doc = "Getter for the `maxStorageTexturesInVertexStage` field of this object."]
271    #[doc = ""]
272    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageTexturesInVertexStage)"]
273    #[doc = ""]
274    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
275    #[doc = ""]
276    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
277    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
278    pub fn max_storage_textures_in_vertex_stage(this: &GpuSupportedLimits) -> u32;
279    #[cfg(web_sys_unstable_apis)]
280    #[wasm_bindgen(
281        method,
282        getter,
283        js_class = "GPUSupportedLimits",
284        js_name = "maxStorageTexturesInFragmentStage"
285    )]
286    #[doc = "Getter for the `maxStorageTexturesInFragmentStage` field of this object."]
287    #[doc = ""]
288    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageTexturesInFragmentStage)"]
289    #[doc = ""]
290    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
291    #[doc = ""]
292    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
293    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
294    pub fn max_storage_textures_in_fragment_stage(this: &GpuSupportedLimits) -> u32;
295    #[cfg(web_sys_unstable_apis)]
296    #[wasm_bindgen(
297        method,
298        getter,
299        js_class = "GPUSupportedLimits",
300        js_name = "maxUniformBuffersPerShaderStage"
301    )]
302    #[doc = "Getter for the `maxUniformBuffersPerShaderStage` field of this object."]
303    #[doc = ""]
304    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxUniformBuffersPerShaderStage)"]
305    #[doc = ""]
306    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
307    #[doc = ""]
308    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
309    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
310    pub fn max_uniform_buffers_per_shader_stage(this: &GpuSupportedLimits) -> u32;
311    #[cfg(web_sys_unstable_apis)]
312    #[wasm_bindgen(
313        method,
314        getter,
315        js_class = "GPUSupportedLimits",
316        js_name = "maxUniformBufferBindingSize"
317    )]
318    #[doc = "Getter for the `maxUniformBufferBindingSize` field of this object."]
319    #[doc = ""]
320    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxUniformBufferBindingSize)"]
321    #[doc = ""]
322    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
323    #[doc = ""]
324    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
325    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
326    pub fn max_uniform_buffer_binding_size(this: &GpuSupportedLimits) -> f64;
327    #[cfg(web_sys_unstable_apis)]
328    #[wasm_bindgen(
329        method,
330        getter,
331        js_class = "GPUSupportedLimits",
332        js_name = "maxStorageBufferBindingSize"
333    )]
334    #[doc = "Getter for the `maxStorageBufferBindingSize` field of this object."]
335    #[doc = ""]
336    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageBufferBindingSize)"]
337    #[doc = ""]
338    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
339    #[doc = ""]
340    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
341    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
342    pub fn max_storage_buffer_binding_size(this: &GpuSupportedLimits) -> f64;
343    #[cfg(web_sys_unstable_apis)]
344    #[wasm_bindgen(
345        method,
346        getter,
347        js_class = "GPUSupportedLimits",
348        js_name = "minUniformBufferOffsetAlignment"
349    )]
350    #[doc = "Getter for the `minUniformBufferOffsetAlignment` field of this object."]
351    #[doc = ""]
352    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/minUniformBufferOffsetAlignment)"]
353    #[doc = ""]
354    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
355    #[doc = ""]
356    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
357    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
358    pub fn min_uniform_buffer_offset_alignment(this: &GpuSupportedLimits) -> u32;
359    #[cfg(web_sys_unstable_apis)]
360    #[wasm_bindgen(
361        method,
362        getter,
363        js_class = "GPUSupportedLimits",
364        js_name = "minStorageBufferOffsetAlignment"
365    )]
366    #[doc = "Getter for the `minStorageBufferOffsetAlignment` field of this object."]
367    #[doc = ""]
368    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/minStorageBufferOffsetAlignment)"]
369    #[doc = ""]
370    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
371    #[doc = ""]
372    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
373    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
374    pub fn min_storage_buffer_offset_alignment(this: &GpuSupportedLimits) -> u32;
375    #[cfg(web_sys_unstable_apis)]
376    #[wasm_bindgen(
377        method,
378        getter,
379        js_class = "GPUSupportedLimits",
380        js_name = "maxVertexBuffers"
381    )]
382    #[doc = "Getter for the `maxVertexBuffers` field of this object."]
383    #[doc = ""]
384    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexBuffers)"]
385    #[doc = ""]
386    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
387    #[doc = ""]
388    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
389    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
390    pub fn max_vertex_buffers(this: &GpuSupportedLimits) -> u32;
391    #[cfg(web_sys_unstable_apis)]
392    #[wasm_bindgen(
393        method,
394        getter,
395        js_class = "GPUSupportedLimits",
396        js_name = "maxBufferSize"
397    )]
398    #[doc = "Getter for the `maxBufferSize` field of this object."]
399    #[doc = ""]
400    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBufferSize)"]
401    #[doc = ""]
402    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
403    #[doc = ""]
404    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
405    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
406    pub fn max_buffer_size(this: &GpuSupportedLimits) -> f64;
407    #[cfg(web_sys_unstable_apis)]
408    #[wasm_bindgen(
409        method,
410        getter,
411        js_class = "GPUSupportedLimits",
412        js_name = "maxVertexAttributes"
413    )]
414    #[doc = "Getter for the `maxVertexAttributes` field of this object."]
415    #[doc = ""]
416    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexAttributes)"]
417    #[doc = ""]
418    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
419    #[doc = ""]
420    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
421    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
422    pub fn max_vertex_attributes(this: &GpuSupportedLimits) -> u32;
423    #[cfg(web_sys_unstable_apis)]
424    #[wasm_bindgen(
425        method,
426        getter,
427        js_class = "GPUSupportedLimits",
428        js_name = "maxVertexBufferArrayStride"
429    )]
430    #[doc = "Getter for the `maxVertexBufferArrayStride` field of this object."]
431    #[doc = ""]
432    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexBufferArrayStride)"]
433    #[doc = ""]
434    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
435    #[doc = ""]
436    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
437    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
438    pub fn max_vertex_buffer_array_stride(this: &GpuSupportedLimits) -> u32;
439    #[cfg(web_sys_unstable_apis)]
440    #[wasm_bindgen(
441        method,
442        getter,
443        js_class = "GPUSupportedLimits",
444        js_name = "maxInterStageShaderVariables"
445    )]
446    #[doc = "Getter for the `maxInterStageShaderVariables` field of this object."]
447    #[doc = ""]
448    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxInterStageShaderVariables)"]
449    #[doc = ""]
450    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
451    #[doc = ""]
452    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
453    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
454    pub fn max_inter_stage_shader_variables(this: &GpuSupportedLimits) -> u32;
455    #[cfg(web_sys_unstable_apis)]
456    #[wasm_bindgen(
457        method,
458        getter,
459        js_class = "GPUSupportedLimits",
460        js_name = "maxColorAttachments"
461    )]
462    #[doc = "Getter for the `maxColorAttachments` field of this object."]
463    #[doc = ""]
464    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxColorAttachments)"]
465    #[doc = ""]
466    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
467    #[doc = ""]
468    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
469    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
470    pub fn max_color_attachments(this: &GpuSupportedLimits) -> u32;
471    #[cfg(web_sys_unstable_apis)]
472    #[wasm_bindgen(
473        method,
474        getter,
475        js_class = "GPUSupportedLimits",
476        js_name = "maxColorAttachmentBytesPerSample"
477    )]
478    #[doc = "Getter for the `maxColorAttachmentBytesPerSample` field of this object."]
479    #[doc = ""]
480    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxColorAttachmentBytesPerSample)"]
481    #[doc = ""]
482    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
483    #[doc = ""]
484    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
485    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
486    pub fn max_color_attachment_bytes_per_sample(this: &GpuSupportedLimits) -> u32;
487    #[cfg(web_sys_unstable_apis)]
488    #[wasm_bindgen(
489        method,
490        getter,
491        js_class = "GPUSupportedLimits",
492        js_name = "maxComputeWorkgroupStorageSize"
493    )]
494    #[doc = "Getter for the `maxComputeWorkgroupStorageSize` field of this object."]
495    #[doc = ""]
496    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupStorageSize)"]
497    #[doc = ""]
498    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
499    #[doc = ""]
500    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
501    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
502    pub fn max_compute_workgroup_storage_size(this: &GpuSupportedLimits) -> u32;
503    #[cfg(web_sys_unstable_apis)]
504    #[wasm_bindgen(
505        method,
506        getter,
507        js_class = "GPUSupportedLimits",
508        js_name = "maxComputeInvocationsPerWorkgroup"
509    )]
510    #[doc = "Getter for the `maxComputeInvocationsPerWorkgroup` field of this object."]
511    #[doc = ""]
512    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeInvocationsPerWorkgroup)"]
513    #[doc = ""]
514    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
515    #[doc = ""]
516    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
517    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
518    pub fn max_compute_invocations_per_workgroup(this: &GpuSupportedLimits) -> u32;
519    #[cfg(web_sys_unstable_apis)]
520    #[wasm_bindgen(
521        method,
522        getter,
523        js_class = "GPUSupportedLimits",
524        js_name = "maxComputeWorkgroupSizeX"
525    )]
526    #[doc = "Getter for the `maxComputeWorkgroupSizeX` field of this object."]
527    #[doc = ""]
528    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeX)"]
529    #[doc = ""]
530    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
531    #[doc = ""]
532    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
533    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
534    pub fn max_compute_workgroup_size_x(this: &GpuSupportedLimits) -> u32;
535    #[cfg(web_sys_unstable_apis)]
536    #[wasm_bindgen(
537        method,
538        getter,
539        js_class = "GPUSupportedLimits",
540        js_name = "maxComputeWorkgroupSizeY"
541    )]
542    #[doc = "Getter for the `maxComputeWorkgroupSizeY` field of this object."]
543    #[doc = ""]
544    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeY)"]
545    #[doc = ""]
546    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
547    #[doc = ""]
548    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
549    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
550    pub fn max_compute_workgroup_size_y(this: &GpuSupportedLimits) -> u32;
551    #[cfg(web_sys_unstable_apis)]
552    #[wasm_bindgen(
553        method,
554        getter,
555        js_class = "GPUSupportedLimits",
556        js_name = "maxComputeWorkgroupSizeZ"
557    )]
558    #[doc = "Getter for the `maxComputeWorkgroupSizeZ` field of this object."]
559    #[doc = ""]
560    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeZ)"]
561    #[doc = ""]
562    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
563    #[doc = ""]
564    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
565    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
566    pub fn max_compute_workgroup_size_z(this: &GpuSupportedLimits) -> u32;
567    #[cfg(web_sys_unstable_apis)]
568    #[wasm_bindgen(
569        method,
570        getter,
571        js_class = "GPUSupportedLimits",
572        js_name = "maxComputeWorkgroupsPerDimension"
573    )]
574    #[doc = "Getter for the `maxComputeWorkgroupsPerDimension` field of this object."]
575    #[doc = ""]
576    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupsPerDimension)"]
577    #[doc = ""]
578    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
579    #[doc = ""]
580    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
581    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
582    pub fn max_compute_workgroups_per_dimension(this: &GpuSupportedLimits) -> u32;
583}