1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[cfg(web_sys_unstable_apis)]
5 #[wasm_bindgen]
6 extern "C" {
7     # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPURenderPassEncoder , typescript_type = "GPURenderPassEncoder" ) ]
8     #[derive(Debug, Clone, PartialEq, Eq)]
9     #[doc = "The `GpuRenderPassEncoder` class."]
10     #[doc = ""]
11     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder)"]
12     #[doc = ""]
13     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
14     #[doc = ""]
15     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
16     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
17     pub type GpuRenderPassEncoder;
18     #[cfg(web_sys_unstable_apis)]
19     # [ wasm_bindgen ( structural , method , getter , js_class = "GPURenderPassEncoder" , js_name = label ) ]
20     #[doc = "Getter for the `label` field of this object."]
21     #[doc = ""]
22     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/label)"]
23     #[doc = ""]
24     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
25     #[doc = ""]
26     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
27     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
label(this: &GpuRenderPassEncoder) -> Option<String>28     pub fn label(this: &GpuRenderPassEncoder) -> Option<String>;
29     #[cfg(web_sys_unstable_apis)]
30     # [ wasm_bindgen ( structural , method , setter , js_class = "GPURenderPassEncoder" , js_name = label ) ]
31     #[doc = "Setter for the `label` field of this object."]
32     #[doc = ""]
33     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/label)"]
34     #[doc = ""]
35     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
36     #[doc = ""]
37     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
38     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_label(this: &GpuRenderPassEncoder, value: Option<&str>)39     pub fn set_label(this: &GpuRenderPassEncoder, value: Option<&str>);
40     #[cfg(web_sys_unstable_apis)]
41     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = beginOcclusionQuery ) ]
42     #[doc = "The `beginOcclusionQuery()` method."]
43     #[doc = ""]
44     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/beginOcclusionQuery)"]
45     #[doc = ""]
46     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
47     #[doc = ""]
48     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
49     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
begin_occlusion_query(this: &GpuRenderPassEncoder, query_index: u32)50     pub fn begin_occlusion_query(this: &GpuRenderPassEncoder, query_index: u32);
51     #[cfg(web_sys_unstable_apis)]
52     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = endOcclusionQuery ) ]
53     #[doc = "The `endOcclusionQuery()` method."]
54     #[doc = ""]
55     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/endOcclusionQuery)"]
56     #[doc = ""]
57     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
58     #[doc = ""]
59     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
60     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
end_occlusion_query(this: &GpuRenderPassEncoder, query_index: u32)61     pub fn end_occlusion_query(this: &GpuRenderPassEncoder, query_index: u32);
62     #[cfg(web_sys_unstable_apis)]
63     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = endPass ) ]
64     #[doc = "The `endPass()` method."]
65     #[doc = ""]
66     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/endPass)"]
67     #[doc = ""]
68     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
69     #[doc = ""]
70     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
71     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
end_pass(this: &GpuRenderPassEncoder)72     pub fn end_pass(this: &GpuRenderPassEncoder);
73     #[cfg(web_sys_unstable_apis)]
74     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = executeBundles ) ]
75     #[doc = "The `executeBundles()` method."]
76     #[doc = ""]
77     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/executeBundles)"]
78     #[doc = ""]
79     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
execute_bundles(this: &GpuRenderPassEncoder, bundles: &::wasm_bindgen::JsValue)83     pub fn execute_bundles(this: &GpuRenderPassEncoder, bundles: &::wasm_bindgen::JsValue);
84     #[cfg(web_sys_unstable_apis)]
85     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setBlendColor ) ]
86     #[doc = "The `setBlendColor()` method."]
87     #[doc = ""]
88     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBlendColor)"]
89     #[doc = ""]
90     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
91     #[doc = ""]
92     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
93     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_blend_color_with_f64_sequence( this: &GpuRenderPassEncoder, color: &::wasm_bindgen::JsValue, )94     pub fn set_blend_color_with_f64_sequence(
95         this: &GpuRenderPassEncoder,
96         color: &::wasm_bindgen::JsValue,
97     );
98     #[cfg(web_sys_unstable_apis)]
99     #[cfg(feature = "GpuColorDict")]
100     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setBlendColor ) ]
101     #[doc = "The `setBlendColor()` method."]
102     #[doc = ""]
103     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBlendColor)"]
104     #[doc = ""]
105     #[doc = "*This API requires the following crate features to be activated: `GpuColorDict`, `GpuRenderPassEncoder`*"]
106     #[doc = ""]
107     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
108     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_blend_color_with_gpu_color_dict(this: &GpuRenderPassEncoder, color: &GpuColorDict)109     pub fn set_blend_color_with_gpu_color_dict(this: &GpuRenderPassEncoder, color: &GpuColorDict);
110     #[cfg(web_sys_unstable_apis)]
111     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setScissorRect ) ]
112     #[doc = "The `setScissorRect()` method."]
113     #[doc = ""]
114     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setScissorRect)"]
115     #[doc = ""]
116     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
117     #[doc = ""]
118     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
119     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_scissor_rect(this: &GpuRenderPassEncoder, x: u32, y: u32, width: u32, height: u32)120     pub fn set_scissor_rect(this: &GpuRenderPassEncoder, x: u32, y: u32, width: u32, height: u32);
121     #[cfg(web_sys_unstable_apis)]
122     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setStencilReference ) ]
123     #[doc = "The `setStencilReference()` method."]
124     #[doc = ""]
125     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setStencilReference)"]
126     #[doc = ""]
127     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
128     #[doc = ""]
129     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
130     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_stencil_reference(this: &GpuRenderPassEncoder, reference: u32)131     pub fn set_stencil_reference(this: &GpuRenderPassEncoder, reference: u32);
132     #[cfg(web_sys_unstable_apis)]
133     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setViewport ) ]
134     #[doc = "The `setViewport()` method."]
135     #[doc = ""]
136     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setViewport)"]
137     #[doc = ""]
138     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
139     #[doc = ""]
140     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
141     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_viewport( this: &GpuRenderPassEncoder, x: f32, y: f32, width: f32, height: f32, min_depth: f32, max_depth: f32, )142     pub fn set_viewport(
143         this: &GpuRenderPassEncoder,
144         x: f32,
145         y: f32,
146         width: f32,
147         height: f32,
148         min_depth: f32,
149         max_depth: f32,
150     );
151     #[cfg(web_sys_unstable_apis)]
152     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = insertDebugMarker ) ]
153     #[doc = "The `insertDebugMarker()` method."]
154     #[doc = ""]
155     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/insertDebugMarker)"]
156     #[doc = ""]
157     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
158     #[doc = ""]
159     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
160     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
insert_debug_marker(this: &GpuRenderPassEncoder, marker_label: &str)161     pub fn insert_debug_marker(this: &GpuRenderPassEncoder, marker_label: &str);
162     #[cfg(web_sys_unstable_apis)]
163     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = popDebugGroup ) ]
164     #[doc = "The `popDebugGroup()` method."]
165     #[doc = ""]
166     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/popDebugGroup)"]
167     #[doc = ""]
168     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
169     #[doc = ""]
170     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
171     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
pop_debug_group(this: &GpuRenderPassEncoder)172     pub fn pop_debug_group(this: &GpuRenderPassEncoder);
173     #[cfg(web_sys_unstable_apis)]
174     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = pushDebugGroup ) ]
175     #[doc = "The `pushDebugGroup()` method."]
176     #[doc = ""]
177     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/pushDebugGroup)"]
178     #[doc = ""]
179     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
180     #[doc = ""]
181     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
182     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
push_debug_group(this: &GpuRenderPassEncoder, group_label: &str)183     pub fn push_debug_group(this: &GpuRenderPassEncoder, group_label: &str);
184     #[cfg(web_sys_unstable_apis)]
185     #[cfg(feature = "GpuBindGroup")]
186     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup ) ]
187     #[doc = "The `setBindGroup()` method."]
188     #[doc = ""]
189     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
190     #[doc = ""]
191     #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"]
192     #[doc = ""]
193     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
194     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_bind_group(this: &GpuRenderPassEncoder, index: u32, bind_group: &GpuBindGroup)195     pub fn set_bind_group(this: &GpuRenderPassEncoder, index: u32, bind_group: &GpuBindGroup);
196     #[cfg(web_sys_unstable_apis)]
197     #[cfg(feature = "GpuBindGroup")]
198     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup ) ]
199     #[doc = "The `setBindGroup()` method."]
200     #[doc = ""]
201     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
202     #[doc = ""]
203     #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"]
204     #[doc = ""]
205     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
206     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_bind_group_with_u32_sequence( this: &GpuRenderPassEncoder, index: u32, bind_group: &GpuBindGroup, dynamic_offsets: &::wasm_bindgen::JsValue, )207     pub fn set_bind_group_with_u32_sequence(
208         this: &GpuRenderPassEncoder,
209         index: u32,
210         bind_group: &GpuBindGroup,
211         dynamic_offsets: &::wasm_bindgen::JsValue,
212     );
213     #[cfg(web_sys_unstable_apis)]
214     #[cfg(feature = "GpuBindGroup")]
215     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup ) ]
216     #[doc = "The `setBindGroup()` method."]
217     #[doc = ""]
218     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
219     #[doc = ""]
220     #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"]
221     #[doc = ""]
222     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
223     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_bind_group_with_u32_array_and_u32_and_dynamic_offsets_data_length( this: &GpuRenderPassEncoder, index: u32, bind_group: &GpuBindGroup, dynamic_offsets_data: &[u32], dynamic_offsets_data_start: u32, dynamic_offsets_data_length: u32, )224     pub fn set_bind_group_with_u32_array_and_u32_and_dynamic_offsets_data_length(
225         this: &GpuRenderPassEncoder,
226         index: u32,
227         bind_group: &GpuBindGroup,
228         dynamic_offsets_data: &[u32],
229         dynamic_offsets_data_start: u32,
230         dynamic_offsets_data_length: u32,
231     );
232     #[cfg(web_sys_unstable_apis)]
233     #[cfg(feature = "GpuBindGroup")]
234     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup ) ]
235     #[doc = "The `setBindGroup()` method."]
236     #[doc = ""]
237     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
238     #[doc = ""]
239     #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"]
240     #[doc = ""]
241     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
242     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_bind_group_with_u32_array_and_f64_and_dynamic_offsets_data_length( this: &GpuRenderPassEncoder, index: u32, bind_group: &GpuBindGroup, dynamic_offsets_data: &[u32], dynamic_offsets_data_start: f64, dynamic_offsets_data_length: u32, )243     pub fn set_bind_group_with_u32_array_and_f64_and_dynamic_offsets_data_length(
244         this: &GpuRenderPassEncoder,
245         index: u32,
246         bind_group: &GpuBindGroup,
247         dynamic_offsets_data: &[u32],
248         dynamic_offsets_data_start: f64,
249         dynamic_offsets_data_length: u32,
250     );
251     #[cfg(web_sys_unstable_apis)]
252     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = draw ) ]
253     #[doc = "The `draw()` method."]
254     #[doc = ""]
255     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
256     #[doc = ""]
257     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
258     #[doc = ""]
259     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
260     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw(this: &GpuRenderPassEncoder, vertex_count: u32)261     pub fn draw(this: &GpuRenderPassEncoder, vertex_count: u32);
262     #[cfg(web_sys_unstable_apis)]
263     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = draw ) ]
264     #[doc = "The `draw()` method."]
265     #[doc = ""]
266     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
267     #[doc = ""]
268     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
269     #[doc = ""]
270     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
271     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_with_instance_count( this: &GpuRenderPassEncoder, vertex_count: u32, instance_count: u32, )272     pub fn draw_with_instance_count(
273         this: &GpuRenderPassEncoder,
274         vertex_count: u32,
275         instance_count: u32,
276     );
277     #[cfg(web_sys_unstable_apis)]
278     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = draw ) ]
279     #[doc = "The `draw()` method."]
280     #[doc = ""]
281     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
282     #[doc = ""]
283     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
284     #[doc = ""]
285     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
286     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_with_instance_count_and_first_vertex( this: &GpuRenderPassEncoder, vertex_count: u32, instance_count: u32, first_vertex: u32, )287     pub fn draw_with_instance_count_and_first_vertex(
288         this: &GpuRenderPassEncoder,
289         vertex_count: u32,
290         instance_count: u32,
291         first_vertex: u32,
292     );
293     #[cfg(web_sys_unstable_apis)]
294     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = draw ) ]
295     #[doc = "The `draw()` method."]
296     #[doc = ""]
297     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
298     #[doc = ""]
299     #[doc = "*This API requires the following crate features to be activated: `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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_with_instance_count_and_first_vertex_and_first_instance( this: &GpuRenderPassEncoder, vertex_count: u32, instance_count: u32, first_vertex: u32, first_instance: u32, )303     pub fn draw_with_instance_count_and_first_vertex_and_first_instance(
304         this: &GpuRenderPassEncoder,
305         vertex_count: u32,
306         instance_count: u32,
307         first_vertex: u32,
308         first_instance: u32,
309     );
310     #[cfg(web_sys_unstable_apis)]
311     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed ) ]
312     #[doc = "The `drawIndexed()` method."]
313     #[doc = ""]
314     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
315     #[doc = ""]
316     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
317     #[doc = ""]
318     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
319     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_indexed(this: &GpuRenderPassEncoder, index_count: u32)320     pub fn draw_indexed(this: &GpuRenderPassEncoder, index_count: u32);
321     #[cfg(web_sys_unstable_apis)]
322     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed ) ]
323     #[doc = "The `drawIndexed()` method."]
324     #[doc = ""]
325     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
326     #[doc = ""]
327     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
328     #[doc = ""]
329     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
330     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_indexed_with_instance_count( this: &GpuRenderPassEncoder, index_count: u32, instance_count: u32, )331     pub fn draw_indexed_with_instance_count(
332         this: &GpuRenderPassEncoder,
333         index_count: u32,
334         instance_count: u32,
335     );
336     #[cfg(web_sys_unstable_apis)]
337     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed ) ]
338     #[doc = "The `drawIndexed()` method."]
339     #[doc = ""]
340     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_indexed_with_instance_count_and_first_index( this: &GpuRenderPassEncoder, index_count: u32, instance_count: u32, first_index: u32, )346     pub fn draw_indexed_with_instance_count_and_first_index(
347         this: &GpuRenderPassEncoder,
348         index_count: u32,
349         instance_count: u32,
350         first_index: u32,
351     );
352     #[cfg(web_sys_unstable_apis)]
353     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed ) ]
354     #[doc = "The `drawIndexed()` method."]
355     #[doc = ""]
356     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
357     #[doc = ""]
358     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
359     #[doc = ""]
360     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
361     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_indexed_with_instance_count_and_first_index_and_base_vertex( this: &GpuRenderPassEncoder, index_count: u32, instance_count: u32, first_index: u32, base_vertex: i32, )362     pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex(
363         this: &GpuRenderPassEncoder,
364         index_count: u32,
365         instance_count: u32,
366         first_index: u32,
367         base_vertex: i32,
368     );
369     #[cfg(web_sys_unstable_apis)]
370     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed ) ]
371     #[doc = "The `drawIndexed()` method."]
372     #[doc = ""]
373     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
374     #[doc = ""]
375     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
376     #[doc = ""]
377     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
378     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_indexed_with_instance_count_and_first_index_and_base_vertex_and_first_instance( this: &GpuRenderPassEncoder, index_count: u32, instance_count: u32, first_index: u32, base_vertex: i32, first_instance: u32, )379     pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex_and_first_instance(
380         this: &GpuRenderPassEncoder,
381         index_count: u32,
382         instance_count: u32,
383         first_index: u32,
384         base_vertex: i32,
385         first_instance: u32,
386     );
387     #[cfg(web_sys_unstable_apis)]
388     #[cfg(feature = "GpuBuffer")]
389     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexedIndirect ) ]
390     #[doc = "The `drawIndexedIndirect()` method."]
391     #[doc = ""]
392     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexedIndirect)"]
393     #[doc = ""]
394     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
395     #[doc = ""]
396     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
397     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_indexed_indirect_with_u32( this: &GpuRenderPassEncoder, indirect_buffer: &GpuBuffer, indirect_offset: u32, )398     pub fn draw_indexed_indirect_with_u32(
399         this: &GpuRenderPassEncoder,
400         indirect_buffer: &GpuBuffer,
401         indirect_offset: u32,
402     );
403     #[cfg(web_sys_unstable_apis)]
404     #[cfg(feature = "GpuBuffer")]
405     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexedIndirect ) ]
406     #[doc = "The `drawIndexedIndirect()` method."]
407     #[doc = ""]
408     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexedIndirect)"]
409     #[doc = ""]
410     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
411     #[doc = ""]
412     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
413     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_indexed_indirect_with_f64( this: &GpuRenderPassEncoder, indirect_buffer: &GpuBuffer, indirect_offset: f64, )414     pub fn draw_indexed_indirect_with_f64(
415         this: &GpuRenderPassEncoder,
416         indirect_buffer: &GpuBuffer,
417         indirect_offset: f64,
418     );
419     #[cfg(web_sys_unstable_apis)]
420     #[cfg(feature = "GpuBuffer")]
421     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndirect ) ]
422     #[doc = "The `drawIndirect()` method."]
423     #[doc = ""]
424     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndirect)"]
425     #[doc = ""]
426     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
427     #[doc = ""]
428     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
429     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_indirect_with_u32( this: &GpuRenderPassEncoder, indirect_buffer: &GpuBuffer, indirect_offset: u32, )430     pub fn draw_indirect_with_u32(
431         this: &GpuRenderPassEncoder,
432         indirect_buffer: &GpuBuffer,
433         indirect_offset: u32,
434     );
435     #[cfg(web_sys_unstable_apis)]
436     #[cfg(feature = "GpuBuffer")]
437     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndirect ) ]
438     #[doc = "The `drawIndirect()` method."]
439     #[doc = ""]
440     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndirect)"]
441     #[doc = ""]
442     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_indirect_with_f64( this: &GpuRenderPassEncoder, indirect_buffer: &GpuBuffer, indirect_offset: f64, )446     pub fn draw_indirect_with_f64(
447         this: &GpuRenderPassEncoder,
448         indirect_buffer: &GpuBuffer,
449         indirect_offset: f64,
450     );
451     #[cfg(web_sys_unstable_apis)]
452     #[cfg(feature = "GpuBuffer")]
453     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ]
454     #[doc = "The `setIndexBuffer()` method."]
455     #[doc = ""]
456     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
457     #[doc = ""]
458     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
459     #[doc = ""]
460     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
461     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_index_buffer(this: &GpuRenderPassEncoder, buffer: &GpuBuffer)462     pub fn set_index_buffer(this: &GpuRenderPassEncoder, buffer: &GpuBuffer);
463     #[cfg(web_sys_unstable_apis)]
464     #[cfg(feature = "GpuBuffer")]
465     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ]
466     #[doc = "The `setIndexBuffer()` method."]
467     #[doc = ""]
468     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
469     #[doc = ""]
470     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
471     #[doc = ""]
472     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
473     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_index_buffer_with_u32(this: &GpuRenderPassEncoder, buffer: &GpuBuffer, offset: u32)474     pub fn set_index_buffer_with_u32(this: &GpuRenderPassEncoder, buffer: &GpuBuffer, offset: u32);
475     #[cfg(web_sys_unstable_apis)]
476     #[cfg(feature = "GpuBuffer")]
477     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ]
478     #[doc = "The `setIndexBuffer()` method."]
479     #[doc = ""]
480     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
481     #[doc = ""]
482     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
483     #[doc = ""]
484     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
485     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_index_buffer_with_f64(this: &GpuRenderPassEncoder, buffer: &GpuBuffer, offset: f64)486     pub fn set_index_buffer_with_f64(this: &GpuRenderPassEncoder, buffer: &GpuBuffer, offset: f64);
487     #[cfg(web_sys_unstable_apis)]
488     #[cfg(feature = "GpuBuffer")]
489     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ]
490     #[doc = "The `setIndexBuffer()` method."]
491     #[doc = ""]
492     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
493     #[doc = ""]
494     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
495     #[doc = ""]
496     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
497     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_index_buffer_with_u32_and_u32( this: &GpuRenderPassEncoder, buffer: &GpuBuffer, offset: u32, size: u32, )498     pub fn set_index_buffer_with_u32_and_u32(
499         this: &GpuRenderPassEncoder,
500         buffer: &GpuBuffer,
501         offset: u32,
502         size: u32,
503     );
504     #[cfg(web_sys_unstable_apis)]
505     #[cfg(feature = "GpuBuffer")]
506     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ]
507     #[doc = "The `setIndexBuffer()` method."]
508     #[doc = ""]
509     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
510     #[doc = ""]
511     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
512     #[doc = ""]
513     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
514     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_index_buffer_with_f64_and_u32( this: &GpuRenderPassEncoder, buffer: &GpuBuffer, offset: f64, size: u32, )515     pub fn set_index_buffer_with_f64_and_u32(
516         this: &GpuRenderPassEncoder,
517         buffer: &GpuBuffer,
518         offset: f64,
519         size: u32,
520     );
521     #[cfg(web_sys_unstable_apis)]
522     #[cfg(feature = "GpuBuffer")]
523     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ]
524     #[doc = "The `setIndexBuffer()` method."]
525     #[doc = ""]
526     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
527     #[doc = ""]
528     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
529     #[doc = ""]
530     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
531     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_index_buffer_with_u32_and_f64( this: &GpuRenderPassEncoder, buffer: &GpuBuffer, offset: u32, size: f64, )532     pub fn set_index_buffer_with_u32_and_f64(
533         this: &GpuRenderPassEncoder,
534         buffer: &GpuBuffer,
535         offset: u32,
536         size: f64,
537     );
538     #[cfg(web_sys_unstable_apis)]
539     #[cfg(feature = "GpuBuffer")]
540     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ]
541     #[doc = "The `setIndexBuffer()` method."]
542     #[doc = ""]
543     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
544     #[doc = ""]
545     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
546     #[doc = ""]
547     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
548     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_index_buffer_with_f64_and_f64( this: &GpuRenderPassEncoder, buffer: &GpuBuffer, offset: f64, size: f64, )549     pub fn set_index_buffer_with_f64_and_f64(
550         this: &GpuRenderPassEncoder,
551         buffer: &GpuBuffer,
552         offset: f64,
553         size: f64,
554     );
555     #[cfg(web_sys_unstable_apis)]
556     #[cfg(feature = "GpuRenderPipeline")]
557     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setPipeline ) ]
558     #[doc = "The `setPipeline()` method."]
559     #[doc = ""]
560     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setPipeline)"]
561     #[doc = ""]
562     #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`, `GpuRenderPipeline`*"]
563     #[doc = ""]
564     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
565     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_pipeline(this: &GpuRenderPassEncoder, pipeline: &GpuRenderPipeline)566     pub fn set_pipeline(this: &GpuRenderPassEncoder, pipeline: &GpuRenderPipeline);
567     #[cfg(web_sys_unstable_apis)]
568     #[cfg(feature = "GpuBuffer")]
569     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ]
570     #[doc = "The `setVertexBuffer()` method."]
571     #[doc = ""]
572     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
573     #[doc = ""]
574     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_vertex_buffer(this: &GpuRenderPassEncoder, slot: u32, buffer: &GpuBuffer)578     pub fn set_vertex_buffer(this: &GpuRenderPassEncoder, slot: u32, buffer: &GpuBuffer);
579     #[cfg(web_sys_unstable_apis)]
580     #[cfg(feature = "GpuBuffer")]
581     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ]
582     #[doc = "The `setVertexBuffer()` method."]
583     #[doc = ""]
584     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
585     #[doc = ""]
586     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
587     #[doc = ""]
588     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
589     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_vertex_buffer_with_u32( this: &GpuRenderPassEncoder, slot: u32, buffer: &GpuBuffer, offset: u32, )590     pub fn set_vertex_buffer_with_u32(
591         this: &GpuRenderPassEncoder,
592         slot: u32,
593         buffer: &GpuBuffer,
594         offset: u32,
595     );
596     #[cfg(web_sys_unstable_apis)]
597     #[cfg(feature = "GpuBuffer")]
598     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ]
599     #[doc = "The `setVertexBuffer()` method."]
600     #[doc = ""]
601     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
602     #[doc = ""]
603     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
604     #[doc = ""]
605     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
606     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_vertex_buffer_with_f64( this: &GpuRenderPassEncoder, slot: u32, buffer: &GpuBuffer, offset: f64, )607     pub fn set_vertex_buffer_with_f64(
608         this: &GpuRenderPassEncoder,
609         slot: u32,
610         buffer: &GpuBuffer,
611         offset: f64,
612     );
613     #[cfg(web_sys_unstable_apis)]
614     #[cfg(feature = "GpuBuffer")]
615     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ]
616     #[doc = "The `setVertexBuffer()` method."]
617     #[doc = ""]
618     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
619     #[doc = ""]
620     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
621     #[doc = ""]
622     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
623     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_vertex_buffer_with_u32_and_u32( this: &GpuRenderPassEncoder, slot: u32, buffer: &GpuBuffer, offset: u32, size: u32, )624     pub fn set_vertex_buffer_with_u32_and_u32(
625         this: &GpuRenderPassEncoder,
626         slot: u32,
627         buffer: &GpuBuffer,
628         offset: u32,
629         size: u32,
630     );
631     #[cfg(web_sys_unstable_apis)]
632     #[cfg(feature = "GpuBuffer")]
633     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ]
634     #[doc = "The `setVertexBuffer()` method."]
635     #[doc = ""]
636     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
637     #[doc = ""]
638     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
639     #[doc = ""]
640     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
641     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_vertex_buffer_with_f64_and_u32( this: &GpuRenderPassEncoder, slot: u32, buffer: &GpuBuffer, offset: f64, size: u32, )642     pub fn set_vertex_buffer_with_f64_and_u32(
643         this: &GpuRenderPassEncoder,
644         slot: u32,
645         buffer: &GpuBuffer,
646         offset: f64,
647         size: u32,
648     );
649     #[cfg(web_sys_unstable_apis)]
650     #[cfg(feature = "GpuBuffer")]
651     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ]
652     #[doc = "The `setVertexBuffer()` method."]
653     #[doc = ""]
654     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
655     #[doc = ""]
656     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
657     #[doc = ""]
658     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
659     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_vertex_buffer_with_u32_and_f64( this: &GpuRenderPassEncoder, slot: u32, buffer: &GpuBuffer, offset: u32, size: f64, )660     pub fn set_vertex_buffer_with_u32_and_f64(
661         this: &GpuRenderPassEncoder,
662         slot: u32,
663         buffer: &GpuBuffer,
664         offset: u32,
665         size: f64,
666     );
667     #[cfg(web_sys_unstable_apis)]
668     #[cfg(feature = "GpuBuffer")]
669     # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ]
670     #[doc = "The `setVertexBuffer()` method."]
671     #[doc = ""]
672     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
673     #[doc = ""]
674     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
675     #[doc = ""]
676     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
677     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_vertex_buffer_with_f64_and_f64( this: &GpuRenderPassEncoder, slot: u32, buffer: &GpuBuffer, offset: f64, size: f64, )678     pub fn set_vertex_buffer_with_f64_and_f64(
679         this: &GpuRenderPassEncoder,
680         slot: u32,
681         buffer: &GpuBuffer,
682         offset: f64,
683         size: f64,
684     );
685 }
686