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 = setBlendConstant)] 113 #[doc = "The `setBlendConstant()` method."] 114 #[doc = ""] 115 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBlendConstant)"] 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_constant_with_f64_sequence( this: &GpuRenderPassEncoder, color: &::wasm_bindgen::JsValue, )121 pub fn set_blend_constant_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 = setBlendConstant)] 128 #[doc = "The `setBlendConstant()` method."] 129 #[doc = ""] 130 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBlendConstant)"] 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_constant_with_gpu_color_dict( this: &GpuRenderPassEncoder, color: &GpuColorDict, )136 pub fn set_blend_constant_with_gpu_color_dict( 137 this: &GpuRenderPassEncoder, 138 color: &GpuColorDict, 139 ); 140 #[cfg(web_sys_unstable_apis)] 141 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setScissorRect)] 142 #[doc = "The `setScissorRect()` method."] 143 #[doc = ""] 144 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setScissorRect)"] 145 #[doc = ""] 146 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 147 #[doc = ""] 148 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 149 #[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)150 pub fn set_scissor_rect(this: &GpuRenderPassEncoder, x: u32, y: u32, width: u32, height: u32); 151 #[cfg(web_sys_unstable_apis)] 152 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setStencilReference)] 153 #[doc = "The `setStencilReference()` method."] 154 #[doc = ""] 155 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setStencilReference)"] 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)*"] set_stencil_reference(this: &GpuRenderPassEncoder, reference: u32)161 pub fn set_stencil_reference(this: &GpuRenderPassEncoder, reference: u32); 162 #[cfg(web_sys_unstable_apis)] 163 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setViewport)] 164 #[doc = "The `setViewport()` method."] 165 #[doc = ""] 166 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setViewport)"] 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)*"] set_viewport( this: &GpuRenderPassEncoder, x: f32, y: f32, width: f32, height: f32, min_depth: f32, max_depth: f32, )172 pub fn set_viewport( 173 this: &GpuRenderPassEncoder, 174 x: f32, 175 y: f32, 176 width: f32, 177 height: f32, 178 min_depth: f32, 179 max_depth: f32, 180 ); 181 #[cfg(web_sys_unstable_apis)] 182 #[cfg(feature = "GpuQuerySet")] 183 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = writeTimestamp)] 184 #[doc = "The `writeTimestamp()` method."] 185 #[doc = ""] 186 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/writeTimestamp)"] 187 #[doc = ""] 188 #[doc = "*This API requires the following crate features to be activated: `GpuQuerySet`, `GpuRenderPassEncoder`*"] 189 #[doc = ""] 190 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 191 #[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)192 pub fn write_timestamp(this: &GpuRenderPassEncoder, query_set: &GpuQuerySet, query_index: u32); 193 #[cfg(web_sys_unstable_apis)] 194 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = insertDebugMarker)] 195 #[doc = "The `insertDebugMarker()` method."] 196 #[doc = ""] 197 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/insertDebugMarker)"] 198 #[doc = ""] 199 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 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)*"] insert_debug_marker(this: &GpuRenderPassEncoder, marker_label: &str)203 pub fn insert_debug_marker(this: &GpuRenderPassEncoder, marker_label: &str); 204 #[cfg(web_sys_unstable_apis)] 205 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = popDebugGroup)] 206 #[doc = "The `popDebugGroup()` method."] 207 #[doc = ""] 208 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/popDebugGroup)"] 209 #[doc = ""] 210 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 211 #[doc = ""] 212 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 213 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pop_debug_group(this: &GpuRenderPassEncoder)214 pub fn pop_debug_group(this: &GpuRenderPassEncoder); 215 #[cfg(web_sys_unstable_apis)] 216 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = pushDebugGroup)] 217 #[doc = "The `pushDebugGroup()` method."] 218 #[doc = ""] 219 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/pushDebugGroup)"] 220 #[doc = ""] 221 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 222 #[doc = ""] 223 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 224 #[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)225 pub fn push_debug_group(this: &GpuRenderPassEncoder, group_label: &str); 226 #[cfg(web_sys_unstable_apis)] 227 #[cfg(feature = "GpuBindGroup")] 228 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)] 229 #[doc = "The `setBindGroup()` method."] 230 #[doc = ""] 231 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"] 232 #[doc = ""] 233 #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"] 234 #[doc = ""] 235 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 236 #[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)237 pub fn set_bind_group(this: &GpuRenderPassEncoder, index: u32, bind_group: &GpuBindGroup); 238 #[cfg(web_sys_unstable_apis)] 239 #[cfg(feature = "GpuBindGroup")] 240 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)] 241 #[doc = "The `setBindGroup()` method."] 242 #[doc = ""] 243 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"] 244 #[doc = ""] 245 #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"] 246 #[doc = ""] 247 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 248 #[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, )249 pub fn set_bind_group_with_u32_sequence( 250 this: &GpuRenderPassEncoder, 251 index: u32, 252 bind_group: &GpuBindGroup, 253 dynamic_offsets: &::wasm_bindgen::JsValue, 254 ); 255 #[cfg(web_sys_unstable_apis)] 256 #[cfg(feature = "GpuBindGroup")] 257 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)] 258 #[doc = "The `setBindGroup()` method."] 259 #[doc = ""] 260 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"] 261 #[doc = ""] 262 #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"] 263 #[doc = ""] 264 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 265 #[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, )266 pub fn set_bind_group_with_u32_array_and_u32_and_dynamic_offsets_data_length( 267 this: &GpuRenderPassEncoder, 268 index: u32, 269 bind_group: &GpuBindGroup, 270 dynamic_offsets_data: &[u32], 271 dynamic_offsets_data_start: u32, 272 dynamic_offsets_data_length: u32, 273 ); 274 #[cfg(web_sys_unstable_apis)] 275 #[cfg(feature = "GpuBindGroup")] 276 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)] 277 #[doc = "The `setBindGroup()` method."] 278 #[doc = ""] 279 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"] 280 #[doc = ""] 281 #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"] 282 #[doc = ""] 283 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 284 #[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, )285 pub fn set_bind_group_with_u32_array_and_f64_and_dynamic_offsets_data_length( 286 this: &GpuRenderPassEncoder, 287 index: u32, 288 bind_group: &GpuBindGroup, 289 dynamic_offsets_data: &[u32], 290 dynamic_offsets_data_start: f64, 291 dynamic_offsets_data_length: 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(this: &GpuRenderPassEncoder, vertex_count: u32)303 pub fn draw(this: &GpuRenderPassEncoder, vertex_count: u32); 304 #[cfg(web_sys_unstable_apis)] 305 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)] 306 #[doc = "The `draw()` method."] 307 #[doc = ""] 308 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"] 309 #[doc = ""] 310 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 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_with_instance_count( this: &GpuRenderPassEncoder, vertex_count: u32, instance_count: u32, )314 pub fn draw_with_instance_count( 315 this: &GpuRenderPassEncoder, 316 vertex_count: u32, 317 instance_count: u32, 318 ); 319 #[cfg(web_sys_unstable_apis)] 320 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)] 321 #[doc = "The `draw()` method."] 322 #[doc = ""] 323 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"] 324 #[doc = ""] 325 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 326 #[doc = ""] 327 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 328 #[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, )329 pub fn draw_with_instance_count_and_first_vertex( 330 this: &GpuRenderPassEncoder, 331 vertex_count: u32, 332 instance_count: u32, 333 first_vertex: u32, 334 ); 335 #[cfg(web_sys_unstable_apis)] 336 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)] 337 #[doc = "The `draw()` method."] 338 #[doc = ""] 339 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"] 340 #[doc = ""] 341 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 342 #[doc = ""] 343 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 344 #[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, )345 pub fn draw_with_instance_count_and_first_vertex_and_first_instance( 346 this: &GpuRenderPassEncoder, 347 vertex_count: u32, 348 instance_count: u32, 349 first_vertex: u32, 350 first_instance: 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(this: &GpuRenderPassEncoder, index_count: u32)362 pub fn draw_indexed(this: &GpuRenderPassEncoder, index_count: u32); 363 #[cfg(web_sys_unstable_apis)] 364 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)] 365 #[doc = "The `drawIndexed()` method."] 366 #[doc = ""] 367 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"] 368 #[doc = ""] 369 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 370 #[doc = ""] 371 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 372 #[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, )373 pub fn draw_indexed_with_instance_count( 374 this: &GpuRenderPassEncoder, 375 index_count: u32, 376 instance_count: u32, 377 ); 378 #[cfg(web_sys_unstable_apis)] 379 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)] 380 #[doc = "The `drawIndexed()` method."] 381 #[doc = ""] 382 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"] 383 #[doc = ""] 384 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 385 #[doc = ""] 386 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 387 #[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, )388 pub fn draw_indexed_with_instance_count_and_first_index( 389 this: &GpuRenderPassEncoder, 390 index_count: u32, 391 instance_count: u32, 392 first_index: u32, 393 ); 394 #[cfg(web_sys_unstable_apis)] 395 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)] 396 #[doc = "The `drawIndexed()` method."] 397 #[doc = ""] 398 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"] 399 #[doc = ""] 400 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 401 #[doc = ""] 402 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 403 #[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, )404 pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex( 405 this: &GpuRenderPassEncoder, 406 index_count: u32, 407 instance_count: u32, 408 first_index: u32, 409 base_vertex: i32, 410 ); 411 #[cfg(web_sys_unstable_apis)] 412 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)] 413 #[doc = "The `drawIndexed()` method."] 414 #[doc = ""] 415 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"] 416 #[doc = ""] 417 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"] 418 #[doc = ""] 419 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 420 #[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, )421 pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex_and_first_instance( 422 this: &GpuRenderPassEncoder, 423 index_count: u32, 424 instance_count: u32, 425 first_index: u32, 426 base_vertex: i32, 427 first_instance: u32, 428 ); 429 #[cfg(web_sys_unstable_apis)] 430 #[cfg(feature = "GpuBuffer")] 431 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexedIndirect)] 432 #[doc = "The `drawIndexedIndirect()` method."] 433 #[doc = ""] 434 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexedIndirect)"] 435 #[doc = ""] 436 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 437 #[doc = ""] 438 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 439 #[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, )440 pub fn draw_indexed_indirect_with_u32( 441 this: &GpuRenderPassEncoder, 442 indirect_buffer: &GpuBuffer, 443 indirect_offset: u32, 444 ); 445 #[cfg(web_sys_unstable_apis)] 446 #[cfg(feature = "GpuBuffer")] 447 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexedIndirect)] 448 #[doc = "The `drawIndexedIndirect()` method."] 449 #[doc = ""] 450 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexedIndirect)"] 451 #[doc = ""] 452 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 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)*"] draw_indexed_indirect_with_f64( this: &GpuRenderPassEncoder, indirect_buffer: &GpuBuffer, indirect_offset: f64, )456 pub fn draw_indexed_indirect_with_f64( 457 this: &GpuRenderPassEncoder, 458 indirect_buffer: &GpuBuffer, 459 indirect_offset: f64, 460 ); 461 #[cfg(web_sys_unstable_apis)] 462 #[cfg(feature = "GpuBuffer")] 463 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndirect)] 464 #[doc = "The `drawIndirect()` method."] 465 #[doc = ""] 466 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndirect)"] 467 #[doc = ""] 468 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 469 #[doc = ""] 470 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 471 #[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, )472 pub fn draw_indirect_with_u32( 473 this: &GpuRenderPassEncoder, 474 indirect_buffer: &GpuBuffer, 475 indirect_offset: u32, 476 ); 477 #[cfg(web_sys_unstable_apis)] 478 #[cfg(feature = "GpuBuffer")] 479 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndirect)] 480 #[doc = "The `drawIndirect()` method."] 481 #[doc = ""] 482 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndirect)"] 483 #[doc = ""] 484 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 485 #[doc = ""] 486 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 487 #[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, )488 pub fn draw_indirect_with_f64( 489 this: &GpuRenderPassEncoder, 490 indirect_buffer: &GpuBuffer, 491 indirect_offset: f64, 492 ); 493 #[cfg(web_sys_unstable_apis)] 494 #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))] 495 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)] 496 #[doc = "The `setIndexBuffer()` method."] 497 #[doc = ""] 498 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"] 499 #[doc = ""] 500 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"] 501 #[doc = ""] 502 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 503 #[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, index_format: GpuIndexFormat, )504 pub fn set_index_buffer( 505 this: &GpuRenderPassEncoder, 506 buffer: &GpuBuffer, 507 index_format: GpuIndexFormat, 508 ); 509 #[cfg(web_sys_unstable_apis)] 510 #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))] 511 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)] 512 #[doc = "The `setIndexBuffer()` method."] 513 #[doc = ""] 514 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"] 515 #[doc = ""] 516 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"] 517 #[doc = ""] 518 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 519 #[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, index_format: GpuIndexFormat, offset: u32, )520 pub fn set_index_buffer_with_u32( 521 this: &GpuRenderPassEncoder, 522 buffer: &GpuBuffer, 523 index_format: GpuIndexFormat, 524 offset: u32, 525 ); 526 #[cfg(web_sys_unstable_apis)] 527 #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))] 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`, `GpuIndexFormat`, `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_f64( this: &GpuRenderPassEncoder, buffer: &GpuBuffer, index_format: GpuIndexFormat, offset: f64, )537 pub fn set_index_buffer_with_f64( 538 this: &GpuRenderPassEncoder, 539 buffer: &GpuBuffer, 540 index_format: GpuIndexFormat, 541 offset: f64, 542 ); 543 #[cfg(web_sys_unstable_apis)] 544 #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))] 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`, `GpuIndexFormat`, `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_u32_and_u32( this: &GpuRenderPassEncoder, buffer: &GpuBuffer, index_format: GpuIndexFormat, offset: u32, size: u32, )554 pub fn set_index_buffer_with_u32_and_u32( 555 this: &GpuRenderPassEncoder, 556 buffer: &GpuBuffer, 557 index_format: GpuIndexFormat, 558 offset: u32, 559 size: u32, 560 ); 561 #[cfg(web_sys_unstable_apis)] 562 #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))] 563 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)] 564 #[doc = "The `setIndexBuffer()` method."] 565 #[doc = ""] 566 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"] 567 #[doc = ""] 568 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"] 569 #[doc = ""] 570 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 571 #[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, index_format: GpuIndexFormat, offset: f64, size: u32, )572 pub fn set_index_buffer_with_f64_and_u32( 573 this: &GpuRenderPassEncoder, 574 buffer: &GpuBuffer, 575 index_format: GpuIndexFormat, 576 offset: f64, 577 size: u32, 578 ); 579 #[cfg(web_sys_unstable_apis)] 580 #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))] 581 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)] 582 #[doc = "The `setIndexBuffer()` method."] 583 #[doc = ""] 584 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"] 585 #[doc = ""] 586 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `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_index_buffer_with_u32_and_f64( this: &GpuRenderPassEncoder, buffer: &GpuBuffer, index_format: GpuIndexFormat, offset: u32, size: f64, )590 pub fn set_index_buffer_with_u32_and_f64( 591 this: &GpuRenderPassEncoder, 592 buffer: &GpuBuffer, 593 index_format: GpuIndexFormat, 594 offset: u32, 595 size: f64, 596 ); 597 #[cfg(web_sys_unstable_apis)] 598 #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))] 599 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)] 600 #[doc = "The `setIndexBuffer()` method."] 601 #[doc = ""] 602 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"] 603 #[doc = ""] 604 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"] 605 #[doc = ""] 606 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 607 #[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, index_format: GpuIndexFormat, offset: f64, size: f64, )608 pub fn set_index_buffer_with_f64_and_f64( 609 this: &GpuRenderPassEncoder, 610 buffer: &GpuBuffer, 611 index_format: GpuIndexFormat, 612 offset: f64, 613 size: f64, 614 ); 615 #[cfg(web_sys_unstable_apis)] 616 #[cfg(feature = "GpuRenderPipeline")] 617 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setPipeline)] 618 #[doc = "The `setPipeline()` method."] 619 #[doc = ""] 620 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setPipeline)"] 621 #[doc = ""] 622 #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`, `GpuRenderPipeline`*"] 623 #[doc = ""] 624 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 625 #[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)626 pub fn set_pipeline(this: &GpuRenderPassEncoder, pipeline: &GpuRenderPipeline); 627 #[cfg(web_sys_unstable_apis)] 628 #[cfg(feature = "GpuBuffer")] 629 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)] 630 #[doc = "The `setVertexBuffer()` method."] 631 #[doc = ""] 632 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"] 633 #[doc = ""] 634 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 635 #[doc = ""] 636 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 637 #[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)638 pub fn set_vertex_buffer(this: &GpuRenderPassEncoder, slot: u32, buffer: &GpuBuffer); 639 #[cfg(web_sys_unstable_apis)] 640 #[cfg(feature = "GpuBuffer")] 641 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)] 642 #[doc = "The `setVertexBuffer()` method."] 643 #[doc = ""] 644 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"] 645 #[doc = ""] 646 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 647 #[doc = ""] 648 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 649 #[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, )650 pub fn set_vertex_buffer_with_u32( 651 this: &GpuRenderPassEncoder, 652 slot: u32, 653 buffer: &GpuBuffer, 654 offset: u32, 655 ); 656 #[cfg(web_sys_unstable_apis)] 657 #[cfg(feature = "GpuBuffer")] 658 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)] 659 #[doc = "The `setVertexBuffer()` method."] 660 #[doc = ""] 661 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"] 662 #[doc = ""] 663 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 664 #[doc = ""] 665 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 666 #[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, )667 pub fn set_vertex_buffer_with_f64( 668 this: &GpuRenderPassEncoder, 669 slot: u32, 670 buffer: &GpuBuffer, 671 offset: f64, 672 ); 673 #[cfg(web_sys_unstable_apis)] 674 #[cfg(feature = "GpuBuffer")] 675 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)] 676 #[doc = "The `setVertexBuffer()` method."] 677 #[doc = ""] 678 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"] 679 #[doc = ""] 680 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 681 #[doc = ""] 682 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 683 #[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, )684 pub fn set_vertex_buffer_with_u32_and_u32( 685 this: &GpuRenderPassEncoder, 686 slot: u32, 687 buffer: &GpuBuffer, 688 offset: u32, 689 size: u32, 690 ); 691 #[cfg(web_sys_unstable_apis)] 692 #[cfg(feature = "GpuBuffer")] 693 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)] 694 #[doc = "The `setVertexBuffer()` method."] 695 #[doc = ""] 696 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"] 697 #[doc = ""] 698 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 699 #[doc = ""] 700 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 701 #[doc = "[described in the `wasm-bindgen` guide](https://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, )702 pub fn set_vertex_buffer_with_f64_and_u32( 703 this: &GpuRenderPassEncoder, 704 slot: u32, 705 buffer: &GpuBuffer, 706 offset: f64, 707 size: u32, 708 ); 709 #[cfg(web_sys_unstable_apis)] 710 #[cfg(feature = "GpuBuffer")] 711 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)] 712 #[doc = "The `setVertexBuffer()` method."] 713 #[doc = ""] 714 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"] 715 #[doc = ""] 716 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 717 #[doc = ""] 718 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 719 #[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, )720 pub fn set_vertex_buffer_with_u32_and_f64( 721 this: &GpuRenderPassEncoder, 722 slot: u32, 723 buffer: &GpuBuffer, 724 offset: u32, 725 size: f64, 726 ); 727 #[cfg(web_sys_unstable_apis)] 728 #[cfg(feature = "GpuBuffer")] 729 # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)] 730 #[doc = "The `setVertexBuffer()` method."] 731 #[doc = ""] 732 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"] 733 #[doc = ""] 734 #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"] 735 #[doc = ""] 736 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 737 #[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, )738 pub fn set_vertex_buffer_with_f64_and_f64( 739 this: &GpuRenderPassEncoder, 740 slot: u32, 741 buffer: &GpuBuffer, 742 offset: f64, 743 size: f64, 744 ); 745 } 746