Skip to main content

web_sys/features/
gen_GpuRenderBundleEncoder.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 = "GPURenderBundleEncoder",
11        typescript_type = "GPURenderBundleEncoder"
12    )]
13    #[derive(Debug, Clone, PartialEq, Eq)]
14    #[doc = "The `GpuRenderBundleEncoder` class."]
15    #[doc = ""]
16    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder)"]
17    #[doc = ""]
18    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
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 GpuRenderBundleEncoder;
23    #[cfg(web_sys_unstable_apis)]
24    #[wasm_bindgen(method, getter, js_class = "GPURenderBundleEncoder", js_name = "label")]
25    #[doc = "Getter for the `label` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/label)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
30    #[doc = ""]
31    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
32    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
33    pub fn label(this: &GpuRenderBundleEncoder) -> ::alloc::string::String;
34    #[cfg(web_sys_unstable_apis)]
35    #[wasm_bindgen(method, setter, js_class = "GPURenderBundleEncoder", js_name = "label")]
36    #[doc = "Setter for the `label` field of this object."]
37    #[doc = ""]
38    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/label)"]
39    #[doc = ""]
40    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
41    #[doc = ""]
42    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
43    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
44    pub fn set_label(this: &GpuRenderBundleEncoder, value: &str);
45    #[cfg(web_sys_unstable_apis)]
46    #[cfg(feature = "GpuRenderBundle")]
47    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder")]
48    #[doc = "The `finish()` method."]
49    #[doc = ""]
50    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/finish)"]
51    #[doc = ""]
52    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundle`, `GpuRenderBundleEncoder`*"]
53    #[doc = ""]
54    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
55    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
56    pub fn finish(this: &GpuRenderBundleEncoder) -> GpuRenderBundle;
57    #[cfg(web_sys_unstable_apis)]
58    #[cfg(all(feature = "GpuRenderBundle", feature = "GpuRenderBundleDescriptor",))]
59    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "finish")]
60    #[doc = "The `finish()` method."]
61    #[doc = ""]
62    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/finish)"]
63    #[doc = ""]
64    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundle`, `GpuRenderBundleDescriptor`, `GpuRenderBundleEncoder`*"]
65    #[doc = ""]
66    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
67    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
68    pub fn finish_with_descriptor(
69        this: &GpuRenderBundleEncoder,
70        descriptor: &GpuRenderBundleDescriptor,
71    ) -> GpuRenderBundle;
72    #[cfg(web_sys_unstable_apis)]
73    #[cfg(feature = "GpuBindGroup")]
74    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "setBindGroup")]
75    #[doc = "The `setBindGroup()` method."]
76    #[doc = ""]
77    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
78    #[doc = ""]
79    #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
80    #[doc = ""]
81    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
82    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
83    pub fn set_bind_group(
84        this: &GpuRenderBundleEncoder,
85        index: u32,
86        bind_group: Option<&GpuBindGroup>,
87    );
88    #[cfg(web_sys_unstable_apis)]
89    #[cfg(feature = "GpuBindGroup")]
90    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "setBindGroup")]
91    #[doc = "The `setBindGroup()` method."]
92    #[doc = ""]
93    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
94    #[doc = ""]
95    #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
96    #[doc = ""]
97    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
98    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
99    pub fn set_bind_group_with_u32_sequence(
100        this: &GpuRenderBundleEncoder,
101        index: u32,
102        bind_group: Option<&GpuBindGroup>,
103        dynamic_offsets: &[::js_sys::Number],
104    );
105    #[cfg(web_sys_unstable_apis)]
106    #[cfg(feature = "GpuBindGroup")]
107    #[wasm_bindgen(
108        catch,
109        method,
110        js_class = "GPURenderBundleEncoder",
111        js_name = "setBindGroup"
112    )]
113    #[doc = "The `setBindGroup()` method."]
114    #[doc = ""]
115    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
116    #[doc = ""]
117    #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
118    #[doc = ""]
119    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
120    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
121    pub fn set_bind_group_with_u32_slice_and_u32_and_dynamic_offsets_data_length(
122        this: &GpuRenderBundleEncoder,
123        index: u32,
124        bind_group: Option<&GpuBindGroup>,
125        dynamic_offsets_data: &[u32],
126        dynamic_offsets_data_start: u32,
127        dynamic_offsets_data_length: u32,
128    ) -> Result<(), JsValue>;
129    #[cfg(web_sys_unstable_apis)]
130    #[cfg(feature = "GpuBindGroup")]
131    #[wasm_bindgen(
132        catch,
133        method,
134        js_class = "GPURenderBundleEncoder",
135        js_name = "setBindGroup"
136    )]
137    #[doc = "The `setBindGroup()` method."]
138    #[doc = ""]
139    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
140    #[doc = ""]
141    #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
142    #[doc = ""]
143    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
144    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
145    pub fn set_bind_group_with_u32_array_and_u32_and_dynamic_offsets_data_length(
146        this: &GpuRenderBundleEncoder,
147        index: u32,
148        bind_group: Option<&GpuBindGroup>,
149        dynamic_offsets_data: &::js_sys::Uint32Array,
150        dynamic_offsets_data_start: u32,
151        dynamic_offsets_data_length: u32,
152    ) -> Result<(), JsValue>;
153    #[cfg(web_sys_unstable_apis)]
154    #[cfg(feature = "GpuBindGroup")]
155    #[wasm_bindgen(
156        catch,
157        method,
158        js_class = "GPURenderBundleEncoder",
159        js_name = "setBindGroup"
160    )]
161    #[doc = "The `setBindGroup()` method."]
162    #[doc = ""]
163    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
164    #[doc = ""]
165    #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
166    #[doc = ""]
167    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
168    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
169    pub fn set_bind_group_with_u32_slice_and_f64_and_dynamic_offsets_data_length(
170        this: &GpuRenderBundleEncoder,
171        index: u32,
172        bind_group: Option<&GpuBindGroup>,
173        dynamic_offsets_data: &[u32],
174        dynamic_offsets_data_start: f64,
175        dynamic_offsets_data_length: u32,
176    ) -> Result<(), JsValue>;
177    #[cfg(web_sys_unstable_apis)]
178    #[cfg(feature = "GpuBindGroup")]
179    #[wasm_bindgen(
180        catch,
181        method,
182        js_class = "GPURenderBundleEncoder",
183        js_name = "setBindGroup"
184    )]
185    #[doc = "The `setBindGroup()` method."]
186    #[doc = ""]
187    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
188    #[doc = ""]
189    #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
190    #[doc = ""]
191    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
192    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
193    pub fn set_bind_group_with_u32_array_and_f64_and_dynamic_offsets_data_length(
194        this: &GpuRenderBundleEncoder,
195        index: u32,
196        bind_group: Option<&GpuBindGroup>,
197        dynamic_offsets_data: &::js_sys::Uint32Array,
198        dynamic_offsets_data_start: f64,
199        dynamic_offsets_data_length: u32,
200    ) -> Result<(), JsValue>;
201    #[cfg(web_sys_unstable_apis)]
202    #[wasm_bindgen(
203        catch,
204        method,
205        js_class = "GPURenderBundleEncoder",
206        js_name = "setImmediates"
207    )]
208    #[doc = "The `setImmediates()` method."]
209    #[doc = ""]
210    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
211    #[doc = ""]
212    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
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://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
216    pub fn set_immediates_with_buffer_source(
217        this: &GpuRenderBundleEncoder,
218        range_offset: u32,
219        data: &::js_sys::Object,
220    ) -> Result<(), JsValue>;
221    #[cfg(web_sys_unstable_apis)]
222    #[wasm_bindgen(
223        catch,
224        method,
225        js_class = "GPURenderBundleEncoder",
226        js_name = "setImmediates"
227    )]
228    #[doc = "The `setImmediates()` method."]
229    #[doc = ""]
230    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
231    #[doc = ""]
232    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
233    #[doc = ""]
234    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
235    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
236    pub fn set_immediates_with_u8_slice(
237        this: &GpuRenderBundleEncoder,
238        range_offset: u32,
239        data: &mut [u8],
240    ) -> Result<(), JsValue>;
241    #[cfg(web_sys_unstable_apis)]
242    #[wasm_bindgen(
243        catch,
244        method,
245        js_class = "GPURenderBundleEncoder",
246        js_name = "setImmediates"
247    )]
248    #[doc = "The `setImmediates()` method."]
249    #[doc = ""]
250    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
251    #[doc = ""]
252    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
253    #[doc = ""]
254    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
255    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
256    pub fn set_immediates_with_u8_array(
257        this: &GpuRenderBundleEncoder,
258        range_offset: u32,
259        data: &::js_sys::Uint8Array,
260    ) -> Result<(), JsValue>;
261    #[cfg(web_sys_unstable_apis)]
262    #[wasm_bindgen(
263        catch,
264        method,
265        js_class = "GPURenderBundleEncoder",
266        js_name = "setImmediates"
267    )]
268    #[doc = "The `setImmediates()` method."]
269    #[doc = ""]
270    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
271    #[doc = ""]
272    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
273    #[doc = ""]
274    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
275    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
276    pub fn set_immediates_with_buffer_source_and_u32(
277        this: &GpuRenderBundleEncoder,
278        range_offset: u32,
279        data: &::js_sys::Object,
280        data_offset: u32,
281    ) -> Result<(), JsValue>;
282    #[cfg(web_sys_unstable_apis)]
283    #[wasm_bindgen(
284        catch,
285        method,
286        js_class = "GPURenderBundleEncoder",
287        js_name = "setImmediates"
288    )]
289    #[doc = "The `setImmediates()` method."]
290    #[doc = ""]
291    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
292    #[doc = ""]
293    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
294    #[doc = ""]
295    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
296    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
297    pub fn set_immediates_with_u8_slice_and_u32(
298        this: &GpuRenderBundleEncoder,
299        range_offset: u32,
300        data: &mut [u8],
301        data_offset: u32,
302    ) -> Result<(), JsValue>;
303    #[cfg(web_sys_unstable_apis)]
304    #[wasm_bindgen(
305        catch,
306        method,
307        js_class = "GPURenderBundleEncoder",
308        js_name = "setImmediates"
309    )]
310    #[doc = "The `setImmediates()` method."]
311    #[doc = ""]
312    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
313    #[doc = ""]
314    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
315    #[doc = ""]
316    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
317    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
318    pub fn set_immediates_with_u8_array_and_u32(
319        this: &GpuRenderBundleEncoder,
320        range_offset: u32,
321        data: &::js_sys::Uint8Array,
322        data_offset: u32,
323    ) -> Result<(), JsValue>;
324    #[cfg(web_sys_unstable_apis)]
325    #[wasm_bindgen(
326        catch,
327        method,
328        js_class = "GPURenderBundleEncoder",
329        js_name = "setImmediates"
330    )]
331    #[doc = "The `setImmediates()` method."]
332    #[doc = ""]
333    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
334    #[doc = ""]
335    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
336    #[doc = ""]
337    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
338    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
339    pub fn set_immediates_with_buffer_source_and_f64(
340        this: &GpuRenderBundleEncoder,
341        range_offset: u32,
342        data: &::js_sys::Object,
343        data_offset: f64,
344    ) -> Result<(), JsValue>;
345    #[cfg(web_sys_unstable_apis)]
346    #[wasm_bindgen(
347        catch,
348        method,
349        js_class = "GPURenderBundleEncoder",
350        js_name = "setImmediates"
351    )]
352    #[doc = "The `setImmediates()` method."]
353    #[doc = ""]
354    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
355    #[doc = ""]
356    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
357    #[doc = ""]
358    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
359    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
360    pub fn set_immediates_with_u8_slice_and_f64(
361        this: &GpuRenderBundleEncoder,
362        range_offset: u32,
363        data: &mut [u8],
364        data_offset: f64,
365    ) -> Result<(), JsValue>;
366    #[cfg(web_sys_unstable_apis)]
367    #[wasm_bindgen(
368        catch,
369        method,
370        js_class = "GPURenderBundleEncoder",
371        js_name = "setImmediates"
372    )]
373    #[doc = "The `setImmediates()` method."]
374    #[doc = ""]
375    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
376    #[doc = ""]
377    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
378    #[doc = ""]
379    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
380    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
381    pub fn set_immediates_with_u8_array_and_f64(
382        this: &GpuRenderBundleEncoder,
383        range_offset: u32,
384        data: &::js_sys::Uint8Array,
385        data_offset: f64,
386    ) -> Result<(), JsValue>;
387    #[cfg(web_sys_unstable_apis)]
388    #[wasm_bindgen(
389        catch,
390        method,
391        js_class = "GPURenderBundleEncoder",
392        js_name = "setImmediates"
393    )]
394    #[doc = "The `setImmediates()` method."]
395    #[doc = ""]
396    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
397    #[doc = ""]
398    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
399    #[doc = ""]
400    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
401    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
402    pub fn set_immediates_with_buffer_source_and_u32_and_u32(
403        this: &GpuRenderBundleEncoder,
404        range_offset: u32,
405        data: &::js_sys::Object,
406        data_offset: u32,
407        data_size: u32,
408    ) -> Result<(), JsValue>;
409    #[cfg(web_sys_unstable_apis)]
410    #[wasm_bindgen(
411        catch,
412        method,
413        js_class = "GPURenderBundleEncoder",
414        js_name = "setImmediates"
415    )]
416    #[doc = "The `setImmediates()` method."]
417    #[doc = ""]
418    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
419    #[doc = ""]
420    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
421    #[doc = ""]
422    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
423    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
424    pub fn set_immediates_with_u8_slice_and_u32_and_u32(
425        this: &GpuRenderBundleEncoder,
426        range_offset: u32,
427        data: &mut [u8],
428        data_offset: u32,
429        data_size: u32,
430    ) -> Result<(), JsValue>;
431    #[cfg(web_sys_unstable_apis)]
432    #[wasm_bindgen(
433        catch,
434        method,
435        js_class = "GPURenderBundleEncoder",
436        js_name = "setImmediates"
437    )]
438    #[doc = "The `setImmediates()` method."]
439    #[doc = ""]
440    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
441    #[doc = ""]
442    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
443    #[doc = ""]
444    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
445    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
446    pub fn set_immediates_with_u8_array_and_u32_and_u32(
447        this: &GpuRenderBundleEncoder,
448        range_offset: u32,
449        data: &::js_sys::Uint8Array,
450        data_offset: u32,
451        data_size: u32,
452    ) -> Result<(), JsValue>;
453    #[cfg(web_sys_unstable_apis)]
454    #[wasm_bindgen(
455        catch,
456        method,
457        js_class = "GPURenderBundleEncoder",
458        js_name = "setImmediates"
459    )]
460    #[doc = "The `setImmediates()` method."]
461    #[doc = ""]
462    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
463    #[doc = ""]
464    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
465    #[doc = ""]
466    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
467    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
468    pub fn set_immediates_with_buffer_source_and_f64_and_u32(
469        this: &GpuRenderBundleEncoder,
470        range_offset: u32,
471        data: &::js_sys::Object,
472        data_offset: f64,
473        data_size: u32,
474    ) -> Result<(), JsValue>;
475    #[cfg(web_sys_unstable_apis)]
476    #[wasm_bindgen(
477        catch,
478        method,
479        js_class = "GPURenderBundleEncoder",
480        js_name = "setImmediates"
481    )]
482    #[doc = "The `setImmediates()` method."]
483    #[doc = ""]
484    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
485    #[doc = ""]
486    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
487    #[doc = ""]
488    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
489    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
490    pub fn set_immediates_with_u8_slice_and_f64_and_u32(
491        this: &GpuRenderBundleEncoder,
492        range_offset: u32,
493        data: &mut [u8],
494        data_offset: f64,
495        data_size: u32,
496    ) -> Result<(), JsValue>;
497    #[cfg(web_sys_unstable_apis)]
498    #[wasm_bindgen(
499        catch,
500        method,
501        js_class = "GPURenderBundleEncoder",
502        js_name = "setImmediates"
503    )]
504    #[doc = "The `setImmediates()` method."]
505    #[doc = ""]
506    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
507    #[doc = ""]
508    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
509    #[doc = ""]
510    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
511    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
512    pub fn set_immediates_with_u8_array_and_f64_and_u32(
513        this: &GpuRenderBundleEncoder,
514        range_offset: u32,
515        data: &::js_sys::Uint8Array,
516        data_offset: f64,
517        data_size: u32,
518    ) -> Result<(), JsValue>;
519    #[cfg(web_sys_unstable_apis)]
520    #[wasm_bindgen(
521        catch,
522        method,
523        js_class = "GPURenderBundleEncoder",
524        js_name = "setImmediates"
525    )]
526    #[doc = "The `setImmediates()` method."]
527    #[doc = ""]
528    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
529    #[doc = ""]
530    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
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 set_immediates_with_buffer_source_and_u32_and_f64(
535        this: &GpuRenderBundleEncoder,
536        range_offset: u32,
537        data: &::js_sys::Object,
538        data_offset: u32,
539        data_size: f64,
540    ) -> Result<(), JsValue>;
541    #[cfg(web_sys_unstable_apis)]
542    #[wasm_bindgen(
543        catch,
544        method,
545        js_class = "GPURenderBundleEncoder",
546        js_name = "setImmediates"
547    )]
548    #[doc = "The `setImmediates()` method."]
549    #[doc = ""]
550    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
551    #[doc = ""]
552    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
553    #[doc = ""]
554    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
555    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
556    pub fn set_immediates_with_u8_slice_and_u32_and_f64(
557        this: &GpuRenderBundleEncoder,
558        range_offset: u32,
559        data: &mut [u8],
560        data_offset: u32,
561        data_size: f64,
562    ) -> Result<(), JsValue>;
563    #[cfg(web_sys_unstable_apis)]
564    #[wasm_bindgen(
565        catch,
566        method,
567        js_class = "GPURenderBundleEncoder",
568        js_name = "setImmediates"
569    )]
570    #[doc = "The `setImmediates()` method."]
571    #[doc = ""]
572    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
573    #[doc = ""]
574    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
575    #[doc = ""]
576    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
577    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
578    pub fn set_immediates_with_u8_array_and_u32_and_f64(
579        this: &GpuRenderBundleEncoder,
580        range_offset: u32,
581        data: &::js_sys::Uint8Array,
582        data_offset: u32,
583        data_size: f64,
584    ) -> Result<(), JsValue>;
585    #[cfg(web_sys_unstable_apis)]
586    #[wasm_bindgen(
587        catch,
588        method,
589        js_class = "GPURenderBundleEncoder",
590        js_name = "setImmediates"
591    )]
592    #[doc = "The `setImmediates()` method."]
593    #[doc = ""]
594    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
595    #[doc = ""]
596    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
597    #[doc = ""]
598    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
599    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
600    pub fn set_immediates_with_buffer_source_and_f64_and_f64(
601        this: &GpuRenderBundleEncoder,
602        range_offset: u32,
603        data: &::js_sys::Object,
604        data_offset: f64,
605        data_size: f64,
606    ) -> Result<(), JsValue>;
607    #[cfg(web_sys_unstable_apis)]
608    #[wasm_bindgen(
609        catch,
610        method,
611        js_class = "GPURenderBundleEncoder",
612        js_name = "setImmediates"
613    )]
614    #[doc = "The `setImmediates()` method."]
615    #[doc = ""]
616    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
617    #[doc = ""]
618    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
619    #[doc = ""]
620    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
621    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
622    pub fn set_immediates_with_u8_slice_and_f64_and_f64(
623        this: &GpuRenderBundleEncoder,
624        range_offset: u32,
625        data: &mut [u8],
626        data_offset: f64,
627        data_size: f64,
628    ) -> Result<(), JsValue>;
629    #[cfg(web_sys_unstable_apis)]
630    #[wasm_bindgen(
631        catch,
632        method,
633        js_class = "GPURenderBundleEncoder",
634        js_name = "setImmediates"
635    )]
636    #[doc = "The `setImmediates()` method."]
637    #[doc = ""]
638    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setImmediates)"]
639    #[doc = ""]
640    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
641    #[doc = ""]
642    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
643    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
644    pub fn set_immediates_with_u8_array_and_f64_and_f64(
645        this: &GpuRenderBundleEncoder,
646        range_offset: u32,
647        data: &::js_sys::Uint8Array,
648        data_offset: f64,
649        data_size: f64,
650    ) -> Result<(), JsValue>;
651    #[cfg(web_sys_unstable_apis)]
652    #[wasm_bindgen(
653        method,
654        js_class = "GPURenderBundleEncoder",
655        js_name = "insertDebugMarker"
656    )]
657    #[doc = "The `insertDebugMarker()` method."]
658    #[doc = ""]
659    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/insertDebugMarker)"]
660    #[doc = ""]
661    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
662    #[doc = ""]
663    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
664    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
665    pub fn insert_debug_marker(this: &GpuRenderBundleEncoder, marker_label: &str);
666    #[cfg(web_sys_unstable_apis)]
667    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "popDebugGroup")]
668    #[doc = "The `popDebugGroup()` method."]
669    #[doc = ""]
670    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/popDebugGroup)"]
671    #[doc = ""]
672    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
673    #[doc = ""]
674    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
675    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
676    pub fn pop_debug_group(this: &GpuRenderBundleEncoder);
677    #[cfg(web_sys_unstable_apis)]
678    #[wasm_bindgen(
679        method,
680        js_class = "GPURenderBundleEncoder",
681        js_name = "pushDebugGroup"
682    )]
683    #[doc = "The `pushDebugGroup()` method."]
684    #[doc = ""]
685    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/pushDebugGroup)"]
686    #[doc = ""]
687    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
688    #[doc = ""]
689    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
690    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
691    pub fn push_debug_group(this: &GpuRenderBundleEncoder, group_label: &str);
692    #[cfg(web_sys_unstable_apis)]
693    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder")]
694    #[doc = "The `draw()` method."]
695    #[doc = ""]
696    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
697    #[doc = ""]
698    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
699    #[doc = ""]
700    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
701    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
702    pub fn draw(this: &GpuRenderBundleEncoder, vertex_count: u32);
703    #[cfg(web_sys_unstable_apis)]
704    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "draw")]
705    #[doc = "The `draw()` method."]
706    #[doc = ""]
707    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
708    #[doc = ""]
709    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
710    #[doc = ""]
711    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
712    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
713    pub fn draw_with_instance_count(
714        this: &GpuRenderBundleEncoder,
715        vertex_count: u32,
716        instance_count: u32,
717    );
718    #[cfg(web_sys_unstable_apis)]
719    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "draw")]
720    #[doc = "The `draw()` method."]
721    #[doc = ""]
722    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
723    #[doc = ""]
724    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
725    #[doc = ""]
726    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
727    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
728    pub fn draw_with_instance_count_and_first_vertex(
729        this: &GpuRenderBundleEncoder,
730        vertex_count: u32,
731        instance_count: u32,
732        first_vertex: u32,
733    );
734    #[cfg(web_sys_unstable_apis)]
735    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "draw")]
736    #[doc = "The `draw()` method."]
737    #[doc = ""]
738    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
739    #[doc = ""]
740    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
741    #[doc = ""]
742    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
743    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
744    pub fn draw_with_instance_count_and_first_vertex_and_first_instance(
745        this: &GpuRenderBundleEncoder,
746        vertex_count: u32,
747        instance_count: u32,
748        first_vertex: u32,
749        first_instance: u32,
750    );
751    #[cfg(web_sys_unstable_apis)]
752    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndexed")]
753    #[doc = "The `drawIndexed()` method."]
754    #[doc = ""]
755    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
756    #[doc = ""]
757    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
758    #[doc = ""]
759    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
760    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
761    pub fn draw_indexed(this: &GpuRenderBundleEncoder, index_count: u32);
762    #[cfg(web_sys_unstable_apis)]
763    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndexed")]
764    #[doc = "The `drawIndexed()` method."]
765    #[doc = ""]
766    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
767    #[doc = ""]
768    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
769    #[doc = ""]
770    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
771    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
772    pub fn draw_indexed_with_instance_count(
773        this: &GpuRenderBundleEncoder,
774        index_count: u32,
775        instance_count: u32,
776    );
777    #[cfg(web_sys_unstable_apis)]
778    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndexed")]
779    #[doc = "The `drawIndexed()` method."]
780    #[doc = ""]
781    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
782    #[doc = ""]
783    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
784    #[doc = ""]
785    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
786    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
787    pub fn draw_indexed_with_instance_count_and_first_index(
788        this: &GpuRenderBundleEncoder,
789        index_count: u32,
790        instance_count: u32,
791        first_index: u32,
792    );
793    #[cfg(web_sys_unstable_apis)]
794    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndexed")]
795    #[doc = "The `drawIndexed()` method."]
796    #[doc = ""]
797    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
798    #[doc = ""]
799    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
800    #[doc = ""]
801    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
802    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
803    pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex(
804        this: &GpuRenderBundleEncoder,
805        index_count: u32,
806        instance_count: u32,
807        first_index: u32,
808        base_vertex: i32,
809    );
810    #[cfg(web_sys_unstable_apis)]
811    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndexed")]
812    #[doc = "The `drawIndexed()` method."]
813    #[doc = ""]
814    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
815    #[doc = ""]
816    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
817    #[doc = ""]
818    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
819    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
820    pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex_and_first_instance(
821        this: &GpuRenderBundleEncoder,
822        index_count: u32,
823        instance_count: u32,
824        first_index: u32,
825        base_vertex: i32,
826        first_instance: u32,
827    );
828    #[cfg(web_sys_unstable_apis)]
829    #[cfg(feature = "GpuBuffer")]
830    #[wasm_bindgen(
831        method,
832        js_class = "GPURenderBundleEncoder",
833        js_name = "drawIndexedIndirect"
834    )]
835    #[doc = "The `drawIndexedIndirect()` method."]
836    #[doc = ""]
837    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect)"]
838    #[doc = ""]
839    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
840    #[doc = ""]
841    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
842    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
843    pub fn draw_indexed_indirect_with_u32(
844        this: &GpuRenderBundleEncoder,
845        indirect_buffer: &GpuBuffer,
846        indirect_offset: u32,
847    );
848    #[cfg(web_sys_unstable_apis)]
849    #[cfg(feature = "GpuBuffer")]
850    #[wasm_bindgen(
851        method,
852        js_class = "GPURenderBundleEncoder",
853        js_name = "drawIndexedIndirect"
854    )]
855    #[doc = "The `drawIndexedIndirect()` method."]
856    #[doc = ""]
857    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect)"]
858    #[doc = ""]
859    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
860    #[doc = ""]
861    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
862    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
863    pub fn draw_indexed_indirect_with_f64(
864        this: &GpuRenderBundleEncoder,
865        indirect_buffer: &GpuBuffer,
866        indirect_offset: f64,
867    );
868    #[cfg(web_sys_unstable_apis)]
869    #[cfg(feature = "GpuBuffer")]
870    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndirect")]
871    #[doc = "The `drawIndirect()` method."]
872    #[doc = ""]
873    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndirect)"]
874    #[doc = ""]
875    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
876    #[doc = ""]
877    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
878    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
879    pub fn draw_indirect_with_u32(
880        this: &GpuRenderBundleEncoder,
881        indirect_buffer: &GpuBuffer,
882        indirect_offset: u32,
883    );
884    #[cfg(web_sys_unstable_apis)]
885    #[cfg(feature = "GpuBuffer")]
886    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "drawIndirect")]
887    #[doc = "The `drawIndirect()` method."]
888    #[doc = ""]
889    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndirect)"]
890    #[doc = ""]
891    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
892    #[doc = ""]
893    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
894    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
895    pub fn draw_indirect_with_f64(
896        this: &GpuRenderBundleEncoder,
897        indirect_buffer: &GpuBuffer,
898        indirect_offset: f64,
899    );
900    #[cfg(web_sys_unstable_apis)]
901    #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
902    #[wasm_bindgen(
903        method,
904        js_class = "GPURenderBundleEncoder",
905        js_name = "setIndexBuffer"
906    )]
907    #[doc = "The `setIndexBuffer()` method."]
908    #[doc = ""]
909    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
910    #[doc = ""]
911    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
912    #[doc = ""]
913    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
914    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
915    pub fn set_index_buffer(
916        this: &GpuRenderBundleEncoder,
917        buffer: &GpuBuffer,
918        index_format: GpuIndexFormat,
919    );
920    #[cfg(web_sys_unstable_apis)]
921    #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
922    #[wasm_bindgen(
923        method,
924        js_class = "GPURenderBundleEncoder",
925        js_name = "setIndexBuffer"
926    )]
927    #[doc = "The `setIndexBuffer()` method."]
928    #[doc = ""]
929    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
930    #[doc = ""]
931    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
932    #[doc = ""]
933    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
934    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
935    pub fn set_index_buffer_with_u32(
936        this: &GpuRenderBundleEncoder,
937        buffer: &GpuBuffer,
938        index_format: GpuIndexFormat,
939        offset: u32,
940    );
941    #[cfg(web_sys_unstable_apis)]
942    #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
943    #[wasm_bindgen(
944        method,
945        js_class = "GPURenderBundleEncoder",
946        js_name = "setIndexBuffer"
947    )]
948    #[doc = "The `setIndexBuffer()` method."]
949    #[doc = ""]
950    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
951    #[doc = ""]
952    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
953    #[doc = ""]
954    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
955    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
956    pub fn set_index_buffer_with_f64(
957        this: &GpuRenderBundleEncoder,
958        buffer: &GpuBuffer,
959        index_format: GpuIndexFormat,
960        offset: f64,
961    );
962    #[cfg(web_sys_unstable_apis)]
963    #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
964    #[wasm_bindgen(
965        method,
966        js_class = "GPURenderBundleEncoder",
967        js_name = "setIndexBuffer"
968    )]
969    #[doc = "The `setIndexBuffer()` method."]
970    #[doc = ""]
971    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
972    #[doc = ""]
973    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
974    #[doc = ""]
975    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
976    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
977    pub fn set_index_buffer_with_u32_and_u32(
978        this: &GpuRenderBundleEncoder,
979        buffer: &GpuBuffer,
980        index_format: GpuIndexFormat,
981        offset: u32,
982        size: u32,
983    );
984    #[cfg(web_sys_unstable_apis)]
985    #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
986    #[wasm_bindgen(
987        method,
988        js_class = "GPURenderBundleEncoder",
989        js_name = "setIndexBuffer"
990    )]
991    #[doc = "The `setIndexBuffer()` method."]
992    #[doc = ""]
993    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
994    #[doc = ""]
995    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
996    #[doc = ""]
997    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
998    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
999    pub fn set_index_buffer_with_f64_and_u32(
1000        this: &GpuRenderBundleEncoder,
1001        buffer: &GpuBuffer,
1002        index_format: GpuIndexFormat,
1003        offset: f64,
1004        size: u32,
1005    );
1006    #[cfg(web_sys_unstable_apis)]
1007    #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
1008    #[wasm_bindgen(
1009        method,
1010        js_class = "GPURenderBundleEncoder",
1011        js_name = "setIndexBuffer"
1012    )]
1013    #[doc = "The `setIndexBuffer()` method."]
1014    #[doc = ""]
1015    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
1016    #[doc = ""]
1017    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
1018    #[doc = ""]
1019    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1020    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1021    pub fn set_index_buffer_with_u32_and_f64(
1022        this: &GpuRenderBundleEncoder,
1023        buffer: &GpuBuffer,
1024        index_format: GpuIndexFormat,
1025        offset: u32,
1026        size: f64,
1027    );
1028    #[cfg(web_sys_unstable_apis)]
1029    #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
1030    #[wasm_bindgen(
1031        method,
1032        js_class = "GPURenderBundleEncoder",
1033        js_name = "setIndexBuffer"
1034    )]
1035    #[doc = "The `setIndexBuffer()` method."]
1036    #[doc = ""]
1037    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
1038    #[doc = ""]
1039    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
1040    #[doc = ""]
1041    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1042    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1043    pub fn set_index_buffer_with_f64_and_f64(
1044        this: &GpuRenderBundleEncoder,
1045        buffer: &GpuBuffer,
1046        index_format: GpuIndexFormat,
1047        offset: f64,
1048        size: f64,
1049    );
1050    #[cfg(web_sys_unstable_apis)]
1051    #[cfg(feature = "GpuRenderPipeline")]
1052    #[wasm_bindgen(method, js_class = "GPURenderBundleEncoder", js_name = "setPipeline")]
1053    #[doc = "The `setPipeline()` method."]
1054    #[doc = ""]
1055    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setPipeline)"]
1056    #[doc = ""]
1057    #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`, `GpuRenderPipeline`*"]
1058    #[doc = ""]
1059    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1060    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1061    pub fn set_pipeline(this: &GpuRenderBundleEncoder, pipeline: &GpuRenderPipeline);
1062    #[cfg(web_sys_unstable_apis)]
1063    #[cfg(feature = "GpuBuffer")]
1064    #[wasm_bindgen(
1065        method,
1066        js_class = "GPURenderBundleEncoder",
1067        js_name = "setVertexBuffer"
1068    )]
1069    #[doc = "The `setVertexBuffer()` method."]
1070    #[doc = ""]
1071    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
1072    #[doc = ""]
1073    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
1074    #[doc = ""]
1075    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1076    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1077    pub fn set_vertex_buffer(this: &GpuRenderBundleEncoder, slot: u32, buffer: Option<&GpuBuffer>);
1078    #[cfg(web_sys_unstable_apis)]
1079    #[cfg(feature = "GpuBuffer")]
1080    #[wasm_bindgen(
1081        method,
1082        js_class = "GPURenderBundleEncoder",
1083        js_name = "setVertexBuffer"
1084    )]
1085    #[doc = "The `setVertexBuffer()` method."]
1086    #[doc = ""]
1087    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
1088    #[doc = ""]
1089    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
1090    #[doc = ""]
1091    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1092    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1093    pub fn set_vertex_buffer_with_u32(
1094        this: &GpuRenderBundleEncoder,
1095        slot: u32,
1096        buffer: Option<&GpuBuffer>,
1097        offset: u32,
1098    );
1099    #[cfg(web_sys_unstable_apis)]
1100    #[cfg(feature = "GpuBuffer")]
1101    #[wasm_bindgen(
1102        method,
1103        js_class = "GPURenderBundleEncoder",
1104        js_name = "setVertexBuffer"
1105    )]
1106    #[doc = "The `setVertexBuffer()` method."]
1107    #[doc = ""]
1108    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
1109    #[doc = ""]
1110    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
1111    #[doc = ""]
1112    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1113    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1114    pub fn set_vertex_buffer_with_f64(
1115        this: &GpuRenderBundleEncoder,
1116        slot: u32,
1117        buffer: Option<&GpuBuffer>,
1118        offset: f64,
1119    );
1120    #[cfg(web_sys_unstable_apis)]
1121    #[cfg(feature = "GpuBuffer")]
1122    #[wasm_bindgen(
1123        method,
1124        js_class = "GPURenderBundleEncoder",
1125        js_name = "setVertexBuffer"
1126    )]
1127    #[doc = "The `setVertexBuffer()` method."]
1128    #[doc = ""]
1129    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
1130    #[doc = ""]
1131    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
1132    #[doc = ""]
1133    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1134    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1135    pub fn set_vertex_buffer_with_u32_and_u32(
1136        this: &GpuRenderBundleEncoder,
1137        slot: u32,
1138        buffer: Option<&GpuBuffer>,
1139        offset: u32,
1140        size: u32,
1141    );
1142    #[cfg(web_sys_unstable_apis)]
1143    #[cfg(feature = "GpuBuffer")]
1144    #[wasm_bindgen(
1145        method,
1146        js_class = "GPURenderBundleEncoder",
1147        js_name = "setVertexBuffer"
1148    )]
1149    #[doc = "The `setVertexBuffer()` method."]
1150    #[doc = ""]
1151    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
1152    #[doc = ""]
1153    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
1154    #[doc = ""]
1155    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1156    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1157    pub fn set_vertex_buffer_with_f64_and_u32(
1158        this: &GpuRenderBundleEncoder,
1159        slot: u32,
1160        buffer: Option<&GpuBuffer>,
1161        offset: f64,
1162        size: u32,
1163    );
1164    #[cfg(web_sys_unstable_apis)]
1165    #[cfg(feature = "GpuBuffer")]
1166    #[wasm_bindgen(
1167        method,
1168        js_class = "GPURenderBundleEncoder",
1169        js_name = "setVertexBuffer"
1170    )]
1171    #[doc = "The `setVertexBuffer()` method."]
1172    #[doc = ""]
1173    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
1174    #[doc = ""]
1175    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
1176    #[doc = ""]
1177    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1178    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1179    pub fn set_vertex_buffer_with_u32_and_f64(
1180        this: &GpuRenderBundleEncoder,
1181        slot: u32,
1182        buffer: Option<&GpuBuffer>,
1183        offset: u32,
1184        size: f64,
1185    );
1186    #[cfg(web_sys_unstable_apis)]
1187    #[cfg(feature = "GpuBuffer")]
1188    #[wasm_bindgen(
1189        method,
1190        js_class = "GPURenderBundleEncoder",
1191        js_name = "setVertexBuffer"
1192    )]
1193    #[doc = "The `setVertexBuffer()` method."]
1194    #[doc = ""]
1195    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
1196    #[doc = ""]
1197    #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
1198    #[doc = ""]
1199    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1200    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1201    pub fn set_vertex_buffer_with_f64_and_f64(
1202        this: &GpuRenderBundleEncoder,
1203        slot: u32,
1204        buffer: Option<&GpuBuffer>,
1205        offset: f64,
1206        size: f64,
1207    );
1208}