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 = GPURenderBundleEncoder , typescript_type = "GPURenderBundleEncoder" ) ]
8     #[derive(Debug, Clone, PartialEq, Eq)]
9     #[doc = "The `GpuRenderBundleEncoder` class."]
10     #[doc = ""]
11     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder)"]
12     #[doc = ""]
13     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
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 GpuRenderBundleEncoder;
18     #[cfg(web_sys_unstable_apis)]
19     # [ wasm_bindgen ( structural , method , getter , js_class = "GPURenderBundleEncoder" , 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/GPURenderBundleEncoder/label)"]
23     #[doc = ""]
24     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
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: &GpuRenderBundleEncoder) -> Option<String>28     pub fn label(this: &GpuRenderBundleEncoder) -> Option<String>;
29     #[cfg(web_sys_unstable_apis)]
30     # [ wasm_bindgen ( structural , method , setter , js_class = "GPURenderBundleEncoder" , 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/GPURenderBundleEncoder/label)"]
34     #[doc = ""]
35     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
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: &GpuRenderBundleEncoder, value: Option<&str>)39     pub fn set_label(this: &GpuRenderBundleEncoder, value: Option<&str>);
40     #[cfg(web_sys_unstable_apis)]
41     #[cfg(feature = "GpuRenderBundle")]
42     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = finish ) ]
43     #[doc = "The `finish()` method."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/finish)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundle`, `GpuRenderBundleEncoder`*"]
48     #[doc = ""]
49     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
50     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
finish(this: &GpuRenderBundleEncoder) -> GpuRenderBundle51     pub fn finish(this: &GpuRenderBundleEncoder) -> GpuRenderBundle;
52     #[cfg(web_sys_unstable_apis)]
53     #[cfg(all(feature = "GpuRenderBundle", feature = "GpuRenderBundleDescriptor",))]
54     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = finish ) ]
55     #[doc = "The `finish()` method."]
56     #[doc = ""]
57     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/finish)"]
58     #[doc = ""]
59     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundle`, `GpuRenderBundleDescriptor`, `GpuRenderBundleEncoder`*"]
60     #[doc = ""]
61     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
62     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
finish_with_descriptor( this: &GpuRenderBundleEncoder, descriptor: &GpuRenderBundleDescriptor, ) -> GpuRenderBundle63     pub fn finish_with_descriptor(
64         this: &GpuRenderBundleEncoder,
65         descriptor: &GpuRenderBundleDescriptor,
66     ) -> GpuRenderBundle;
67     #[cfg(web_sys_unstable_apis)]
68     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = insertDebugMarker ) ]
69     #[doc = "The `insertDebugMarker()` method."]
70     #[doc = ""]
71     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/insertDebugMarker)"]
72     #[doc = ""]
73     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
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)*"]
insert_debug_marker(this: &GpuRenderBundleEncoder, marker_label: &str)77     pub fn insert_debug_marker(this: &GpuRenderBundleEncoder, marker_label: &str);
78     #[cfg(web_sys_unstable_apis)]
79     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = popDebugGroup ) ]
80     #[doc = "The `popDebugGroup()` method."]
81     #[doc = ""]
82     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/popDebugGroup)"]
83     #[doc = ""]
84     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
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)*"]
pop_debug_group(this: &GpuRenderBundleEncoder)88     pub fn pop_debug_group(this: &GpuRenderBundleEncoder);
89     #[cfg(web_sys_unstable_apis)]
90     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = pushDebugGroup ) ]
91     #[doc = "The `pushDebugGroup()` method."]
92     #[doc = ""]
93     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/pushDebugGroup)"]
94     #[doc = ""]
95     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
96     #[doc = ""]
97     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
98     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
push_debug_group(this: &GpuRenderBundleEncoder, group_label: &str)99     pub fn push_debug_group(this: &GpuRenderBundleEncoder, group_label: &str);
100     #[cfg(web_sys_unstable_apis)]
101     #[cfg(feature = "GpuBindGroup")]
102     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup ) ]
103     #[doc = "The `setBindGroup()` method."]
104     #[doc = ""]
105     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
106     #[doc = ""]
107     #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
108     #[doc = ""]
109     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
110     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_bind_group(this: &GpuRenderBundleEncoder, index: u32, bind_group: &GpuBindGroup)111     pub fn set_bind_group(this: &GpuRenderBundleEncoder, index: u32, bind_group: &GpuBindGroup);
112     #[cfg(web_sys_unstable_apis)]
113     #[cfg(feature = "GpuBindGroup")]
114     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup ) ]
115     #[doc = "The `setBindGroup()` method."]
116     #[doc = ""]
117     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
118     #[doc = ""]
119     #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
120     #[doc = ""]
121     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
122     #[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: &GpuRenderBundleEncoder, index: u32, bind_group: &GpuBindGroup, dynamic_offsets: &::wasm_bindgen::JsValue, )123     pub fn set_bind_group_with_u32_sequence(
124         this: &GpuRenderBundleEncoder,
125         index: u32,
126         bind_group: &GpuBindGroup,
127         dynamic_offsets: &::wasm_bindgen::JsValue,
128     );
129     #[cfg(web_sys_unstable_apis)]
130     #[cfg(feature = "GpuBindGroup")]
131     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup ) ]
132     #[doc = "The `setBindGroup()` method."]
133     #[doc = ""]
134     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
135     #[doc = ""]
136     #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
137     #[doc = ""]
138     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
139     #[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: &GpuRenderBundleEncoder, index: u32, bind_group: &GpuBindGroup, dynamic_offsets_data: &[u32], dynamic_offsets_data_start: u32, dynamic_offsets_data_length: u32, )140     pub fn set_bind_group_with_u32_array_and_u32_and_dynamic_offsets_data_length(
141         this: &GpuRenderBundleEncoder,
142         index: u32,
143         bind_group: &GpuBindGroup,
144         dynamic_offsets_data: &[u32],
145         dynamic_offsets_data_start: u32,
146         dynamic_offsets_data_length: u32,
147     );
148     #[cfg(web_sys_unstable_apis)]
149     #[cfg(feature = "GpuBindGroup")]
150     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup ) ]
151     #[doc = "The `setBindGroup()` method."]
152     #[doc = ""]
153     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
154     #[doc = ""]
155     #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
156     #[doc = ""]
157     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
158     #[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: &GpuRenderBundleEncoder, index: u32, bind_group: &GpuBindGroup, dynamic_offsets_data: &[u32], dynamic_offsets_data_start: f64, dynamic_offsets_data_length: u32, )159     pub fn set_bind_group_with_u32_array_and_f64_and_dynamic_offsets_data_length(
160         this: &GpuRenderBundleEncoder,
161         index: u32,
162         bind_group: &GpuBindGroup,
163         dynamic_offsets_data: &[u32],
164         dynamic_offsets_data_start: f64,
165         dynamic_offsets_data_length: u32,
166     );
167     #[cfg(web_sys_unstable_apis)]
168     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw ) ]
169     #[doc = "The `draw()` method."]
170     #[doc = ""]
171     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
172     #[doc = ""]
173     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
174     #[doc = ""]
175     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
176     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw(this: &GpuRenderBundleEncoder, vertex_count: u32)177     pub fn draw(this: &GpuRenderBundleEncoder, vertex_count: u32);
178     #[cfg(web_sys_unstable_apis)]
179     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw ) ]
180     #[doc = "The `draw()` method."]
181     #[doc = ""]
182     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
183     #[doc = ""]
184     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
185     #[doc = ""]
186     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
187     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_with_instance_count( this: &GpuRenderBundleEncoder, vertex_count: u32, instance_count: u32, )188     pub fn draw_with_instance_count(
189         this: &GpuRenderBundleEncoder,
190         vertex_count: u32,
191         instance_count: u32,
192     );
193     #[cfg(web_sys_unstable_apis)]
194     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw ) ]
195     #[doc = "The `draw()` method."]
196     #[doc = ""]
197     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
198     #[doc = ""]
199     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
200     #[doc = ""]
201     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
202     #[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: &GpuRenderBundleEncoder, vertex_count: u32, instance_count: u32, first_vertex: u32, )203     pub fn draw_with_instance_count_and_first_vertex(
204         this: &GpuRenderBundleEncoder,
205         vertex_count: u32,
206         instance_count: u32,
207         first_vertex: u32,
208     );
209     #[cfg(web_sys_unstable_apis)]
210     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw ) ]
211     #[doc = "The `draw()` method."]
212     #[doc = ""]
213     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
214     #[doc = ""]
215     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
216     #[doc = ""]
217     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
218     #[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: &GpuRenderBundleEncoder, vertex_count: u32, instance_count: u32, first_vertex: u32, first_instance: u32, )219     pub fn draw_with_instance_count_and_first_vertex_and_first_instance(
220         this: &GpuRenderBundleEncoder,
221         vertex_count: u32,
222         instance_count: u32,
223         first_vertex: u32,
224         first_instance: u32,
225     );
226     #[cfg(web_sys_unstable_apis)]
227     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed ) ]
228     #[doc = "The `drawIndexed()` method."]
229     #[doc = ""]
230     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
231     #[doc = ""]
232     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
233     #[doc = ""]
234     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
235     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
draw_indexed(this: &GpuRenderBundleEncoder, index_count: u32)236     pub fn draw_indexed(this: &GpuRenderBundleEncoder, index_count: u32);
237     #[cfg(web_sys_unstable_apis)]
238     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed ) ]
239     #[doc = "The `drawIndexed()` method."]
240     #[doc = ""]
241     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
242     #[doc = ""]
243     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
244     #[doc = ""]
245     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
246     #[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: &GpuRenderBundleEncoder, index_count: u32, instance_count: u32, )247     pub fn draw_indexed_with_instance_count(
248         this: &GpuRenderBundleEncoder,
249         index_count: u32,
250         instance_count: u32,
251     );
252     #[cfg(web_sys_unstable_apis)]
253     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed ) ]
254     #[doc = "The `drawIndexed()` method."]
255     #[doc = ""]
256     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
257     #[doc = ""]
258     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
259     #[doc = ""]
260     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
261     #[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: &GpuRenderBundleEncoder, index_count: u32, instance_count: u32, first_index: u32, )262     pub fn draw_indexed_with_instance_count_and_first_index(
263         this: &GpuRenderBundleEncoder,
264         index_count: u32,
265         instance_count: u32,
266         first_index: u32,
267     );
268     #[cfg(web_sys_unstable_apis)]
269     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed ) ]
270     #[doc = "The `drawIndexed()` method."]
271     #[doc = ""]
272     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
273     #[doc = ""]
274     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
275     #[doc = ""]
276     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
277     #[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: &GpuRenderBundleEncoder, index_count: u32, instance_count: u32, first_index: u32, base_vertex: i32, )278     pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex(
279         this: &GpuRenderBundleEncoder,
280         index_count: u32,
281         instance_count: u32,
282         first_index: u32,
283         base_vertex: i32,
284     );
285     #[cfg(web_sys_unstable_apis)]
286     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed ) ]
287     #[doc = "The `drawIndexed()` method."]
288     #[doc = ""]
289     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
290     #[doc = ""]
291     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
292     #[doc = ""]
293     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
294     #[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: &GpuRenderBundleEncoder, index_count: u32, instance_count: u32, first_index: u32, base_vertex: i32, first_instance: u32, )295     pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex_and_first_instance(
296         this: &GpuRenderBundleEncoder,
297         index_count: u32,
298         instance_count: u32,
299         first_index: u32,
300         base_vertex: i32,
301         first_instance: u32,
302     );
303     #[cfg(web_sys_unstable_apis)]
304     #[cfg(feature = "GpuBuffer")]
305     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexedIndirect ) ]
306     #[doc = "The `drawIndexedIndirect()` method."]
307     #[doc = ""]
308     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect)"]
309     #[doc = ""]
310     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
311     #[doc = ""]
312     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
313     #[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: &GpuRenderBundleEncoder, indirect_buffer: &GpuBuffer, indirect_offset: u32, )314     pub fn draw_indexed_indirect_with_u32(
315         this: &GpuRenderBundleEncoder,
316         indirect_buffer: &GpuBuffer,
317         indirect_offset: u32,
318     );
319     #[cfg(web_sys_unstable_apis)]
320     #[cfg(feature = "GpuBuffer")]
321     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexedIndirect ) ]
322     #[doc = "The `drawIndexedIndirect()` method."]
323     #[doc = ""]
324     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect)"]
325     #[doc = ""]
326     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
327     #[doc = ""]
328     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
329     #[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: &GpuRenderBundleEncoder, indirect_buffer: &GpuBuffer, indirect_offset: f64, )330     pub fn draw_indexed_indirect_with_f64(
331         this: &GpuRenderBundleEncoder,
332         indirect_buffer: &GpuBuffer,
333         indirect_offset: f64,
334     );
335     #[cfg(web_sys_unstable_apis)]
336     #[cfg(feature = "GpuBuffer")]
337     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndirect ) ]
338     #[doc = "The `drawIndirect()` method."]
339     #[doc = ""]
340     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndirect)"]
341     #[doc = ""]
342     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
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_indirect_with_u32( this: &GpuRenderBundleEncoder, indirect_buffer: &GpuBuffer, indirect_offset: u32, )346     pub fn draw_indirect_with_u32(
347         this: &GpuRenderBundleEncoder,
348         indirect_buffer: &GpuBuffer,
349         indirect_offset: u32,
350     );
351     #[cfg(web_sys_unstable_apis)]
352     #[cfg(feature = "GpuBuffer")]
353     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndirect ) ]
354     #[doc = "The `drawIndirect()` method."]
355     #[doc = ""]
356     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndirect)"]
357     #[doc = ""]
358     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
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_indirect_with_f64( this: &GpuRenderBundleEncoder, indirect_buffer: &GpuBuffer, indirect_offset: f64, )362     pub fn draw_indirect_with_f64(
363         this: &GpuRenderBundleEncoder,
364         indirect_buffer: &GpuBuffer,
365         indirect_offset: f64,
366     );
367     #[cfg(web_sys_unstable_apis)]
368     #[cfg(feature = "GpuBuffer")]
369     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ]
370     #[doc = "The `setIndexBuffer()` method."]
371     #[doc = ""]
372     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
373     #[doc = ""]
374     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
375     #[doc = ""]
376     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
377     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_index_buffer(this: &GpuRenderBundleEncoder, buffer: &GpuBuffer)378     pub fn set_index_buffer(this: &GpuRenderBundleEncoder, buffer: &GpuBuffer);
379     #[cfg(web_sys_unstable_apis)]
380     #[cfg(feature = "GpuBuffer")]
381     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ]
382     #[doc = "The `setIndexBuffer()` method."]
383     #[doc = ""]
384     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
385     #[doc = ""]
386     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
387     #[doc = ""]
388     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
389     #[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: &GpuRenderBundleEncoder, buffer: &GpuBuffer, offset: u32, )390     pub fn set_index_buffer_with_u32(
391         this: &GpuRenderBundleEncoder,
392         buffer: &GpuBuffer,
393         offset: u32,
394     );
395     #[cfg(web_sys_unstable_apis)]
396     #[cfg(feature = "GpuBuffer")]
397     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ]
398     #[doc = "The `setIndexBuffer()` method."]
399     #[doc = ""]
400     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
401     #[doc = ""]
402     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
403     #[doc = ""]
404     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
405     #[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: &GpuRenderBundleEncoder, buffer: &GpuBuffer, offset: f64, )406     pub fn set_index_buffer_with_f64(
407         this: &GpuRenderBundleEncoder,
408         buffer: &GpuBuffer,
409         offset: f64,
410     );
411     #[cfg(web_sys_unstable_apis)]
412     #[cfg(feature = "GpuBuffer")]
413     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ]
414     #[doc = "The `setIndexBuffer()` method."]
415     #[doc = ""]
416     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
417     #[doc = ""]
418     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
419     #[doc = ""]
420     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
421     #[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: &GpuRenderBundleEncoder, buffer: &GpuBuffer, offset: u32, size: u32, )422     pub fn set_index_buffer_with_u32_and_u32(
423         this: &GpuRenderBundleEncoder,
424         buffer: &GpuBuffer,
425         offset: u32,
426         size: u32,
427     );
428     #[cfg(web_sys_unstable_apis)]
429     #[cfg(feature = "GpuBuffer")]
430     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ]
431     #[doc = "The `setIndexBuffer()` method."]
432     #[doc = ""]
433     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
434     #[doc = ""]
435     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
436     #[doc = ""]
437     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
438     #[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: &GpuRenderBundleEncoder, buffer: &GpuBuffer, offset: f64, size: u32, )439     pub fn set_index_buffer_with_f64_and_u32(
440         this: &GpuRenderBundleEncoder,
441         buffer: &GpuBuffer,
442         offset: f64,
443         size: u32,
444     );
445     #[cfg(web_sys_unstable_apis)]
446     #[cfg(feature = "GpuBuffer")]
447     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ]
448     #[doc = "The `setIndexBuffer()` method."]
449     #[doc = ""]
450     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
451     #[doc = ""]
452     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
453     #[doc = ""]
454     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
455     #[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: &GpuRenderBundleEncoder, buffer: &GpuBuffer, offset: u32, size: f64, )456     pub fn set_index_buffer_with_u32_and_f64(
457         this: &GpuRenderBundleEncoder,
458         buffer: &GpuBuffer,
459         offset: u32,
460         size: f64,
461     );
462     #[cfg(web_sys_unstable_apis)]
463     #[cfg(feature = "GpuBuffer")]
464     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ]
465     #[doc = "The `setIndexBuffer()` method."]
466     #[doc = ""]
467     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
468     #[doc = ""]
469     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
470     #[doc = ""]
471     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
472     #[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: &GpuRenderBundleEncoder, buffer: &GpuBuffer, offset: f64, size: f64, )473     pub fn set_index_buffer_with_f64_and_f64(
474         this: &GpuRenderBundleEncoder,
475         buffer: &GpuBuffer,
476         offset: f64,
477         size: f64,
478     );
479     #[cfg(web_sys_unstable_apis)]
480     #[cfg(feature = "GpuRenderPipeline")]
481     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setPipeline ) ]
482     #[doc = "The `setPipeline()` method."]
483     #[doc = ""]
484     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setPipeline)"]
485     #[doc = ""]
486     #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`, `GpuRenderPipeline`*"]
487     #[doc = ""]
488     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
489     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_pipeline(this: &GpuRenderBundleEncoder, pipeline: &GpuRenderPipeline)490     pub fn set_pipeline(this: &GpuRenderBundleEncoder, pipeline: &GpuRenderPipeline);
491     #[cfg(web_sys_unstable_apis)]
492     #[cfg(feature = "GpuBuffer")]
493     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ]
494     #[doc = "The `setVertexBuffer()` method."]
495     #[doc = ""]
496     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
497     #[doc = ""]
498     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
499     #[doc = ""]
500     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
501     #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
set_vertex_buffer(this: &GpuRenderBundleEncoder, slot: u32, buffer: &GpuBuffer)502     pub fn set_vertex_buffer(this: &GpuRenderBundleEncoder, slot: u32, buffer: &GpuBuffer);
503     #[cfg(web_sys_unstable_apis)]
504     #[cfg(feature = "GpuBuffer")]
505     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ]
506     #[doc = "The `setVertexBuffer()` method."]
507     #[doc = ""]
508     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
509     #[doc = ""]
510     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
511     #[doc = ""]
512     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
513     #[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: &GpuRenderBundleEncoder, slot: u32, buffer: &GpuBuffer, offset: u32, )514     pub fn set_vertex_buffer_with_u32(
515         this: &GpuRenderBundleEncoder,
516         slot: u32,
517         buffer: &GpuBuffer,
518         offset: u32,
519     );
520     #[cfg(web_sys_unstable_apis)]
521     #[cfg(feature = "GpuBuffer")]
522     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ]
523     #[doc = "The `setVertexBuffer()` method."]
524     #[doc = ""]
525     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
526     #[doc = ""]
527     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
528     #[doc = ""]
529     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
530     #[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: &GpuRenderBundleEncoder, slot: u32, buffer: &GpuBuffer, offset: f64, )531     pub fn set_vertex_buffer_with_f64(
532         this: &GpuRenderBundleEncoder,
533         slot: u32,
534         buffer: &GpuBuffer,
535         offset: f64,
536     );
537     #[cfg(web_sys_unstable_apis)]
538     #[cfg(feature = "GpuBuffer")]
539     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ]
540     #[doc = "The `setVertexBuffer()` method."]
541     #[doc = ""]
542     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
543     #[doc = ""]
544     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
545     #[doc = ""]
546     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
547     #[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: &GpuRenderBundleEncoder, slot: u32, buffer: &GpuBuffer, offset: u32, size: u32, )548     pub fn set_vertex_buffer_with_u32_and_u32(
549         this: &GpuRenderBundleEncoder,
550         slot: u32,
551         buffer: &GpuBuffer,
552         offset: u32,
553         size: u32,
554     );
555     #[cfg(web_sys_unstable_apis)]
556     #[cfg(feature = "GpuBuffer")]
557     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ]
558     #[doc = "The `setVertexBuffer()` method."]
559     #[doc = ""]
560     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
561     #[doc = ""]
562     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
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_vertex_buffer_with_f64_and_u32( this: &GpuRenderBundleEncoder, slot: u32, buffer: &GpuBuffer, offset: f64, size: u32, )566     pub fn set_vertex_buffer_with_f64_and_u32(
567         this: &GpuRenderBundleEncoder,
568         slot: u32,
569         buffer: &GpuBuffer,
570         offset: f64,
571         size: u32,
572     );
573     #[cfg(web_sys_unstable_apis)]
574     #[cfg(feature = "GpuBuffer")]
575     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ]
576     #[doc = "The `setVertexBuffer()` method."]
577     #[doc = ""]
578     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
579     #[doc = ""]
580     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
581     #[doc = ""]
582     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
583     #[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: &GpuRenderBundleEncoder, slot: u32, buffer: &GpuBuffer, offset: u32, size: f64, )584     pub fn set_vertex_buffer_with_u32_and_f64(
585         this: &GpuRenderBundleEncoder,
586         slot: u32,
587         buffer: &GpuBuffer,
588         offset: u32,
589         size: f64,
590     );
591     #[cfg(web_sys_unstable_apis)]
592     #[cfg(feature = "GpuBuffer")]
593     # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ]
594     #[doc = "The `setVertexBuffer()` method."]
595     #[doc = ""]
596     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
597     #[doc = ""]
598     #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
599     #[doc = ""]
600     #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
601     #[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: &GpuRenderBundleEncoder, slot: u32, buffer: &GpuBuffer, offset: f64, size: f64, )602     pub fn set_vertex_buffer_with_f64_and_f64(
603         this: &GpuRenderBundleEncoder,
604         slot: u32,
605         buffer: &GpuBuffer,
606         offset: f64,
607         size: f64,
608     );
609 }
610