Skip to main content

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