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 (extends = :: js_sys :: Object , js_name = GPUSupportedLimits , typescript_type = "GPUSupportedLimits")]
9    #[derive(Debug, Clone, PartialEq, Eq)]
10    #[doc = "The `GpuSupportedLimits` class."]
11    #[doc = ""]
12    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits)"]
13    #[doc = ""]
14    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
15    #[doc = ""]
16    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
17    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
18    pub type GpuSupportedLimits;
19    #[cfg(web_sys_unstable_apis)]
20    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureDimension1D)]
21    #[doc = "Getter for the `maxTextureDimension1D` field of this object."]
22    #[doc = ""]
23    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension1D)"]
24    #[doc = ""]
25    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
26    #[doc = ""]
27    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
28    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
29    pub fn max_texture_dimension_1d(this: &GpuSupportedLimits) -> u32;
30    #[cfg(web_sys_unstable_apis)]
31    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureDimension2D)]
32    #[doc = "Getter for the `maxTextureDimension2D` field of this object."]
33    #[doc = ""]
34    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension2D)"]
35    #[doc = ""]
36    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
37    #[doc = ""]
38    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
39    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
40    pub fn max_texture_dimension_2d(this: &GpuSupportedLimits) -> u32;
41    #[cfg(web_sys_unstable_apis)]
42    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureDimension3D)]
43    #[doc = "Getter for the `maxTextureDimension3D` field of this object."]
44    #[doc = ""]
45    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension3D)"]
46    #[doc = ""]
47    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
48    #[doc = ""]
49    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
50    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
51    pub fn max_texture_dimension_3d(this: &GpuSupportedLimits) -> u32;
52    #[cfg(web_sys_unstable_apis)]
53    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureArrayLayers)]
54    #[doc = "Getter for the `maxTextureArrayLayers` field of this object."]
55    #[doc = ""]
56    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureArrayLayers)"]
57    #[doc = ""]
58    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
59    #[doc = ""]
60    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
61    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
62    pub fn max_texture_array_layers(this: &GpuSupportedLimits) -> u32;
63    #[cfg(web_sys_unstable_apis)]
64    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxBindGroups)]
65    #[doc = "Getter for the `maxBindGroups` field of this object."]
66    #[doc = ""]
67    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBindGroups)"]
68    #[doc = ""]
69    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
70    #[doc = ""]
71    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
72    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
73    pub fn max_bind_groups(this: &GpuSupportedLimits) -> u32;
74    #[cfg(web_sys_unstable_apis)]
75    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxBindGroupsPlusVertexBuffers)]
76    #[doc = "Getter for the `maxBindGroupsPlusVertexBuffers` field of this object."]
77    #[doc = ""]
78    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBindGroupsPlusVertexBuffers)"]
79    #[doc = ""]
80    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
81    #[doc = ""]
82    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
83    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
84    pub fn max_bind_groups_plus_vertex_buffers(this: &GpuSupportedLimits) -> u32;
85    #[cfg(web_sys_unstable_apis)]
86    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxBindingsPerBindGroup)]
87    #[doc = "Getter for the `maxBindingsPerBindGroup` field of this object."]
88    #[doc = ""]
89    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBindingsPerBindGroup)"]
90    #[doc = ""]
91    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
92    #[doc = ""]
93    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
94    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
95    pub fn max_bindings_per_bind_group(this: &GpuSupportedLimits) -> u32;
96    #[cfg(web_sys_unstable_apis)]
97    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxDynamicUniformBuffersPerPipelineLayout)]
98    #[doc = "Getter for the `maxDynamicUniformBuffersPerPipelineLayout` field of this object."]
99    #[doc = ""]
100    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxDynamicUniformBuffersPerPipelineLayout)"]
101    #[doc = ""]
102    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
103    #[doc = ""]
104    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
105    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
106    pub fn max_dynamic_uniform_buffers_per_pipeline_layout(this: &GpuSupportedLimits) -> u32;
107    #[cfg(web_sys_unstable_apis)]
108    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxDynamicStorageBuffersPerPipelineLayout)]
109    #[doc = "Getter for the `maxDynamicStorageBuffersPerPipelineLayout` field of this object."]
110    #[doc = ""]
111    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxDynamicStorageBuffersPerPipelineLayout)"]
112    #[doc = ""]
113    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
114    #[doc = ""]
115    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
116    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
117    pub fn max_dynamic_storage_buffers_per_pipeline_layout(this: &GpuSupportedLimits) -> u32;
118    #[cfg(web_sys_unstable_apis)]
119    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxSampledTexturesPerShaderStage)]
120    #[doc = "Getter for the `maxSampledTexturesPerShaderStage` field of this object."]
121    #[doc = ""]
122    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxSampledTexturesPerShaderStage)"]
123    #[doc = ""]
124    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
125    #[doc = ""]
126    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
127    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
128    pub fn max_sampled_textures_per_shader_stage(this: &GpuSupportedLimits) -> u32;
129    #[cfg(web_sys_unstable_apis)]
130    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxSamplersPerShaderStage)]
131    #[doc = "Getter for the `maxSamplersPerShaderStage` field of this object."]
132    #[doc = ""]
133    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxSamplersPerShaderStage)"]
134    #[doc = ""]
135    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
136    #[doc = ""]
137    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
138    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
139    pub fn max_samplers_per_shader_stage(this: &GpuSupportedLimits) -> u32;
140    #[cfg(web_sys_unstable_apis)]
141    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxStorageBuffersPerShaderStage)]
142    #[doc = "Getter for the `maxStorageBuffersPerShaderStage` field of this object."]
143    #[doc = ""]
144    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageBuffersPerShaderStage)"]
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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
150    pub fn max_storage_buffers_per_shader_stage(this: &GpuSupportedLimits) -> u32;
151    #[cfg(web_sys_unstable_apis)]
152    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxStorageTexturesPerShaderStage)]
153    #[doc = "Getter for the `maxStorageTexturesPerShaderStage` field of this object."]
154    #[doc = ""]
155    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageTexturesPerShaderStage)"]
156    #[doc = ""]
157    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
158    #[doc = ""]
159    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
160    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
161    pub fn max_storage_textures_per_shader_stage(this: &GpuSupportedLimits) -> u32;
162    #[cfg(web_sys_unstable_apis)]
163    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxUniformBuffersPerShaderStage)]
164    #[doc = "Getter for the `maxUniformBuffersPerShaderStage` field of this object."]
165    #[doc = ""]
166    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxUniformBuffersPerShaderStage)"]
167    #[doc = ""]
168    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
169    #[doc = ""]
170    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
171    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
172    pub fn max_uniform_buffers_per_shader_stage(this: &GpuSupportedLimits) -> u32;
173    #[cfg(web_sys_unstable_apis)]
174    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxUniformBufferBindingSize)]
175    #[doc = "Getter for the `maxUniformBufferBindingSize` field of this object."]
176    #[doc = ""]
177    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxUniformBufferBindingSize)"]
178    #[doc = ""]
179    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
180    #[doc = ""]
181    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
182    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
183    pub fn max_uniform_buffer_binding_size(this: &GpuSupportedLimits) -> f64;
184    #[cfg(web_sys_unstable_apis)]
185    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxStorageBufferBindingSize)]
186    #[doc = "Getter for the `maxStorageBufferBindingSize` field of this object."]
187    #[doc = ""]
188    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageBufferBindingSize)"]
189    #[doc = ""]
190    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
191    #[doc = ""]
192    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
193    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
194    pub fn max_storage_buffer_binding_size(this: &GpuSupportedLimits) -> f64;
195    #[cfg(web_sys_unstable_apis)]
196    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = minUniformBufferOffsetAlignment)]
197    #[doc = "Getter for the `minUniformBufferOffsetAlignment` field of this object."]
198    #[doc = ""]
199    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/minUniformBufferOffsetAlignment)"]
200    #[doc = ""]
201    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
202    #[doc = ""]
203    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
204    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
205    pub fn min_uniform_buffer_offset_alignment(this: &GpuSupportedLimits) -> u32;
206    #[cfg(web_sys_unstable_apis)]
207    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = minStorageBufferOffsetAlignment)]
208    #[doc = "Getter for the `minStorageBufferOffsetAlignment` field of this object."]
209    #[doc = ""]
210    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/minStorageBufferOffsetAlignment)"]
211    #[doc = ""]
212    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
213    #[doc = ""]
214    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
215    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
216    pub fn min_storage_buffer_offset_alignment(this: &GpuSupportedLimits) -> u32;
217    #[cfg(web_sys_unstable_apis)]
218    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxVertexBuffers)]
219    #[doc = "Getter for the `maxVertexBuffers` field of this object."]
220    #[doc = ""]
221    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexBuffers)"]
222    #[doc = ""]
223    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
224    #[doc = ""]
225    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
226    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
227    pub fn max_vertex_buffers(this: &GpuSupportedLimits) -> u32;
228    #[cfg(web_sys_unstable_apis)]
229    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxBufferSize)]
230    #[doc = "Getter for the `maxBufferSize` field of this object."]
231    #[doc = ""]
232    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBufferSize)"]
233    #[doc = ""]
234    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
235    #[doc = ""]
236    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
237    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
238    pub fn max_buffer_size(this: &GpuSupportedLimits) -> f64;
239    #[cfg(web_sys_unstable_apis)]
240    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxVertexAttributes)]
241    #[doc = "Getter for the `maxVertexAttributes` field of this object."]
242    #[doc = ""]
243    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexAttributes)"]
244    #[doc = ""]
245    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
246    #[doc = ""]
247    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
248    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
249    pub fn max_vertex_attributes(this: &GpuSupportedLimits) -> u32;
250    #[cfg(web_sys_unstable_apis)]
251    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxVertexBufferArrayStride)]
252    #[doc = "Getter for the `maxVertexBufferArrayStride` field of this object."]
253    #[doc = ""]
254    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexBufferArrayStride)"]
255    #[doc = ""]
256    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
257    #[doc = ""]
258    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
259    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
260    pub fn max_vertex_buffer_array_stride(this: &GpuSupportedLimits) -> u32;
261    #[cfg(web_sys_unstable_apis)]
262    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxInterStageShaderVariables)]
263    #[doc = "Getter for the `maxInterStageShaderVariables` field of this object."]
264    #[doc = ""]
265    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxInterStageShaderVariables)"]
266    #[doc = ""]
267    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
268    #[doc = ""]
269    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
270    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
271    pub fn max_inter_stage_shader_variables(this: &GpuSupportedLimits) -> u32;
272    #[cfg(web_sys_unstable_apis)]
273    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxColorAttachments)]
274    #[doc = "Getter for the `maxColorAttachments` field of this object."]
275    #[doc = ""]
276    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxColorAttachments)"]
277    #[doc = ""]
278    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
279    #[doc = ""]
280    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
281    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
282    pub fn max_color_attachments(this: &GpuSupportedLimits) -> u32;
283    #[cfg(web_sys_unstable_apis)]
284    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxColorAttachmentBytesPerSample)]
285    #[doc = "Getter for the `maxColorAttachmentBytesPerSample` field of this object."]
286    #[doc = ""]
287    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxColorAttachmentBytesPerSample)"]
288    #[doc = ""]
289    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
290    #[doc = ""]
291    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
292    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
293    pub fn max_color_attachment_bytes_per_sample(this: &GpuSupportedLimits) -> u32;
294    #[cfg(web_sys_unstable_apis)]
295    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupStorageSize)]
296    #[doc = "Getter for the `maxComputeWorkgroupStorageSize` field of this object."]
297    #[doc = ""]
298    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupStorageSize)"]
299    #[doc = ""]
300    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
301    #[doc = ""]
302    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
303    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
304    pub fn max_compute_workgroup_storage_size(this: &GpuSupportedLimits) -> u32;
305    #[cfg(web_sys_unstable_apis)]
306    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeInvocationsPerWorkgroup)]
307    #[doc = "Getter for the `maxComputeInvocationsPerWorkgroup` field of this object."]
308    #[doc = ""]
309    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeInvocationsPerWorkgroup)"]
310    #[doc = ""]
311    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
312    #[doc = ""]
313    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
314    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
315    pub fn max_compute_invocations_per_workgroup(this: &GpuSupportedLimits) -> u32;
316    #[cfg(web_sys_unstable_apis)]
317    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupSizeX)]
318    #[doc = "Getter for the `maxComputeWorkgroupSizeX` field of this object."]
319    #[doc = ""]
320    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeX)"]
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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
326    pub fn max_compute_workgroup_size_x(this: &GpuSupportedLimits) -> u32;
327    #[cfg(web_sys_unstable_apis)]
328    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupSizeY)]
329    #[doc = "Getter for the `maxComputeWorkgroupSizeY` field of this object."]
330    #[doc = ""]
331    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeY)"]
332    #[doc = ""]
333    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
334    #[doc = ""]
335    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
336    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
337    pub fn max_compute_workgroup_size_y(this: &GpuSupportedLimits) -> u32;
338    #[cfg(web_sys_unstable_apis)]
339    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupSizeZ)]
340    #[doc = "Getter for the `maxComputeWorkgroupSizeZ` field of this object."]
341    #[doc = ""]
342    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeZ)"]
343    #[doc = ""]
344    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
345    #[doc = ""]
346    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
347    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
348    pub fn max_compute_workgroup_size_z(this: &GpuSupportedLimits) -> u32;
349    #[cfg(web_sys_unstable_apis)]
350    # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupsPerDimension)]
351    #[doc = "Getter for the `maxComputeWorkgroupsPerDimension` field of this object."]
352    #[doc = ""]
353    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupsPerDimension)"]
354    #[doc = ""]
355    #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
356    #[doc = ""]
357    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
358    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
359    pub fn max_compute_workgroups_per_dimension(this: &GpuSupportedLimits) -> u32;
360}