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