1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGL2RenderingContext , typescript_type = "WebGL2RenderingContext")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `WebGl2RenderingContext` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 13 pub type WebGl2RenderingContext; 14 # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = canvas)] 15 #[doc = "Getter for the `canvas` field of this object."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/canvas)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] canvas(this: &WebGl2RenderingContext) -> Option<::js_sys::Object>20 pub fn canvas(this: &WebGl2RenderingContext) -> Option<::js_sys::Object>; 21 # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = drawingBufferWidth)] 22 #[doc = "Getter for the `drawingBufferWidth` field of this object."] 23 #[doc = ""] 24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferWidth)"] 25 #[doc = ""] 26 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] drawing_buffer_width(this: &WebGl2RenderingContext) -> i3227 pub fn drawing_buffer_width(this: &WebGl2RenderingContext) -> i32; 28 # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = drawingBufferHeight)] 29 #[doc = "Getter for the `drawingBufferHeight` field of this object."] 30 #[doc = ""] 31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferHeight)"] 32 #[doc = ""] 33 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] drawing_buffer_height(this: &WebGl2RenderingContext) -> i3234 pub fn drawing_buffer_height(this: &WebGl2RenderingContext) -> i32; 35 #[cfg(feature = "WebGlQuery")] 36 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = beginQuery)] 37 #[doc = "The `beginQuery()` method."] 38 #[doc = ""] 39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginQuery)"] 40 #[doc = ""] 41 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"] begin_query(this: &WebGl2RenderingContext, target: u32, query: &WebGlQuery)42 pub fn begin_query(this: &WebGl2RenderingContext, target: u32, query: &WebGlQuery); 43 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = beginTransformFeedback)] 44 #[doc = "The `beginTransformFeedback()` method."] 45 #[doc = ""] 46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback)"] 47 #[doc = ""] 48 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] begin_transform_feedback(this: &WebGl2RenderingContext, primitive_mode: u32)49 pub fn begin_transform_feedback(this: &WebGl2RenderingContext, primitive_mode: u32); 50 #[cfg(feature = "WebGlBuffer")] 51 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferBase)] 52 #[doc = "The `bindBufferBase()` method."] 53 #[doc = ""] 54 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferBase)"] 55 #[doc = ""] 56 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"] bind_buffer_base( this: &WebGl2RenderingContext, target: u32, index: u32, buffer: Option<&WebGlBuffer>, )57 pub fn bind_buffer_base( 58 this: &WebGl2RenderingContext, 59 target: u32, 60 index: u32, 61 buffer: Option<&WebGlBuffer>, 62 ); 63 #[cfg(feature = "WebGlBuffer")] 64 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)] 65 #[doc = "The `bindBufferRange()` method."] 66 #[doc = ""] 67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"] 68 #[doc = ""] 69 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"] bind_buffer_range_with_i32_and_i32( this: &WebGl2RenderingContext, target: u32, index: u32, buffer: Option<&WebGlBuffer>, offset: i32, size: i32, )70 pub fn bind_buffer_range_with_i32_and_i32( 71 this: &WebGl2RenderingContext, 72 target: u32, 73 index: u32, 74 buffer: Option<&WebGlBuffer>, 75 offset: i32, 76 size: i32, 77 ); 78 #[cfg(feature = "WebGlBuffer")] 79 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)] 80 #[doc = "The `bindBufferRange()` method."] 81 #[doc = ""] 82 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"] 83 #[doc = ""] 84 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"] bind_buffer_range_with_f64_and_i32( this: &WebGl2RenderingContext, target: u32, index: u32, buffer: Option<&WebGlBuffer>, offset: f64, size: i32, )85 pub fn bind_buffer_range_with_f64_and_i32( 86 this: &WebGl2RenderingContext, 87 target: u32, 88 index: u32, 89 buffer: Option<&WebGlBuffer>, 90 offset: f64, 91 size: i32, 92 ); 93 #[cfg(feature = "WebGlBuffer")] 94 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)] 95 #[doc = "The `bindBufferRange()` method."] 96 #[doc = ""] 97 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"] 98 #[doc = ""] 99 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"] bind_buffer_range_with_i32_and_f64( this: &WebGl2RenderingContext, target: u32, index: u32, buffer: Option<&WebGlBuffer>, offset: i32, size: f64, )100 pub fn bind_buffer_range_with_i32_and_f64( 101 this: &WebGl2RenderingContext, 102 target: u32, 103 index: u32, 104 buffer: Option<&WebGlBuffer>, 105 offset: i32, 106 size: f64, 107 ); 108 #[cfg(feature = "WebGlBuffer")] 109 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)] 110 #[doc = "The `bindBufferRange()` method."] 111 #[doc = ""] 112 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"] 113 #[doc = ""] 114 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"] bind_buffer_range_with_f64_and_f64( this: &WebGl2RenderingContext, target: u32, index: u32, buffer: Option<&WebGlBuffer>, offset: f64, size: f64, )115 pub fn bind_buffer_range_with_f64_and_f64( 116 this: &WebGl2RenderingContext, 117 target: u32, 118 index: u32, 119 buffer: Option<&WebGlBuffer>, 120 offset: f64, 121 size: f64, 122 ); 123 #[cfg(feature = "WebGlSampler")] 124 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindSampler)] 125 #[doc = "The `bindSampler()` method."] 126 #[doc = ""] 127 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindSampler)"] 128 #[doc = ""] 129 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"] bind_sampler(this: &WebGl2RenderingContext, unit: u32, sampler: Option<&WebGlSampler>)130 pub fn bind_sampler(this: &WebGl2RenderingContext, unit: u32, sampler: Option<&WebGlSampler>); 131 #[cfg(feature = "WebGlTransformFeedback")] 132 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindTransformFeedback)] 133 #[doc = "The `bindTransformFeedback()` method."] 134 #[doc = ""] 135 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback)"] 136 #[doc = ""] 137 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"] bind_transform_feedback( this: &WebGl2RenderingContext, target: u32, tf: Option<&WebGlTransformFeedback>, )138 pub fn bind_transform_feedback( 139 this: &WebGl2RenderingContext, 140 target: u32, 141 tf: Option<&WebGlTransformFeedback>, 142 ); 143 #[cfg(feature = "WebGlVertexArrayObject")] 144 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindVertexArray)] 145 #[doc = "The `bindVertexArray()` method."] 146 #[doc = ""] 147 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindVertexArray)"] 148 #[doc = ""] 149 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"] bind_vertex_array(this: &WebGl2RenderingContext, array: Option<&WebGlVertexArrayObject>)150 pub fn bind_vertex_array(this: &WebGl2RenderingContext, array: Option<&WebGlVertexArrayObject>); 151 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blitFramebuffer)] 152 #[doc = "The `blitFramebuffer()` method."] 153 #[doc = ""] 154 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer)"] 155 #[doc = ""] 156 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] blit_framebuffer( this: &WebGl2RenderingContext, src_x0: i32, src_y0: i32, src_x1: i32, src_y1: i32, dst_x0: i32, dst_y0: i32, dst_x1: i32, dst_y1: i32, mask: u32, filter: u32, )157 pub fn blit_framebuffer( 158 this: &WebGl2RenderingContext, 159 src_x0: i32, 160 src_y0: i32, 161 src_x1: i32, 162 src_y1: i32, 163 dst_x0: i32, 164 dst_y0: i32, 165 dst_x1: i32, 166 dst_y1: i32, 167 mask: u32, 168 filter: u32, 169 ); 170 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] 171 #[doc = "The `bufferData()` method."] 172 #[doc = ""] 173 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"] 174 #[doc = ""] 175 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_data_with_i32(this: &WebGl2RenderingContext, target: u32, size: i32, usage: u32)176 pub fn buffer_data_with_i32(this: &WebGl2RenderingContext, target: u32, size: i32, usage: u32); 177 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] 178 #[doc = "The `bufferData()` method."] 179 #[doc = ""] 180 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"] 181 #[doc = ""] 182 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_data_with_f64(this: &WebGl2RenderingContext, target: u32, size: f64, usage: u32)183 pub fn buffer_data_with_f64(this: &WebGl2RenderingContext, target: u32, size: f64, usage: u32); 184 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] 185 #[doc = "The `bufferData()` method."] 186 #[doc = ""] 187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"] 188 #[doc = ""] 189 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_data_with_opt_array_buffer( this: &WebGl2RenderingContext, target: u32, src_data: Option<&::js_sys::ArrayBuffer>, usage: u32, )190 pub fn buffer_data_with_opt_array_buffer( 191 this: &WebGl2RenderingContext, 192 target: u32, 193 src_data: Option<&::js_sys::ArrayBuffer>, 194 usage: u32, 195 ); 196 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] 197 #[doc = "The `bufferData()` method."] 198 #[doc = ""] 199 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"] 200 #[doc = ""] 201 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_data_with_array_buffer_view( this: &WebGl2RenderingContext, target: u32, src_data: &::js_sys::Object, usage: u32, )202 pub fn buffer_data_with_array_buffer_view( 203 this: &WebGl2RenderingContext, 204 target: u32, 205 src_data: &::js_sys::Object, 206 usage: u32, 207 ); 208 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] 209 #[doc = "The `bufferData()` method."] 210 #[doc = ""] 211 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"] 212 #[doc = ""] 213 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_data_with_u8_array( this: &WebGl2RenderingContext, target: u32, src_data: &[u8], usage: u32, )214 pub fn buffer_data_with_u8_array( 215 this: &WebGl2RenderingContext, 216 target: u32, 217 src_data: &[u8], 218 usage: u32, 219 ); 220 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] 221 #[doc = "The `bufferData()` method."] 222 #[doc = ""] 223 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"] 224 #[doc = ""] 225 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_data_with_array_buffer_view_and_src_offset( this: &WebGl2RenderingContext, target: u32, src_data: &::js_sys::Object, usage: u32, src_offset: u32, )226 pub fn buffer_data_with_array_buffer_view_and_src_offset( 227 this: &WebGl2RenderingContext, 228 target: u32, 229 src_data: &::js_sys::Object, 230 usage: u32, 231 src_offset: u32, 232 ); 233 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] 234 #[doc = "The `bufferData()` method."] 235 #[doc = ""] 236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"] 237 #[doc = ""] 238 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_data_with_u8_array_and_src_offset( this: &WebGl2RenderingContext, target: u32, src_data: &[u8], usage: u32, src_offset: u32, )239 pub fn buffer_data_with_u8_array_and_src_offset( 240 this: &WebGl2RenderingContext, 241 target: u32, 242 src_data: &[u8], 243 usage: u32, 244 src_offset: u32, 245 ); 246 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] 247 #[doc = "The `bufferData()` method."] 248 #[doc = ""] 249 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"] 250 #[doc = ""] 251 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_data_with_array_buffer_view_and_src_offset_and_length( this: &WebGl2RenderingContext, target: u32, src_data: &::js_sys::Object, usage: u32, src_offset: u32, length: u32, )252 pub fn buffer_data_with_array_buffer_view_and_src_offset_and_length( 253 this: &WebGl2RenderingContext, 254 target: u32, 255 src_data: &::js_sys::Object, 256 usage: u32, 257 src_offset: u32, 258 length: u32, 259 ); 260 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)] 261 #[doc = "The `bufferData()` method."] 262 #[doc = ""] 263 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"] 264 #[doc = ""] 265 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_data_with_u8_array_and_src_offset_and_length( this: &WebGl2RenderingContext, target: u32, src_data: &[u8], usage: u32, src_offset: u32, length: u32, )266 pub fn buffer_data_with_u8_array_and_src_offset_and_length( 267 this: &WebGl2RenderingContext, 268 target: u32, 269 src_data: &[u8], 270 usage: u32, 271 src_offset: u32, 272 length: u32, 273 ); 274 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 275 #[doc = "The `bufferSubData()` method."] 276 #[doc = ""] 277 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 278 #[doc = ""] 279 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_i32_and_array_buffer( this: &WebGl2RenderingContext, target: u32, offset: i32, src_data: &::js_sys::ArrayBuffer, )280 pub fn buffer_sub_data_with_i32_and_array_buffer( 281 this: &WebGl2RenderingContext, 282 target: u32, 283 offset: i32, 284 src_data: &::js_sys::ArrayBuffer, 285 ); 286 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 287 #[doc = "The `bufferSubData()` method."] 288 #[doc = ""] 289 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 290 #[doc = ""] 291 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_f64_and_array_buffer( this: &WebGl2RenderingContext, target: u32, offset: f64, src_data: &::js_sys::ArrayBuffer, )292 pub fn buffer_sub_data_with_f64_and_array_buffer( 293 this: &WebGl2RenderingContext, 294 target: u32, 295 offset: f64, 296 src_data: &::js_sys::ArrayBuffer, 297 ); 298 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 299 #[doc = "The `bufferSubData()` method."] 300 #[doc = ""] 301 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 302 #[doc = ""] 303 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_i32_and_array_buffer_view( this: &WebGl2RenderingContext, target: u32, offset: i32, src_data: &::js_sys::Object, )304 pub fn buffer_sub_data_with_i32_and_array_buffer_view( 305 this: &WebGl2RenderingContext, 306 target: u32, 307 offset: i32, 308 src_data: &::js_sys::Object, 309 ); 310 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 311 #[doc = "The `bufferSubData()` method."] 312 #[doc = ""] 313 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 314 #[doc = ""] 315 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_f64_and_array_buffer_view( this: &WebGl2RenderingContext, target: u32, offset: f64, src_data: &::js_sys::Object, )316 pub fn buffer_sub_data_with_f64_and_array_buffer_view( 317 this: &WebGl2RenderingContext, 318 target: u32, 319 offset: f64, 320 src_data: &::js_sys::Object, 321 ); 322 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 323 #[doc = "The `bufferSubData()` method."] 324 #[doc = ""] 325 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 326 #[doc = ""] 327 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_i32_and_u8_array( this: &WebGl2RenderingContext, target: u32, offset: i32, src_data: &[u8], )328 pub fn buffer_sub_data_with_i32_and_u8_array( 329 this: &WebGl2RenderingContext, 330 target: u32, 331 offset: i32, 332 src_data: &[u8], 333 ); 334 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 335 #[doc = "The `bufferSubData()` method."] 336 #[doc = ""] 337 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 338 #[doc = ""] 339 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_f64_and_u8_array( this: &WebGl2RenderingContext, target: u32, offset: f64, src_data: &[u8], )340 pub fn buffer_sub_data_with_f64_and_u8_array( 341 this: &WebGl2RenderingContext, 342 target: u32, 343 offset: f64, 344 src_data: &[u8], 345 ); 346 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 347 #[doc = "The `bufferSubData()` method."] 348 #[doc = ""] 349 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 350 #[doc = ""] 351 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset( this: &WebGl2RenderingContext, target: u32, dst_byte_offset: i32, src_data: &::js_sys::Object, src_offset: u32, )352 pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset( 353 this: &WebGl2RenderingContext, 354 target: u32, 355 dst_byte_offset: i32, 356 src_data: &::js_sys::Object, 357 src_offset: u32, 358 ); 359 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 360 #[doc = "The `bufferSubData()` method."] 361 #[doc = ""] 362 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 363 #[doc = ""] 364 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset( this: &WebGl2RenderingContext, target: u32, dst_byte_offset: f64, src_data: &::js_sys::Object, src_offset: u32, )365 pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset( 366 this: &WebGl2RenderingContext, 367 target: u32, 368 dst_byte_offset: f64, 369 src_data: &::js_sys::Object, 370 src_offset: u32, 371 ); 372 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 373 #[doc = "The `bufferSubData()` method."] 374 #[doc = ""] 375 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 376 #[doc = ""] 377 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_i32_and_u8_array_and_src_offset( this: &WebGl2RenderingContext, target: u32, dst_byte_offset: i32, src_data: &[u8], src_offset: u32, )378 pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset( 379 this: &WebGl2RenderingContext, 380 target: u32, 381 dst_byte_offset: i32, 382 src_data: &[u8], 383 src_offset: u32, 384 ); 385 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 386 #[doc = "The `bufferSubData()` method."] 387 #[doc = ""] 388 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 389 #[doc = ""] 390 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_f64_and_u8_array_and_src_offset( this: &WebGl2RenderingContext, target: u32, dst_byte_offset: f64, src_data: &[u8], src_offset: u32, )391 pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset( 392 this: &WebGl2RenderingContext, 393 target: u32, 394 dst_byte_offset: f64, 395 src_data: &[u8], 396 src_offset: u32, 397 ); 398 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 399 #[doc = "The `bufferSubData()` method."] 400 #[doc = ""] 401 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 402 #[doc = ""] 403 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length( this: &WebGl2RenderingContext, target: u32, dst_byte_offset: i32, src_data: &::js_sys::Object, src_offset: u32, length: u32, )404 pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length( 405 this: &WebGl2RenderingContext, 406 target: u32, 407 dst_byte_offset: i32, 408 src_data: &::js_sys::Object, 409 src_offset: u32, 410 length: u32, 411 ); 412 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 413 #[doc = "The `bufferSubData()` method."] 414 #[doc = ""] 415 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 416 #[doc = ""] 417 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length( this: &WebGl2RenderingContext, target: u32, dst_byte_offset: f64, src_data: &::js_sys::Object, src_offset: u32, length: u32, )418 pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length( 419 this: &WebGl2RenderingContext, 420 target: u32, 421 dst_byte_offset: f64, 422 src_data: &::js_sys::Object, 423 src_offset: u32, 424 length: u32, 425 ); 426 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 427 #[doc = "The `bufferSubData()` method."] 428 #[doc = ""] 429 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 430 #[doc = ""] 431 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length( this: &WebGl2RenderingContext, target: u32, dst_byte_offset: i32, src_data: &[u8], src_offset: u32, length: u32, )432 pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length( 433 this: &WebGl2RenderingContext, 434 target: u32, 435 dst_byte_offset: i32, 436 src_data: &[u8], 437 src_offset: u32, 438 length: u32, 439 ); 440 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)] 441 #[doc = "The `bufferSubData()` method."] 442 #[doc = ""] 443 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"] 444 #[doc = ""] 445 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length( this: &WebGl2RenderingContext, target: u32, dst_byte_offset: f64, src_data: &[u8], src_offset: u32, length: u32, )446 pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length( 447 this: &WebGl2RenderingContext, 448 target: u32, 449 dst_byte_offset: f64, 450 src_data: &[u8], 451 src_offset: u32, 452 length: u32, 453 ); 454 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfi)] 455 #[doc = "The `clearBufferfi()` method."] 456 #[doc = ""] 457 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfi)"] 458 #[doc = ""] 459 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferfi( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, depth: f32, stencil: i32, )460 pub fn clear_bufferfi( 461 this: &WebGl2RenderingContext, 462 buffer: u32, 463 drawbuffer: i32, 464 depth: f32, 465 stencil: i32, 466 ); 467 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)] 468 #[doc = "The `clearBufferfv()` method."] 469 #[doc = ""] 470 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"] 471 #[doc = ""] 472 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferfv_with_f32_array( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &[f32], )473 pub fn clear_bufferfv_with_f32_array( 474 this: &WebGl2RenderingContext, 475 buffer: u32, 476 drawbuffer: i32, 477 values: &[f32], 478 ); 479 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)] 480 #[doc = "The `clearBufferfv()` method."] 481 #[doc = ""] 482 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"] 483 #[doc = ""] 484 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferfv_with_f32_sequence( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &::wasm_bindgen::JsValue, )485 pub fn clear_bufferfv_with_f32_sequence( 486 this: &WebGl2RenderingContext, 487 buffer: u32, 488 drawbuffer: i32, 489 values: &::wasm_bindgen::JsValue, 490 ); 491 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)] 492 #[doc = "The `clearBufferfv()` method."] 493 #[doc = ""] 494 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"] 495 #[doc = ""] 496 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferfv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &[f32], src_offset: u32, )497 pub fn clear_bufferfv_with_f32_array_and_src_offset( 498 this: &WebGl2RenderingContext, 499 buffer: u32, 500 drawbuffer: i32, 501 values: &[f32], 502 src_offset: u32, 503 ); 504 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)] 505 #[doc = "The `clearBufferfv()` method."] 506 #[doc = ""] 507 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"] 508 #[doc = ""] 509 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferfv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &::wasm_bindgen::JsValue, src_offset: u32, )510 pub fn clear_bufferfv_with_f32_sequence_and_src_offset( 511 this: &WebGl2RenderingContext, 512 buffer: u32, 513 drawbuffer: i32, 514 values: &::wasm_bindgen::JsValue, 515 src_offset: u32, 516 ); 517 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)] 518 #[doc = "The `clearBufferiv()` method."] 519 #[doc = ""] 520 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"] 521 #[doc = ""] 522 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferiv_with_i32_array( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &[i32], )523 pub fn clear_bufferiv_with_i32_array( 524 this: &WebGl2RenderingContext, 525 buffer: u32, 526 drawbuffer: i32, 527 values: &[i32], 528 ); 529 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)] 530 #[doc = "The `clearBufferiv()` method."] 531 #[doc = ""] 532 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"] 533 #[doc = ""] 534 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferiv_with_i32_sequence( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &::wasm_bindgen::JsValue, )535 pub fn clear_bufferiv_with_i32_sequence( 536 this: &WebGl2RenderingContext, 537 buffer: u32, 538 drawbuffer: i32, 539 values: &::wasm_bindgen::JsValue, 540 ); 541 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)] 542 #[doc = "The `clearBufferiv()` method."] 543 #[doc = ""] 544 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"] 545 #[doc = ""] 546 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferiv_with_i32_array_and_src_offset( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &[i32], src_offset: u32, )547 pub fn clear_bufferiv_with_i32_array_and_src_offset( 548 this: &WebGl2RenderingContext, 549 buffer: u32, 550 drawbuffer: i32, 551 values: &[i32], 552 src_offset: u32, 553 ); 554 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)] 555 #[doc = "The `clearBufferiv()` method."] 556 #[doc = ""] 557 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"] 558 #[doc = ""] 559 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferiv_with_i32_sequence_and_src_offset( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &::wasm_bindgen::JsValue, src_offset: u32, )560 pub fn clear_bufferiv_with_i32_sequence_and_src_offset( 561 this: &WebGl2RenderingContext, 562 buffer: u32, 563 drawbuffer: i32, 564 values: &::wasm_bindgen::JsValue, 565 src_offset: u32, 566 ); 567 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)] 568 #[doc = "The `clearBufferuiv()` method."] 569 #[doc = ""] 570 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"] 571 #[doc = ""] 572 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferuiv_with_u32_array( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &[u32], )573 pub fn clear_bufferuiv_with_u32_array( 574 this: &WebGl2RenderingContext, 575 buffer: u32, 576 drawbuffer: i32, 577 values: &[u32], 578 ); 579 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)] 580 #[doc = "The `clearBufferuiv()` method."] 581 #[doc = ""] 582 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"] 583 #[doc = ""] 584 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferuiv_with_u32_sequence( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &::wasm_bindgen::JsValue, )585 pub fn clear_bufferuiv_with_u32_sequence( 586 this: &WebGl2RenderingContext, 587 buffer: u32, 588 drawbuffer: i32, 589 values: &::wasm_bindgen::JsValue, 590 ); 591 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)] 592 #[doc = "The `clearBufferuiv()` method."] 593 #[doc = ""] 594 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"] 595 #[doc = ""] 596 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferuiv_with_u32_array_and_src_offset( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &[u32], src_offset: u32, )597 pub fn clear_bufferuiv_with_u32_array_and_src_offset( 598 this: &WebGl2RenderingContext, 599 buffer: u32, 600 drawbuffer: i32, 601 values: &[u32], 602 src_offset: u32, 603 ); 604 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)] 605 #[doc = "The `clearBufferuiv()` method."] 606 #[doc = ""] 607 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"] 608 #[doc = ""] 609 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_bufferuiv_with_u32_sequence_and_src_offset( this: &WebGl2RenderingContext, buffer: u32, drawbuffer: i32, values: &::wasm_bindgen::JsValue, src_offset: u32, )610 pub fn clear_bufferuiv_with_u32_sequence_and_src_offset( 611 this: &WebGl2RenderingContext, 612 buffer: u32, 613 drawbuffer: i32, 614 values: &::wasm_bindgen::JsValue, 615 src_offset: u32, 616 ); 617 #[cfg(feature = "WebGlSync")] 618 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clientWaitSync)] 619 #[doc = "The `clientWaitSync()` method."] 620 #[doc = ""] 621 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)"] 622 #[doc = ""] 623 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"] client_wait_sync_with_u32( this: &WebGl2RenderingContext, sync: &WebGlSync, flags: u32, timeout: u32, ) -> u32624 pub fn client_wait_sync_with_u32( 625 this: &WebGl2RenderingContext, 626 sync: &WebGlSync, 627 flags: u32, 628 timeout: u32, 629 ) -> u32; 630 #[cfg(feature = "WebGlSync")] 631 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clientWaitSync)] 632 #[doc = "The `clientWaitSync()` method."] 633 #[doc = ""] 634 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)"] 635 #[doc = ""] 636 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"] client_wait_sync_with_f64( this: &WebGl2RenderingContext, sync: &WebGlSync, flags: u32, timeout: f64, ) -> u32637 pub fn client_wait_sync_with_f64( 638 this: &WebGl2RenderingContext, 639 sync: &WebGlSync, 640 flags: u32, 641 timeout: f64, 642 ) -> u32; 643 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] 644 #[doc = "The `compressedTexImage2D()` method."] 645 #[doc = ""] 646 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"] 647 #[doc = ""] 648 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_2d_with_i32_and_i32( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, image_size: i32, offset: i32, )649 pub fn compressed_tex_image_2d_with_i32_and_i32( 650 this: &WebGl2RenderingContext, 651 target: u32, 652 level: i32, 653 internalformat: u32, 654 width: i32, 655 height: i32, 656 border: i32, 657 image_size: i32, 658 offset: i32, 659 ); 660 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] 661 #[doc = "The `compressedTexImage2D()` method."] 662 #[doc = ""] 663 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"] 664 #[doc = ""] 665 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_2d_with_i32_and_f64( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, image_size: i32, offset: f64, )666 pub fn compressed_tex_image_2d_with_i32_and_f64( 667 this: &WebGl2RenderingContext, 668 target: u32, 669 level: i32, 670 internalformat: u32, 671 width: i32, 672 height: i32, 673 border: i32, 674 image_size: i32, 675 offset: f64, 676 ); 677 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] 678 #[doc = "The `compressedTexImage2D()` method."] 679 #[doc = ""] 680 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"] 681 #[doc = ""] 682 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_2d_with_array_buffer_view( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &::js_sys::Object, )683 pub fn compressed_tex_image_2d_with_array_buffer_view( 684 this: &WebGl2RenderingContext, 685 target: u32, 686 level: i32, 687 internalformat: u32, 688 width: i32, 689 height: i32, 690 border: i32, 691 src_data: &::js_sys::Object, 692 ); 693 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] 694 #[doc = "The `compressedTexImage2D()` method."] 695 #[doc = ""] 696 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"] 697 #[doc = ""] 698 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_2d_with_u8_array( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &[u8], )699 pub fn compressed_tex_image_2d_with_u8_array( 700 this: &WebGl2RenderingContext, 701 target: u32, 702 level: i32, 703 internalformat: u32, 704 width: i32, 705 height: i32, 706 border: i32, 707 src_data: &[u8], 708 ); 709 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] 710 #[doc = "The `compressedTexImage2D()` method."] 711 #[doc = ""] 712 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"] 713 #[doc = ""] 714 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_2d_with_array_buffer_view_and_u32( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &::js_sys::Object, src_offset: u32, )715 pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32( 716 this: &WebGl2RenderingContext, 717 target: u32, 718 level: i32, 719 internalformat: u32, 720 width: i32, 721 height: i32, 722 border: i32, 723 src_data: &::js_sys::Object, 724 src_offset: u32, 725 ); 726 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] 727 #[doc = "The `compressedTexImage2D()` method."] 728 #[doc = ""] 729 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"] 730 #[doc = ""] 731 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_2d_with_u8_array_and_u32( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &[u8], src_offset: u32, )732 pub fn compressed_tex_image_2d_with_u8_array_and_u32( 733 this: &WebGl2RenderingContext, 734 target: u32, 735 level: i32, 736 internalformat: u32, 737 width: i32, 738 height: i32, 739 border: i32, 740 src_data: &[u8], 741 src_offset: u32, 742 ); 743 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] 744 #[doc = "The `compressedTexImage2D()` method."] 745 #[doc = ""] 746 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"] 747 #[doc = ""] 748 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &::js_sys::Object, src_offset: u32, src_length_override: u32, )749 pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override( 750 this: &WebGl2RenderingContext, 751 target: u32, 752 level: i32, 753 internalformat: u32, 754 width: i32, 755 height: i32, 756 border: i32, 757 src_data: &::js_sys::Object, 758 src_offset: u32, 759 src_length_override: u32, 760 ); 761 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)] 762 #[doc = "The `compressedTexImage2D()` method."] 763 #[doc = ""] 764 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"] 765 #[doc = ""] 766 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &[u8], src_offset: u32, src_length_override: u32, )767 pub fn compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override( 768 this: &WebGl2RenderingContext, 769 target: u32, 770 level: i32, 771 internalformat: u32, 772 width: i32, 773 height: i32, 774 border: i32, 775 src_data: &[u8], 776 src_offset: u32, 777 src_length_override: u32, 778 ); 779 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] 780 #[doc = "The `compressedTexImage3D()` method."] 781 #[doc = ""] 782 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"] 783 #[doc = ""] 784 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_3d_with_i32_and_i32( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, image_size: i32, offset: i32, )785 pub fn compressed_tex_image_3d_with_i32_and_i32( 786 this: &WebGl2RenderingContext, 787 target: u32, 788 level: i32, 789 internalformat: u32, 790 width: i32, 791 height: i32, 792 depth: i32, 793 border: i32, 794 image_size: i32, 795 offset: i32, 796 ); 797 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] 798 #[doc = "The `compressedTexImage3D()` method."] 799 #[doc = ""] 800 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"] 801 #[doc = ""] 802 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_3d_with_i32_and_f64( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, image_size: i32, offset: f64, )803 pub fn compressed_tex_image_3d_with_i32_and_f64( 804 this: &WebGl2RenderingContext, 805 target: u32, 806 level: i32, 807 internalformat: u32, 808 width: i32, 809 height: i32, 810 depth: i32, 811 border: i32, 812 image_size: i32, 813 offset: f64, 814 ); 815 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] 816 #[doc = "The `compressedTexImage3D()` method."] 817 #[doc = ""] 818 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"] 819 #[doc = ""] 820 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_3d_with_array_buffer_view( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &::js_sys::Object, )821 pub fn compressed_tex_image_3d_with_array_buffer_view( 822 this: &WebGl2RenderingContext, 823 target: u32, 824 level: i32, 825 internalformat: u32, 826 width: i32, 827 height: i32, 828 depth: i32, 829 border: i32, 830 src_data: &::js_sys::Object, 831 ); 832 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] 833 #[doc = "The `compressedTexImage3D()` method."] 834 #[doc = ""] 835 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"] 836 #[doc = ""] 837 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_3d_with_u8_array( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &[u8], )838 pub fn compressed_tex_image_3d_with_u8_array( 839 this: &WebGl2RenderingContext, 840 target: u32, 841 level: i32, 842 internalformat: u32, 843 width: i32, 844 height: i32, 845 depth: i32, 846 border: i32, 847 src_data: &[u8], 848 ); 849 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] 850 #[doc = "The `compressedTexImage3D()` method."] 851 #[doc = ""] 852 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"] 853 #[doc = ""] 854 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_3d_with_array_buffer_view_and_u32( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &::js_sys::Object, src_offset: u32, )855 pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32( 856 this: &WebGl2RenderingContext, 857 target: u32, 858 level: i32, 859 internalformat: u32, 860 width: i32, 861 height: i32, 862 depth: i32, 863 border: i32, 864 src_data: &::js_sys::Object, 865 src_offset: u32, 866 ); 867 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] 868 #[doc = "The `compressedTexImage3D()` method."] 869 #[doc = ""] 870 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"] 871 #[doc = ""] 872 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_3d_with_u8_array_and_u32( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &[u8], src_offset: u32, )873 pub fn compressed_tex_image_3d_with_u8_array_and_u32( 874 this: &WebGl2RenderingContext, 875 target: u32, 876 level: i32, 877 internalformat: u32, 878 width: i32, 879 height: i32, 880 depth: i32, 881 border: i32, 882 src_data: &[u8], 883 src_offset: u32, 884 ); 885 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] 886 #[doc = "The `compressedTexImage3D()` method."] 887 #[doc = ""] 888 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"] 889 #[doc = ""] 890 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &::js_sys::Object, src_offset: u32, src_length_override: u32, )891 pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override( 892 this: &WebGl2RenderingContext, 893 target: u32, 894 level: i32, 895 internalformat: u32, 896 width: i32, 897 height: i32, 898 depth: i32, 899 border: i32, 900 src_data: &::js_sys::Object, 901 src_offset: u32, 902 src_length_override: u32, 903 ); 904 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)] 905 #[doc = "The `compressedTexImage3D()` method."] 906 #[doc = ""] 907 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"] 908 #[doc = ""] 909 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &[u8], src_offset: u32, src_length_override: u32, )910 pub fn compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override( 911 this: &WebGl2RenderingContext, 912 target: u32, 913 level: i32, 914 internalformat: u32, 915 width: i32, 916 height: i32, 917 depth: i32, 918 border: i32, 919 src_data: &[u8], 920 src_offset: u32, 921 src_length_override: u32, 922 ); 923 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] 924 #[doc = "The `compressedTexSubImage2D()` method."] 925 #[doc = ""] 926 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"] 927 #[doc = ""] 928 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_2d_with_i32_and_i32( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, image_size: i32, offset: i32, )929 pub fn compressed_tex_sub_image_2d_with_i32_and_i32( 930 this: &WebGl2RenderingContext, 931 target: u32, 932 level: i32, 933 xoffset: i32, 934 yoffset: i32, 935 width: i32, 936 height: i32, 937 format: u32, 938 image_size: i32, 939 offset: i32, 940 ); 941 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] 942 #[doc = "The `compressedTexSubImage2D()` method."] 943 #[doc = ""] 944 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"] 945 #[doc = ""] 946 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_2d_with_i32_and_f64( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, image_size: i32, offset: f64, )947 pub fn compressed_tex_sub_image_2d_with_i32_and_f64( 948 this: &WebGl2RenderingContext, 949 target: u32, 950 level: i32, 951 xoffset: i32, 952 yoffset: i32, 953 width: i32, 954 height: i32, 955 format: u32, 956 image_size: i32, 957 offset: f64, 958 ); 959 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] 960 #[doc = "The `compressedTexSubImage2D()` method."] 961 #[doc = ""] 962 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"] 963 #[doc = ""] 964 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_2d_with_array_buffer_view( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &::js_sys::Object, )965 pub fn compressed_tex_sub_image_2d_with_array_buffer_view( 966 this: &WebGl2RenderingContext, 967 target: u32, 968 level: i32, 969 xoffset: i32, 970 yoffset: i32, 971 width: i32, 972 height: i32, 973 format: u32, 974 src_data: &::js_sys::Object, 975 ); 976 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] 977 #[doc = "The `compressedTexSubImage2D()` method."] 978 #[doc = ""] 979 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"] 980 #[doc = ""] 981 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_2d_with_u8_array( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &mut [u8], )982 pub fn compressed_tex_sub_image_2d_with_u8_array( 983 this: &WebGl2RenderingContext, 984 target: u32, 985 level: i32, 986 xoffset: i32, 987 yoffset: i32, 988 width: i32, 989 height: i32, 990 format: u32, 991 src_data: &mut [u8], 992 ); 993 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] 994 #[doc = "The `compressedTexSubImage2D()` method."] 995 #[doc = ""] 996 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"] 997 #[doc = ""] 998 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_2d_with_array_buffer_view_and_u32( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &::js_sys::Object, src_offset: u32, )999 pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32( 1000 this: &WebGl2RenderingContext, 1001 target: u32, 1002 level: i32, 1003 xoffset: i32, 1004 yoffset: i32, 1005 width: i32, 1006 height: i32, 1007 format: u32, 1008 src_data: &::js_sys::Object, 1009 src_offset: u32, 1010 ); 1011 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] 1012 #[doc = "The `compressedTexSubImage2D()` method."] 1013 #[doc = ""] 1014 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"] 1015 #[doc = ""] 1016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_2d_with_u8_array_and_u32( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &mut [u8], src_offset: u32, )1017 pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32( 1018 this: &WebGl2RenderingContext, 1019 target: u32, 1020 level: i32, 1021 xoffset: i32, 1022 yoffset: i32, 1023 width: i32, 1024 height: i32, 1025 format: u32, 1026 src_data: &mut [u8], 1027 src_offset: u32, 1028 ); 1029 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] 1030 #[doc = "The `compressedTexSubImage2D()` method."] 1031 #[doc = ""] 1032 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"] 1033 #[doc = ""] 1034 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &::js_sys::Object, src_offset: u32, src_length_override: u32, )1035 pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override( 1036 this: &WebGl2RenderingContext, 1037 target: u32, 1038 level: i32, 1039 xoffset: i32, 1040 yoffset: i32, 1041 width: i32, 1042 height: i32, 1043 format: u32, 1044 src_data: &::js_sys::Object, 1045 src_offset: u32, 1046 src_length_override: u32, 1047 ); 1048 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)] 1049 #[doc = "The `compressedTexSubImage2D()` method."] 1050 #[doc = ""] 1051 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"] 1052 #[doc = ""] 1053 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &mut [u8], src_offset: u32, src_length_override: u32, )1054 pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override( 1055 this: &WebGl2RenderingContext, 1056 target: u32, 1057 level: i32, 1058 xoffset: i32, 1059 yoffset: i32, 1060 width: i32, 1061 height: i32, 1062 format: u32, 1063 src_data: &mut [u8], 1064 src_offset: u32, 1065 src_length_override: u32, 1066 ); 1067 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] 1068 #[doc = "The `compressedTexSubImage3D()` method."] 1069 #[doc = ""] 1070 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"] 1071 #[doc = ""] 1072 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_3d_with_i32_and_i32( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, image_size: i32, offset: i32, )1073 pub fn compressed_tex_sub_image_3d_with_i32_and_i32( 1074 this: &WebGl2RenderingContext, 1075 target: u32, 1076 level: i32, 1077 xoffset: i32, 1078 yoffset: i32, 1079 zoffset: i32, 1080 width: i32, 1081 height: i32, 1082 depth: i32, 1083 format: u32, 1084 image_size: i32, 1085 offset: i32, 1086 ); 1087 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] 1088 #[doc = "The `compressedTexSubImage3D()` method."] 1089 #[doc = ""] 1090 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"] 1091 #[doc = ""] 1092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_3d_with_i32_and_f64( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, image_size: i32, offset: f64, )1093 pub fn compressed_tex_sub_image_3d_with_i32_and_f64( 1094 this: &WebGl2RenderingContext, 1095 target: u32, 1096 level: i32, 1097 xoffset: i32, 1098 yoffset: i32, 1099 zoffset: i32, 1100 width: i32, 1101 height: i32, 1102 depth: i32, 1103 format: u32, 1104 image_size: i32, 1105 offset: f64, 1106 ); 1107 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] 1108 #[doc = "The `compressedTexSubImage3D()` method."] 1109 #[doc = ""] 1110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"] 1111 #[doc = ""] 1112 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_3d_with_array_buffer_view( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &::js_sys::Object, )1113 pub fn compressed_tex_sub_image_3d_with_array_buffer_view( 1114 this: &WebGl2RenderingContext, 1115 target: u32, 1116 level: i32, 1117 xoffset: i32, 1118 yoffset: i32, 1119 zoffset: i32, 1120 width: i32, 1121 height: i32, 1122 depth: i32, 1123 format: u32, 1124 src_data: &::js_sys::Object, 1125 ); 1126 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] 1127 #[doc = "The `compressedTexSubImage3D()` method."] 1128 #[doc = ""] 1129 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"] 1130 #[doc = ""] 1131 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_3d_with_u8_array( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &mut [u8], )1132 pub fn compressed_tex_sub_image_3d_with_u8_array( 1133 this: &WebGl2RenderingContext, 1134 target: u32, 1135 level: i32, 1136 xoffset: i32, 1137 yoffset: i32, 1138 zoffset: i32, 1139 width: i32, 1140 height: i32, 1141 depth: i32, 1142 format: u32, 1143 src_data: &mut [u8], 1144 ); 1145 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] 1146 #[doc = "The `compressedTexSubImage3D()` method."] 1147 #[doc = ""] 1148 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"] 1149 #[doc = ""] 1150 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_3d_with_array_buffer_view_and_u32( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &::js_sys::Object, src_offset: u32, )1151 pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32( 1152 this: &WebGl2RenderingContext, 1153 target: u32, 1154 level: i32, 1155 xoffset: i32, 1156 yoffset: i32, 1157 zoffset: i32, 1158 width: i32, 1159 height: i32, 1160 depth: i32, 1161 format: u32, 1162 src_data: &::js_sys::Object, 1163 src_offset: u32, 1164 ); 1165 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] 1166 #[doc = "The `compressedTexSubImage3D()` method."] 1167 #[doc = ""] 1168 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"] 1169 #[doc = ""] 1170 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_3d_with_u8_array_and_u32( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &mut [u8], src_offset: u32, )1171 pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32( 1172 this: &WebGl2RenderingContext, 1173 target: u32, 1174 level: i32, 1175 xoffset: i32, 1176 yoffset: i32, 1177 zoffset: i32, 1178 width: i32, 1179 height: i32, 1180 depth: i32, 1181 format: u32, 1182 src_data: &mut [u8], 1183 src_offset: u32, 1184 ); 1185 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] 1186 #[doc = "The `compressedTexSubImage3D()` method."] 1187 #[doc = ""] 1188 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"] 1189 #[doc = ""] 1190 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &::js_sys::Object, src_offset: u32, src_length_override: u32, )1191 pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override( 1192 this: &WebGl2RenderingContext, 1193 target: u32, 1194 level: i32, 1195 xoffset: i32, 1196 yoffset: i32, 1197 zoffset: i32, 1198 width: i32, 1199 height: i32, 1200 depth: i32, 1201 format: u32, 1202 src_data: &::js_sys::Object, 1203 src_offset: u32, 1204 src_length_override: u32, 1205 ); 1206 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)] 1207 #[doc = "The `compressedTexSubImage3D()` method."] 1208 #[doc = ""] 1209 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"] 1210 #[doc = ""] 1211 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &mut [u8], src_offset: u32, src_length_override: u32, )1212 pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override( 1213 this: &WebGl2RenderingContext, 1214 target: u32, 1215 level: i32, 1216 xoffset: i32, 1217 yoffset: i32, 1218 zoffset: i32, 1219 width: i32, 1220 height: i32, 1221 depth: i32, 1222 format: u32, 1223 src_data: &mut [u8], 1224 src_offset: u32, 1225 src_length_override: u32, 1226 ); 1227 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] 1228 #[doc = "The `copyBufferSubData()` method."] 1229 #[doc = ""] 1230 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"] 1231 #[doc = ""] 1232 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_buffer_sub_data_with_i32_and_i32_and_i32( this: &WebGl2RenderingContext, read_target: u32, write_target: u32, read_offset: i32, write_offset: i32, size: i32, )1233 pub fn copy_buffer_sub_data_with_i32_and_i32_and_i32( 1234 this: &WebGl2RenderingContext, 1235 read_target: u32, 1236 write_target: u32, 1237 read_offset: i32, 1238 write_offset: i32, 1239 size: i32, 1240 ); 1241 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] 1242 #[doc = "The `copyBufferSubData()` method."] 1243 #[doc = ""] 1244 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"] 1245 #[doc = ""] 1246 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_buffer_sub_data_with_f64_and_i32_and_i32( this: &WebGl2RenderingContext, read_target: u32, write_target: u32, read_offset: f64, write_offset: i32, size: i32, )1247 pub fn copy_buffer_sub_data_with_f64_and_i32_and_i32( 1248 this: &WebGl2RenderingContext, 1249 read_target: u32, 1250 write_target: u32, 1251 read_offset: f64, 1252 write_offset: i32, 1253 size: i32, 1254 ); 1255 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] 1256 #[doc = "The `copyBufferSubData()` method."] 1257 #[doc = ""] 1258 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"] 1259 #[doc = ""] 1260 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_buffer_sub_data_with_i32_and_f64_and_i32( this: &WebGl2RenderingContext, read_target: u32, write_target: u32, read_offset: i32, write_offset: f64, size: i32, )1261 pub fn copy_buffer_sub_data_with_i32_and_f64_and_i32( 1262 this: &WebGl2RenderingContext, 1263 read_target: u32, 1264 write_target: u32, 1265 read_offset: i32, 1266 write_offset: f64, 1267 size: i32, 1268 ); 1269 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] 1270 #[doc = "The `copyBufferSubData()` method."] 1271 #[doc = ""] 1272 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"] 1273 #[doc = ""] 1274 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_buffer_sub_data_with_f64_and_f64_and_i32( this: &WebGl2RenderingContext, read_target: u32, write_target: u32, read_offset: f64, write_offset: f64, size: i32, )1275 pub fn copy_buffer_sub_data_with_f64_and_f64_and_i32( 1276 this: &WebGl2RenderingContext, 1277 read_target: u32, 1278 write_target: u32, 1279 read_offset: f64, 1280 write_offset: f64, 1281 size: i32, 1282 ); 1283 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] 1284 #[doc = "The `copyBufferSubData()` method."] 1285 #[doc = ""] 1286 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"] 1287 #[doc = ""] 1288 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_buffer_sub_data_with_i32_and_i32_and_f64( this: &WebGl2RenderingContext, read_target: u32, write_target: u32, read_offset: i32, write_offset: i32, size: f64, )1289 pub fn copy_buffer_sub_data_with_i32_and_i32_and_f64( 1290 this: &WebGl2RenderingContext, 1291 read_target: u32, 1292 write_target: u32, 1293 read_offset: i32, 1294 write_offset: i32, 1295 size: f64, 1296 ); 1297 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] 1298 #[doc = "The `copyBufferSubData()` method."] 1299 #[doc = ""] 1300 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"] 1301 #[doc = ""] 1302 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_buffer_sub_data_with_f64_and_i32_and_f64( this: &WebGl2RenderingContext, read_target: u32, write_target: u32, read_offset: f64, write_offset: i32, size: f64, )1303 pub fn copy_buffer_sub_data_with_f64_and_i32_and_f64( 1304 this: &WebGl2RenderingContext, 1305 read_target: u32, 1306 write_target: u32, 1307 read_offset: f64, 1308 write_offset: i32, 1309 size: f64, 1310 ); 1311 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] 1312 #[doc = "The `copyBufferSubData()` method."] 1313 #[doc = ""] 1314 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"] 1315 #[doc = ""] 1316 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_buffer_sub_data_with_i32_and_f64_and_f64( this: &WebGl2RenderingContext, read_target: u32, write_target: u32, read_offset: i32, write_offset: f64, size: f64, )1317 pub fn copy_buffer_sub_data_with_i32_and_f64_and_f64( 1318 this: &WebGl2RenderingContext, 1319 read_target: u32, 1320 write_target: u32, 1321 read_offset: i32, 1322 write_offset: f64, 1323 size: f64, 1324 ); 1325 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)] 1326 #[doc = "The `copyBufferSubData()` method."] 1327 #[doc = ""] 1328 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"] 1329 #[doc = ""] 1330 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_buffer_sub_data_with_f64_and_f64_and_f64( this: &WebGl2RenderingContext, read_target: u32, write_target: u32, read_offset: f64, write_offset: f64, size: f64, )1331 pub fn copy_buffer_sub_data_with_f64_and_f64_and_f64( 1332 this: &WebGl2RenderingContext, 1333 read_target: u32, 1334 write_target: u32, 1335 read_offset: f64, 1336 write_offset: f64, 1337 size: f64, 1338 ); 1339 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage3D)] 1340 #[doc = "The `copyTexSubImage3D()` method."] 1341 #[doc = ""] 1342 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D)"] 1343 #[doc = ""] 1344 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_tex_sub_image_3d( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, x: i32, y: i32, width: i32, height: i32, )1345 pub fn copy_tex_sub_image_3d( 1346 this: &WebGl2RenderingContext, 1347 target: u32, 1348 level: i32, 1349 xoffset: i32, 1350 yoffset: i32, 1351 zoffset: i32, 1352 x: i32, 1353 y: i32, 1354 width: i32, 1355 height: i32, 1356 ); 1357 #[cfg(feature = "WebGlQuery")] 1358 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createQuery)] 1359 #[doc = "The `createQuery()` method."] 1360 #[doc = ""] 1361 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createQuery)"] 1362 #[doc = ""] 1363 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"] create_query(this: &WebGl2RenderingContext) -> Option<WebGlQuery>1364 pub fn create_query(this: &WebGl2RenderingContext) -> Option<WebGlQuery>; 1365 #[cfg(feature = "WebGlSampler")] 1366 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createSampler)] 1367 #[doc = "The `createSampler()` method."] 1368 #[doc = ""] 1369 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createSampler)"] 1370 #[doc = ""] 1371 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"] create_sampler(this: &WebGl2RenderingContext) -> Option<WebGlSampler>1372 pub fn create_sampler(this: &WebGl2RenderingContext) -> Option<WebGlSampler>; 1373 #[cfg(feature = "WebGlTransformFeedback")] 1374 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createTransformFeedback)] 1375 #[doc = "The `createTransformFeedback()` method."] 1376 #[doc = ""] 1377 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTransformFeedback)"] 1378 #[doc = ""] 1379 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"] create_transform_feedback( this: &WebGl2RenderingContext, ) -> Option<WebGlTransformFeedback>1380 pub fn create_transform_feedback( 1381 this: &WebGl2RenderingContext, 1382 ) -> Option<WebGlTransformFeedback>; 1383 #[cfg(feature = "WebGlVertexArrayObject")] 1384 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createVertexArray)] 1385 #[doc = "The `createVertexArray()` method."] 1386 #[doc = ""] 1387 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createVertexArray)"] 1388 #[doc = ""] 1389 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"] create_vertex_array(this: &WebGl2RenderingContext) -> Option<WebGlVertexArrayObject>1390 pub fn create_vertex_array(this: &WebGl2RenderingContext) -> Option<WebGlVertexArrayObject>; 1391 #[cfg(feature = "WebGlQuery")] 1392 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteQuery)] 1393 #[doc = "The `deleteQuery()` method."] 1394 #[doc = ""] 1395 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteQuery)"] 1396 #[doc = ""] 1397 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"] delete_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>)1398 pub fn delete_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>); 1399 #[cfg(feature = "WebGlSampler")] 1400 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteSampler)] 1401 #[doc = "The `deleteSampler()` method."] 1402 #[doc = ""] 1403 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSampler)"] 1404 #[doc = ""] 1405 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"] delete_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>)1406 pub fn delete_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>); 1407 #[cfg(feature = "WebGlSync")] 1408 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteSync)] 1409 #[doc = "The `deleteSync()` method."] 1410 #[doc = ""] 1411 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSync)"] 1412 #[doc = ""] 1413 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"] delete_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>)1414 pub fn delete_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>); 1415 #[cfg(feature = "WebGlTransformFeedback")] 1416 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteTransformFeedback)] 1417 #[doc = "The `deleteTransformFeedback()` method."] 1418 #[doc = ""] 1419 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback)"] 1420 #[doc = ""] 1421 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"] delete_transform_feedback( this: &WebGl2RenderingContext, tf: Option<&WebGlTransformFeedback>, )1422 pub fn delete_transform_feedback( 1423 this: &WebGl2RenderingContext, 1424 tf: Option<&WebGlTransformFeedback>, 1425 ); 1426 #[cfg(feature = "WebGlVertexArrayObject")] 1427 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteVertexArray)] 1428 #[doc = "The `deleteVertexArray()` method."] 1429 #[doc = ""] 1430 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteVertexArray)"] 1431 #[doc = ""] 1432 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"] delete_vertex_array( this: &WebGl2RenderingContext, vertex_array: Option<&WebGlVertexArrayObject>, )1433 pub fn delete_vertex_array( 1434 this: &WebGl2RenderingContext, 1435 vertex_array: Option<&WebGlVertexArrayObject>, 1436 ); 1437 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawArraysInstanced)] 1438 #[doc = "The `drawArraysInstanced()` method."] 1439 #[doc = ""] 1440 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced)"] 1441 #[doc = ""] 1442 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] draw_arrays_instanced( this: &WebGl2RenderingContext, mode: u32, first: i32, count: i32, instance_count: i32, )1443 pub fn draw_arrays_instanced( 1444 this: &WebGl2RenderingContext, 1445 mode: u32, 1446 first: i32, 1447 count: i32, 1448 instance_count: i32, 1449 ); 1450 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawBuffers)] 1451 #[doc = "The `drawBuffers()` method."] 1452 #[doc = ""] 1453 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawBuffers)"] 1454 #[doc = ""] 1455 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] draw_buffers(this: &WebGl2RenderingContext, buffers: &::wasm_bindgen::JsValue)1456 pub fn draw_buffers(this: &WebGl2RenderingContext, buffers: &::wasm_bindgen::JsValue); 1457 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElementsInstanced)] 1458 #[doc = "The `drawElementsInstanced()` method."] 1459 #[doc = ""] 1460 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)"] 1461 #[doc = ""] 1462 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] draw_elements_instanced_with_i32( this: &WebGl2RenderingContext, mode: u32, count: i32, type_: u32, offset: i32, instance_count: i32, )1463 pub fn draw_elements_instanced_with_i32( 1464 this: &WebGl2RenderingContext, 1465 mode: u32, 1466 count: i32, 1467 type_: u32, 1468 offset: i32, 1469 instance_count: i32, 1470 ); 1471 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElementsInstanced)] 1472 #[doc = "The `drawElementsInstanced()` method."] 1473 #[doc = ""] 1474 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)"] 1475 #[doc = ""] 1476 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] draw_elements_instanced_with_f64( this: &WebGl2RenderingContext, mode: u32, count: i32, type_: u32, offset: f64, instance_count: i32, )1477 pub fn draw_elements_instanced_with_f64( 1478 this: &WebGl2RenderingContext, 1479 mode: u32, 1480 count: i32, 1481 type_: u32, 1482 offset: f64, 1483 instance_count: i32, 1484 ); 1485 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawRangeElements)] 1486 #[doc = "The `drawRangeElements()` method."] 1487 #[doc = ""] 1488 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)"] 1489 #[doc = ""] 1490 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] draw_range_elements_with_i32( this: &WebGl2RenderingContext, mode: u32, start: u32, end: u32, count: i32, type_: u32, offset: i32, )1491 pub fn draw_range_elements_with_i32( 1492 this: &WebGl2RenderingContext, 1493 mode: u32, 1494 start: u32, 1495 end: u32, 1496 count: i32, 1497 type_: u32, 1498 offset: i32, 1499 ); 1500 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawRangeElements)] 1501 #[doc = "The `drawRangeElements()` method."] 1502 #[doc = ""] 1503 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)"] 1504 #[doc = ""] 1505 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] draw_range_elements_with_f64( this: &WebGl2RenderingContext, mode: u32, start: u32, end: u32, count: i32, type_: u32, offset: f64, )1506 pub fn draw_range_elements_with_f64( 1507 this: &WebGl2RenderingContext, 1508 mode: u32, 1509 start: u32, 1510 end: u32, 1511 count: i32, 1512 type_: u32, 1513 offset: f64, 1514 ); 1515 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = endQuery)] 1516 #[doc = "The `endQuery()` method."] 1517 #[doc = ""] 1518 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endQuery)"] 1519 #[doc = ""] 1520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] end_query(this: &WebGl2RenderingContext, target: u32)1521 pub fn end_query(this: &WebGl2RenderingContext, target: u32); 1522 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = endTransformFeedback)] 1523 #[doc = "The `endTransformFeedback()` method."] 1524 #[doc = ""] 1525 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endTransformFeedback)"] 1526 #[doc = ""] 1527 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] end_transform_feedback(this: &WebGl2RenderingContext)1528 pub fn end_transform_feedback(this: &WebGl2RenderingContext); 1529 #[cfg(feature = "WebGlSync")] 1530 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = fenceSync)] 1531 #[doc = "The `fenceSync()` method."] 1532 #[doc = ""] 1533 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/fenceSync)"] 1534 #[doc = ""] 1535 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"] fence_sync( this: &WebGl2RenderingContext, condition: u32, flags: u32, ) -> Option<WebGlSync>1536 pub fn fence_sync( 1537 this: &WebGl2RenderingContext, 1538 condition: u32, 1539 flags: u32, 1540 ) -> Option<WebGlSync>; 1541 #[cfg(feature = "WebGlTexture")] 1542 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTextureLayer)] 1543 #[doc = "The `framebufferTextureLayer()` method."] 1544 #[doc = ""] 1545 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer)"] 1546 #[doc = ""] 1547 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"] framebuffer_texture_layer( this: &WebGl2RenderingContext, target: u32, attachment: u32, texture: Option<&WebGlTexture>, level: i32, layer: i32, )1548 pub fn framebuffer_texture_layer( 1549 this: &WebGl2RenderingContext, 1550 target: u32, 1551 attachment: u32, 1552 texture: Option<&WebGlTexture>, 1553 level: i32, 1554 layer: i32, 1555 ); 1556 #[cfg(feature = "WebGlProgram")] 1557 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniformBlockName)] 1558 #[doc = "The `getActiveUniformBlockName()` method."] 1559 #[doc = ""] 1560 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName)"] 1561 #[doc = ""] 1562 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] get_active_uniform_block_name( this: &WebGl2RenderingContext, program: &WebGlProgram, uniform_block_index: u32, ) -> Option<String>1563 pub fn get_active_uniform_block_name( 1564 this: &WebGl2RenderingContext, 1565 program: &WebGlProgram, 1566 uniform_block_index: u32, 1567 ) -> Option<String>; 1568 #[cfg(feature = "WebGlProgram")] 1569 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniformBlockParameter)] 1570 #[doc = "The `getActiveUniformBlockParameter()` method."] 1571 #[doc = ""] 1572 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter)"] 1573 #[doc = ""] 1574 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] get_active_uniform_block_parameter( this: &WebGl2RenderingContext, program: &WebGlProgram, uniform_block_index: u32, pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>1575 pub fn get_active_uniform_block_parameter( 1576 this: &WebGl2RenderingContext, 1577 program: &WebGlProgram, 1578 uniform_block_index: u32, 1579 pname: u32, 1580 ) -> Result<::wasm_bindgen::JsValue, JsValue>; 1581 #[cfg(feature = "WebGlProgram")] 1582 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniforms)] 1583 #[doc = "The `getActiveUniforms()` method."] 1584 #[doc = ""] 1585 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniforms)"] 1586 #[doc = ""] 1587 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] get_active_uniforms( this: &WebGl2RenderingContext, program: &WebGlProgram, uniform_indices: &::wasm_bindgen::JsValue, pname: u32, ) -> ::wasm_bindgen::JsValue1588 pub fn get_active_uniforms( 1589 this: &WebGl2RenderingContext, 1590 program: &WebGlProgram, 1591 uniform_indices: &::wasm_bindgen::JsValue, 1592 pname: u32, 1593 ) -> ::wasm_bindgen::JsValue; 1594 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1595 #[doc = "The `getBufferSubData()` method."] 1596 #[doc = ""] 1597 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1598 #[doc = ""] 1599 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_i32_and_array_buffer_view( this: &WebGl2RenderingContext, target: u32, src_byte_offset: i32, dst_data: &::js_sys::Object, )1600 pub fn get_buffer_sub_data_with_i32_and_array_buffer_view( 1601 this: &WebGl2RenderingContext, 1602 target: u32, 1603 src_byte_offset: i32, 1604 dst_data: &::js_sys::Object, 1605 ); 1606 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1607 #[doc = "The `getBufferSubData()` method."] 1608 #[doc = ""] 1609 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1610 #[doc = ""] 1611 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_f64_and_array_buffer_view( this: &WebGl2RenderingContext, target: u32, src_byte_offset: f64, dst_data: &::js_sys::Object, )1612 pub fn get_buffer_sub_data_with_f64_and_array_buffer_view( 1613 this: &WebGl2RenderingContext, 1614 target: u32, 1615 src_byte_offset: f64, 1616 dst_data: &::js_sys::Object, 1617 ); 1618 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1619 #[doc = "The `getBufferSubData()` method."] 1620 #[doc = ""] 1621 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1622 #[doc = ""] 1623 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_i32_and_u8_array( this: &WebGl2RenderingContext, target: u32, src_byte_offset: i32, dst_data: &mut [u8], )1624 pub fn get_buffer_sub_data_with_i32_and_u8_array( 1625 this: &WebGl2RenderingContext, 1626 target: u32, 1627 src_byte_offset: i32, 1628 dst_data: &mut [u8], 1629 ); 1630 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1631 #[doc = "The `getBufferSubData()` method."] 1632 #[doc = ""] 1633 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1634 #[doc = ""] 1635 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_f64_and_u8_array( this: &WebGl2RenderingContext, target: u32, src_byte_offset: f64, dst_data: &mut [u8], )1636 pub fn get_buffer_sub_data_with_f64_and_u8_array( 1637 this: &WebGl2RenderingContext, 1638 target: u32, 1639 src_byte_offset: f64, 1640 dst_data: &mut [u8], 1641 ); 1642 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1643 #[doc = "The `getBufferSubData()` method."] 1644 #[doc = ""] 1645 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1646 #[doc = ""] 1647 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset( this: &WebGl2RenderingContext, target: u32, src_byte_offset: i32, dst_data: &::js_sys::Object, dst_offset: u32, )1648 pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset( 1649 this: &WebGl2RenderingContext, 1650 target: u32, 1651 src_byte_offset: i32, 1652 dst_data: &::js_sys::Object, 1653 dst_offset: u32, 1654 ); 1655 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1656 #[doc = "The `getBufferSubData()` method."] 1657 #[doc = ""] 1658 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1659 #[doc = ""] 1660 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset( this: &WebGl2RenderingContext, target: u32, src_byte_offset: f64, dst_data: &::js_sys::Object, dst_offset: u32, )1661 pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset( 1662 this: &WebGl2RenderingContext, 1663 target: u32, 1664 src_byte_offset: f64, 1665 dst_data: &::js_sys::Object, 1666 dst_offset: u32, 1667 ); 1668 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1669 #[doc = "The `getBufferSubData()` method."] 1670 #[doc = ""] 1671 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1672 #[doc = ""] 1673 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset( this: &WebGl2RenderingContext, target: u32, src_byte_offset: i32, dst_data: &mut [u8], dst_offset: u32, )1674 pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset( 1675 this: &WebGl2RenderingContext, 1676 target: u32, 1677 src_byte_offset: i32, 1678 dst_data: &mut [u8], 1679 dst_offset: u32, 1680 ); 1681 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1682 #[doc = "The `getBufferSubData()` method."] 1683 #[doc = ""] 1684 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1685 #[doc = ""] 1686 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset( this: &WebGl2RenderingContext, target: u32, src_byte_offset: f64, dst_data: &mut [u8], dst_offset: u32, )1687 pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset( 1688 this: &WebGl2RenderingContext, 1689 target: u32, 1690 src_byte_offset: f64, 1691 dst_data: &mut [u8], 1692 dst_offset: u32, 1693 ); 1694 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1695 #[doc = "The `getBufferSubData()` method."] 1696 #[doc = ""] 1697 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1698 #[doc = ""] 1699 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length( this: &WebGl2RenderingContext, target: u32, src_byte_offset: i32, dst_data: &::js_sys::Object, dst_offset: u32, length: u32, )1700 pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length( 1701 this: &WebGl2RenderingContext, 1702 target: u32, 1703 src_byte_offset: i32, 1704 dst_data: &::js_sys::Object, 1705 dst_offset: u32, 1706 length: u32, 1707 ); 1708 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1709 #[doc = "The `getBufferSubData()` method."] 1710 #[doc = ""] 1711 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1712 #[doc = ""] 1713 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length( this: &WebGl2RenderingContext, target: u32, src_byte_offset: f64, dst_data: &::js_sys::Object, dst_offset: u32, length: u32, )1714 pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length( 1715 this: &WebGl2RenderingContext, 1716 target: u32, 1717 src_byte_offset: f64, 1718 dst_data: &::js_sys::Object, 1719 dst_offset: u32, 1720 length: u32, 1721 ); 1722 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1723 #[doc = "The `getBufferSubData()` method."] 1724 #[doc = ""] 1725 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1726 #[doc = ""] 1727 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length( this: &WebGl2RenderingContext, target: u32, src_byte_offset: i32, dst_data: &mut [u8], dst_offset: u32, length: u32, )1728 pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length( 1729 this: &WebGl2RenderingContext, 1730 target: u32, 1731 src_byte_offset: i32, 1732 dst_data: &mut [u8], 1733 dst_offset: u32, 1734 length: u32, 1735 ); 1736 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)] 1737 #[doc = "The `getBufferSubData()` method."] 1738 #[doc = ""] 1739 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"] 1740 #[doc = ""] 1741 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length( this: &WebGl2RenderingContext, target: u32, src_byte_offset: f64, dst_data: &mut [u8], dst_offset: u32, length: u32, )1742 pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length( 1743 this: &WebGl2RenderingContext, 1744 target: u32, 1745 src_byte_offset: f64, 1746 dst_data: &mut [u8], 1747 dst_offset: u32, 1748 length: u32, 1749 ); 1750 #[cfg(feature = "WebGlProgram")] 1751 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getFragDataLocation)] 1752 #[doc = "The `getFragDataLocation()` method."] 1753 #[doc = ""] 1754 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFragDataLocation)"] 1755 #[doc = ""] 1756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] get_frag_data_location( this: &WebGl2RenderingContext, program: &WebGlProgram, name: &str, ) -> i321757 pub fn get_frag_data_location( 1758 this: &WebGl2RenderingContext, 1759 program: &WebGlProgram, 1760 name: &str, 1761 ) -> i32; 1762 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getIndexedParameter)] 1763 #[doc = "The `getIndexedParameter()` method."] 1764 #[doc = ""] 1765 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getIndexedParameter)"] 1766 #[doc = ""] 1767 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_indexed_parameter( this: &WebGl2RenderingContext, target: u32, index: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>1768 pub fn get_indexed_parameter( 1769 this: &WebGl2RenderingContext, 1770 target: u32, 1771 index: u32, 1772 ) -> Result<::wasm_bindgen::JsValue, JsValue>; 1773 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getInternalformatParameter)] 1774 #[doc = "The `getInternalformatParameter()` method."] 1775 #[doc = ""] 1776 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter)"] 1777 #[doc = ""] 1778 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_internalformat_parameter( this: &WebGl2RenderingContext, target: u32, internalformat: u32, pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>1779 pub fn get_internalformat_parameter( 1780 this: &WebGl2RenderingContext, 1781 target: u32, 1782 internalformat: u32, 1783 pname: u32, 1784 ) -> Result<::wasm_bindgen::JsValue, JsValue>; 1785 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getQuery)] 1786 #[doc = "The `getQuery()` method."] 1787 #[doc = ""] 1788 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQuery)"] 1789 #[doc = ""] 1790 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_query( this: &WebGl2RenderingContext, target: u32, pname: u32, ) -> ::wasm_bindgen::JsValue1791 pub fn get_query( 1792 this: &WebGl2RenderingContext, 1793 target: u32, 1794 pname: u32, 1795 ) -> ::wasm_bindgen::JsValue; 1796 #[cfg(feature = "WebGlQuery")] 1797 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getQueryParameter)] 1798 #[doc = "The `getQueryParameter()` method."] 1799 #[doc = ""] 1800 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQueryParameter)"] 1801 #[doc = ""] 1802 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"] get_query_parameter( this: &WebGl2RenderingContext, query: &WebGlQuery, pname: u32, ) -> ::wasm_bindgen::JsValue1803 pub fn get_query_parameter( 1804 this: &WebGl2RenderingContext, 1805 query: &WebGlQuery, 1806 pname: u32, 1807 ) -> ::wasm_bindgen::JsValue; 1808 #[cfg(feature = "WebGlSampler")] 1809 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSamplerParameter)] 1810 #[doc = "The `getSamplerParameter()` method."] 1811 #[doc = ""] 1812 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSamplerParameter)"] 1813 #[doc = ""] 1814 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"] get_sampler_parameter( this: &WebGl2RenderingContext, sampler: &WebGlSampler, pname: u32, ) -> ::wasm_bindgen::JsValue1815 pub fn get_sampler_parameter( 1816 this: &WebGl2RenderingContext, 1817 sampler: &WebGlSampler, 1818 pname: u32, 1819 ) -> ::wasm_bindgen::JsValue; 1820 #[cfg(feature = "WebGlSync")] 1821 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSyncParameter)] 1822 #[doc = "The `getSyncParameter()` method."] 1823 #[doc = ""] 1824 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSyncParameter)"] 1825 #[doc = ""] 1826 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"] get_sync_parameter( this: &WebGl2RenderingContext, sync: &WebGlSync, pname: u32, ) -> ::wasm_bindgen::JsValue1827 pub fn get_sync_parameter( 1828 this: &WebGl2RenderingContext, 1829 sync: &WebGlSync, 1830 pname: u32, 1831 ) -> ::wasm_bindgen::JsValue; 1832 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))] 1833 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getTransformFeedbackVarying)] 1834 #[doc = "The `getTransformFeedbackVarying()` method."] 1835 #[doc = ""] 1836 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying)"] 1837 #[doc = ""] 1838 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"] get_transform_feedback_varying( this: &WebGl2RenderingContext, program: &WebGlProgram, index: u32, ) -> Option<WebGlActiveInfo>1839 pub fn get_transform_feedback_varying( 1840 this: &WebGl2RenderingContext, 1841 program: &WebGlProgram, 1842 index: u32, 1843 ) -> Option<WebGlActiveInfo>; 1844 #[cfg(feature = "WebGlProgram")] 1845 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformBlockIndex)] 1846 #[doc = "The `getUniformBlockIndex()` method."] 1847 #[doc = ""] 1848 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex)"] 1849 #[doc = ""] 1850 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] get_uniform_block_index( this: &WebGl2RenderingContext, program: &WebGlProgram, uniform_block_name: &str, ) -> u321851 pub fn get_uniform_block_index( 1852 this: &WebGl2RenderingContext, 1853 program: &WebGlProgram, 1854 uniform_block_name: &str, 1855 ) -> u32; 1856 #[cfg(feature = "WebGlProgram")] 1857 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformIndices)] 1858 #[doc = "The `getUniformIndices()` method."] 1859 #[doc = ""] 1860 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformIndices)"] 1861 #[doc = ""] 1862 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] get_uniform_indices( this: &WebGl2RenderingContext, program: &WebGlProgram, uniform_names: &::wasm_bindgen::JsValue, ) -> Option<::js_sys::Array>1863 pub fn get_uniform_indices( 1864 this: &WebGl2RenderingContext, 1865 program: &WebGlProgram, 1866 uniform_names: &::wasm_bindgen::JsValue, 1867 ) -> Option<::js_sys::Array>; 1868 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = invalidateFramebuffer)] 1869 #[doc = "The `invalidateFramebuffer()` method."] 1870 #[doc = ""] 1871 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer)"] 1872 #[doc = ""] 1873 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] invalidate_framebuffer( this: &WebGl2RenderingContext, target: u32, attachments: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>1874 pub fn invalidate_framebuffer( 1875 this: &WebGl2RenderingContext, 1876 target: u32, 1877 attachments: &::wasm_bindgen::JsValue, 1878 ) -> Result<(), JsValue>; 1879 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = invalidateSubFramebuffer)] 1880 #[doc = "The `invalidateSubFramebuffer()` method."] 1881 #[doc = ""] 1882 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer)"] 1883 #[doc = ""] 1884 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] invalidate_sub_framebuffer( this: &WebGl2RenderingContext, target: u32, attachments: &::wasm_bindgen::JsValue, x: i32, y: i32, width: i32, height: i32, ) -> Result<(), JsValue>1885 pub fn invalidate_sub_framebuffer( 1886 this: &WebGl2RenderingContext, 1887 target: u32, 1888 attachments: &::wasm_bindgen::JsValue, 1889 x: i32, 1890 y: i32, 1891 width: i32, 1892 height: i32, 1893 ) -> Result<(), JsValue>; 1894 #[cfg(feature = "WebGlQuery")] 1895 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isQuery)] 1896 #[doc = "The `isQuery()` method."] 1897 #[doc = ""] 1898 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isQuery)"] 1899 #[doc = ""] 1900 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"] is_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>) -> bool1901 pub fn is_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>) -> bool; 1902 #[cfg(feature = "WebGlSampler")] 1903 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isSampler)] 1904 #[doc = "The `isSampler()` method."] 1905 #[doc = ""] 1906 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSampler)"] 1907 #[doc = ""] 1908 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"] is_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>) -> bool1909 pub fn is_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>) -> bool; 1910 #[cfg(feature = "WebGlSync")] 1911 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isSync)] 1912 #[doc = "The `isSync()` method."] 1913 #[doc = ""] 1914 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSync)"] 1915 #[doc = ""] 1916 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"] is_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>) -> bool1917 pub fn is_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>) -> bool; 1918 #[cfg(feature = "WebGlTransformFeedback")] 1919 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isTransformFeedback)] 1920 #[doc = "The `isTransformFeedback()` method."] 1921 #[doc = ""] 1922 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTransformFeedback)"] 1923 #[doc = ""] 1924 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"] is_transform_feedback( this: &WebGl2RenderingContext, tf: Option<&WebGlTransformFeedback>, ) -> bool1925 pub fn is_transform_feedback( 1926 this: &WebGl2RenderingContext, 1927 tf: Option<&WebGlTransformFeedback>, 1928 ) -> bool; 1929 #[cfg(feature = "WebGlVertexArrayObject")] 1930 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isVertexArray)] 1931 #[doc = "The `isVertexArray()` method."] 1932 #[doc = ""] 1933 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isVertexArray)"] 1934 #[doc = ""] 1935 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"] is_vertex_array( this: &WebGl2RenderingContext, vertex_array: Option<&WebGlVertexArrayObject>, ) -> bool1936 pub fn is_vertex_array( 1937 this: &WebGl2RenderingContext, 1938 vertex_array: Option<&WebGlVertexArrayObject>, 1939 ) -> bool; 1940 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = pauseTransformFeedback)] 1941 #[doc = "The `pauseTransformFeedback()` method."] 1942 #[doc = ""] 1943 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback)"] 1944 #[doc = ""] 1945 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] pause_transform_feedback(this: &WebGl2RenderingContext)1946 pub fn pause_transform_feedback(this: &WebGl2RenderingContext); 1947 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = readBuffer)] 1948 #[doc = "The `readBuffer()` method."] 1949 #[doc = ""] 1950 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readBuffer)"] 1951 #[doc = ""] 1952 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] read_buffer(this: &WebGl2RenderingContext, src: u32)1953 pub fn read_buffer(this: &WebGl2RenderingContext, src: u32); 1954 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] 1955 #[doc = "The `readPixels()` method."] 1956 #[doc = ""] 1957 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"] 1958 #[doc = ""] 1959 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] read_pixels_with_opt_array_buffer_view( this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, dst_data: Option<&::js_sys::Object>, ) -> Result<(), JsValue>1960 pub fn read_pixels_with_opt_array_buffer_view( 1961 this: &WebGl2RenderingContext, 1962 x: i32, 1963 y: i32, 1964 width: i32, 1965 height: i32, 1966 format: u32, 1967 type_: u32, 1968 dst_data: Option<&::js_sys::Object>, 1969 ) -> Result<(), JsValue>; 1970 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] 1971 #[doc = "The `readPixels()` method."] 1972 #[doc = ""] 1973 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"] 1974 #[doc = ""] 1975 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] read_pixels_with_opt_u8_array( this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, dst_data: Option<&mut [u8]>, ) -> Result<(), JsValue>1976 pub fn read_pixels_with_opt_u8_array( 1977 this: &WebGl2RenderingContext, 1978 x: i32, 1979 y: i32, 1980 width: i32, 1981 height: i32, 1982 format: u32, 1983 type_: u32, 1984 dst_data: Option<&mut [u8]>, 1985 ) -> Result<(), JsValue>; 1986 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] 1987 #[doc = "The `readPixels()` method."] 1988 #[doc = ""] 1989 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"] 1990 #[doc = ""] 1991 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] read_pixels_with_i32( this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, offset: i32, ) -> Result<(), JsValue>1992 pub fn read_pixels_with_i32( 1993 this: &WebGl2RenderingContext, 1994 x: i32, 1995 y: i32, 1996 width: i32, 1997 height: i32, 1998 format: u32, 1999 type_: u32, 2000 offset: i32, 2001 ) -> Result<(), JsValue>; 2002 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] 2003 #[doc = "The `readPixels()` method."] 2004 #[doc = ""] 2005 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"] 2006 #[doc = ""] 2007 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] read_pixels_with_f64( this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, offset: f64, ) -> Result<(), JsValue>2008 pub fn read_pixels_with_f64( 2009 this: &WebGl2RenderingContext, 2010 x: i32, 2011 y: i32, 2012 width: i32, 2013 height: i32, 2014 format: u32, 2015 type_: u32, 2016 offset: f64, 2017 ) -> Result<(), JsValue>; 2018 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] 2019 #[doc = "The `readPixels()` method."] 2020 #[doc = ""] 2021 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"] 2022 #[doc = ""] 2023 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] read_pixels_with_array_buffer_view_and_dst_offset( this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, dst_data: &::js_sys::Object, dst_offset: u32, ) -> Result<(), JsValue>2024 pub fn read_pixels_with_array_buffer_view_and_dst_offset( 2025 this: &WebGl2RenderingContext, 2026 x: i32, 2027 y: i32, 2028 width: i32, 2029 height: i32, 2030 format: u32, 2031 type_: u32, 2032 dst_data: &::js_sys::Object, 2033 dst_offset: u32, 2034 ) -> Result<(), JsValue>; 2035 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)] 2036 #[doc = "The `readPixels()` method."] 2037 #[doc = ""] 2038 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"] 2039 #[doc = ""] 2040 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] read_pixels_with_u8_array_and_dst_offset( this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, dst_data: &mut [u8], dst_offset: u32, ) -> Result<(), JsValue>2041 pub fn read_pixels_with_u8_array_and_dst_offset( 2042 this: &WebGl2RenderingContext, 2043 x: i32, 2044 y: i32, 2045 width: i32, 2046 height: i32, 2047 format: u32, 2048 type_: u32, 2049 dst_data: &mut [u8], 2050 dst_offset: u32, 2051 ) -> Result<(), JsValue>; 2052 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorageMultisample)] 2053 #[doc = "The `renderbufferStorageMultisample()` method."] 2054 #[doc = ""] 2055 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample)"] 2056 #[doc = ""] 2057 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] renderbuffer_storage_multisample( this: &WebGl2RenderingContext, target: u32, samples: i32, internalformat: u32, width: i32, height: i32, )2058 pub fn renderbuffer_storage_multisample( 2059 this: &WebGl2RenderingContext, 2060 target: u32, 2061 samples: i32, 2062 internalformat: u32, 2063 width: i32, 2064 height: i32, 2065 ); 2066 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = resumeTransformFeedback)] 2067 #[doc = "The `resumeTransformFeedback()` method."] 2068 #[doc = ""] 2069 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback)"] 2070 #[doc = ""] 2071 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] resume_transform_feedback(this: &WebGl2RenderingContext)2072 pub fn resume_transform_feedback(this: &WebGl2RenderingContext); 2073 #[cfg(feature = "WebGlSampler")] 2074 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = samplerParameterf)] 2075 #[doc = "The `samplerParameterf()` method."] 2076 #[doc = ""] 2077 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameterf)"] 2078 #[doc = ""] 2079 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"] sampler_parameterf( this: &WebGl2RenderingContext, sampler: &WebGlSampler, pname: u32, param: f32, )2080 pub fn sampler_parameterf( 2081 this: &WebGl2RenderingContext, 2082 sampler: &WebGlSampler, 2083 pname: u32, 2084 param: f32, 2085 ); 2086 #[cfg(feature = "WebGlSampler")] 2087 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = samplerParameteri)] 2088 #[doc = "The `samplerParameteri()` method."] 2089 #[doc = ""] 2090 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameteri)"] 2091 #[doc = ""] 2092 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"] sampler_parameteri( this: &WebGl2RenderingContext, sampler: &WebGlSampler, pname: u32, param: i32, )2093 pub fn sampler_parameteri( 2094 this: &WebGl2RenderingContext, 2095 sampler: &WebGlSampler, 2096 pname: u32, 2097 param: i32, 2098 ); 2099 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2100 #[doc = "The `texImage2D()` method."] 2101 #[doc = ""] 2102 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2103 #[doc = ""] 2104 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pixels: Option<&::js_sys::Object>, ) -> Result<(), JsValue>2105 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view( 2106 this: &WebGl2RenderingContext, 2107 target: u32, 2108 level: i32, 2109 internalformat: i32, 2110 width: i32, 2111 height: i32, 2112 border: i32, 2113 format: u32, 2114 type_: u32, 2115 pixels: Option<&::js_sys::Object>, 2116 ) -> Result<(), JsValue>; 2117 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2118 #[doc = "The `texImage2D()` method."] 2119 #[doc = ""] 2120 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2121 #[doc = ""] 2122 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pixels: Option<&[u8]>, ) -> Result<(), JsValue>2123 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array( 2124 this: &WebGl2RenderingContext, 2125 target: u32, 2126 level: i32, 2127 internalformat: i32, 2128 width: i32, 2129 height: i32, 2130 border: i32, 2131 format: u32, 2132 type_: u32, 2133 pixels: Option<&[u8]>, 2134 ) -> Result<(), JsValue>; 2135 #[cfg(feature = "HtmlCanvasElement")] 2136 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2137 #[doc = "The `texImage2D()` method."] 2138 #[doc = ""] 2139 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2140 #[doc = ""] 2141 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"] tex_image_2d_with_u32_and_u32_and_html_canvas_element( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>2142 pub fn tex_image_2d_with_u32_and_u32_and_html_canvas_element( 2143 this: &WebGl2RenderingContext, 2144 target: u32, 2145 level: i32, 2146 internalformat: i32, 2147 format: u32, 2148 type_: u32, 2149 source: &HtmlCanvasElement, 2150 ) -> Result<(), JsValue>; 2151 #[cfg(feature = "HtmlImageElement")] 2152 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2153 #[doc = "The `texImage2D()` method."] 2154 #[doc = ""] 2155 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2156 #[doc = ""] 2157 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"] tex_image_2d_with_u32_and_u32_and_html_image_element( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, format: u32, type_: u32, source: &HtmlImageElement, ) -> Result<(), JsValue>2158 pub fn tex_image_2d_with_u32_and_u32_and_html_image_element( 2159 this: &WebGl2RenderingContext, 2160 target: u32, 2161 level: i32, 2162 internalformat: i32, 2163 format: u32, 2164 type_: u32, 2165 source: &HtmlImageElement, 2166 ) -> Result<(), JsValue>; 2167 #[cfg(feature = "HtmlVideoElement")] 2168 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2169 #[doc = "The `texImage2D()` method."] 2170 #[doc = ""] 2171 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2172 #[doc = ""] 2173 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"] tex_image_2d_with_u32_and_u32_and_html_video_element( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, format: u32, type_: u32, source: &HtmlVideoElement, ) -> Result<(), JsValue>2174 pub fn tex_image_2d_with_u32_and_u32_and_html_video_element( 2175 this: &WebGl2RenderingContext, 2176 target: u32, 2177 level: i32, 2178 internalformat: i32, 2179 format: u32, 2180 type_: u32, 2181 source: &HtmlVideoElement, 2182 ) -> Result<(), JsValue>; 2183 #[cfg(feature = "ImageBitmap")] 2184 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2185 #[doc = "The `texImage2D()` method."] 2186 #[doc = ""] 2187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2188 #[doc = ""] 2189 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"] tex_image_2d_with_u32_and_u32_and_image_bitmap( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, format: u32, type_: u32, source: &ImageBitmap, ) -> Result<(), JsValue>2190 pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap( 2191 this: &WebGl2RenderingContext, 2192 target: u32, 2193 level: i32, 2194 internalformat: i32, 2195 format: u32, 2196 type_: u32, 2197 source: &ImageBitmap, 2198 ) -> Result<(), JsValue>; 2199 #[cfg(feature = "ImageData")] 2200 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2201 #[doc = "The `texImage2D()` method."] 2202 #[doc = ""] 2203 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2204 #[doc = ""] 2205 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"] tex_image_2d_with_u32_and_u32_and_image_data( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, format: u32, type_: u32, source: &ImageData, ) -> Result<(), JsValue>2206 pub fn tex_image_2d_with_u32_and_u32_and_image_data( 2207 this: &WebGl2RenderingContext, 2208 target: u32, 2209 level: i32, 2210 internalformat: i32, 2211 format: u32, 2212 type_: u32, 2213 source: &ImageData, 2214 ) -> Result<(), JsValue>; 2215 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2216 #[doc = "The `texImage2D()` method."] 2217 #[doc = ""] 2218 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2219 #[doc = ""] 2220 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>2221 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32( 2222 this: &WebGl2RenderingContext, 2223 target: u32, 2224 level: i32, 2225 internalformat: i32, 2226 width: i32, 2227 height: i32, 2228 border: i32, 2229 format: u32, 2230 type_: u32, 2231 pbo_offset: i32, 2232 ) -> Result<(), JsValue>; 2233 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2234 #[doc = "The `texImage2D()` method."] 2235 #[doc = ""] 2236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2237 #[doc = ""] 2238 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pbo_offset: f64, ) -> Result<(), JsValue>2239 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64( 2240 this: &WebGl2RenderingContext, 2241 target: u32, 2242 level: i32, 2243 internalformat: i32, 2244 width: i32, 2245 height: i32, 2246 border: i32, 2247 format: u32, 2248 type_: u32, 2249 pbo_offset: f64, 2250 ) -> Result<(), JsValue>; 2251 #[cfg(feature = "HtmlCanvasElement")] 2252 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2253 #[doc = "The `texImage2D()` method."] 2254 #[doc = ""] 2255 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2256 #[doc = ""] 2257 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>2258 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element( 2259 this: &WebGl2RenderingContext, 2260 target: u32, 2261 level: i32, 2262 internalformat: i32, 2263 width: i32, 2264 height: i32, 2265 border: i32, 2266 format: u32, 2267 type_: u32, 2268 source: &HtmlCanvasElement, 2269 ) -> Result<(), JsValue>; 2270 #[cfg(feature = "HtmlImageElement")] 2271 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2272 #[doc = "The `texImage2D()` method."] 2273 #[doc = ""] 2274 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2275 #[doc = ""] 2276 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, source: &HtmlImageElement, ) -> Result<(), JsValue>2277 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element( 2278 this: &WebGl2RenderingContext, 2279 target: u32, 2280 level: i32, 2281 internalformat: i32, 2282 width: i32, 2283 height: i32, 2284 border: i32, 2285 format: u32, 2286 type_: u32, 2287 source: &HtmlImageElement, 2288 ) -> Result<(), JsValue>; 2289 #[cfg(feature = "HtmlVideoElement")] 2290 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2291 #[doc = "The `texImage2D()` method."] 2292 #[doc = ""] 2293 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2294 #[doc = ""] 2295 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, source: &HtmlVideoElement, ) -> Result<(), JsValue>2296 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element( 2297 this: &WebGl2RenderingContext, 2298 target: u32, 2299 level: i32, 2300 internalformat: i32, 2301 width: i32, 2302 height: i32, 2303 border: i32, 2304 format: u32, 2305 type_: u32, 2306 source: &HtmlVideoElement, 2307 ) -> Result<(), JsValue>; 2308 #[cfg(feature = "ImageBitmap")] 2309 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2310 #[doc = "The `texImage2D()` method."] 2311 #[doc = ""] 2312 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2313 #[doc = ""] 2314 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, source: &ImageBitmap, ) -> Result<(), JsValue>2315 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap( 2316 this: &WebGl2RenderingContext, 2317 target: u32, 2318 level: i32, 2319 internalformat: i32, 2320 width: i32, 2321 height: i32, 2322 border: i32, 2323 format: u32, 2324 type_: u32, 2325 source: &ImageBitmap, 2326 ) -> Result<(), JsValue>; 2327 #[cfg(feature = "ImageData")] 2328 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2329 #[doc = "The `texImage2D()` method."] 2330 #[doc = ""] 2331 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2332 #[doc = ""] 2333 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, source: &ImageData, ) -> Result<(), JsValue>2334 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data( 2335 this: &WebGl2RenderingContext, 2336 target: u32, 2337 level: i32, 2338 internalformat: i32, 2339 width: i32, 2340 height: i32, 2341 border: i32, 2342 format: u32, 2343 type_: u32, 2344 source: &ImageData, 2345 ) -> Result<(), JsValue>; 2346 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2347 #[doc = "The `texImage2D()` method."] 2348 #[doc = ""] 2349 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2350 #[doc = ""] 2351 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, src_data: &::js_sys::Object, src_offset: u32, ) -> Result<(), JsValue>2352 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset( 2353 this: &WebGl2RenderingContext, 2354 target: u32, 2355 level: i32, 2356 internalformat: i32, 2357 width: i32, 2358 height: i32, 2359 border: i32, 2360 format: u32, 2361 type_: u32, 2362 src_data: &::js_sys::Object, 2363 src_offset: u32, 2364 ) -> Result<(), JsValue>; 2365 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)] 2366 #[doc = "The `texImage2D()` method."] 2367 #[doc = ""] 2368 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"] 2369 #[doc = ""] 2370 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, src_data: &[u8], src_offset: u32, ) -> Result<(), JsValue>2371 pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset( 2372 this: &WebGl2RenderingContext, 2373 target: u32, 2374 level: i32, 2375 internalformat: i32, 2376 width: i32, 2377 height: i32, 2378 border: i32, 2379 format: u32, 2380 type_: u32, 2381 src_data: &[u8], 2382 src_offset: u32, 2383 ) -> Result<(), JsValue>; 2384 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2385 #[doc = "The `texImage3D()` method."] 2386 #[doc = ""] 2387 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2388 #[doc = ""] 2389 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_3d_with_i32( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>2390 pub fn tex_image_3d_with_i32( 2391 this: &WebGl2RenderingContext, 2392 target: u32, 2393 level: i32, 2394 internalformat: i32, 2395 width: i32, 2396 height: i32, 2397 depth: i32, 2398 border: i32, 2399 format: u32, 2400 type_: u32, 2401 pbo_offset: i32, 2402 ) -> Result<(), JsValue>; 2403 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2404 #[doc = "The `texImage3D()` method."] 2405 #[doc = ""] 2406 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2407 #[doc = ""] 2408 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_3d_with_f64( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, pbo_offset: f64, ) -> Result<(), JsValue>2409 pub fn tex_image_3d_with_f64( 2410 this: &WebGl2RenderingContext, 2411 target: u32, 2412 level: i32, 2413 internalformat: i32, 2414 width: i32, 2415 height: i32, 2416 depth: i32, 2417 border: i32, 2418 format: u32, 2419 type_: u32, 2420 pbo_offset: f64, 2421 ) -> Result<(), JsValue>; 2422 #[cfg(feature = "HtmlCanvasElement")] 2423 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2424 #[doc = "The `texImage3D()` method."] 2425 #[doc = ""] 2426 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2427 #[doc = ""] 2428 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"] tex_image_3d_with_html_canvas_element( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>2429 pub fn tex_image_3d_with_html_canvas_element( 2430 this: &WebGl2RenderingContext, 2431 target: u32, 2432 level: i32, 2433 internalformat: i32, 2434 width: i32, 2435 height: i32, 2436 depth: i32, 2437 border: i32, 2438 format: u32, 2439 type_: u32, 2440 source: &HtmlCanvasElement, 2441 ) -> Result<(), JsValue>; 2442 #[cfg(feature = "HtmlImageElement")] 2443 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2444 #[doc = "The `texImage3D()` method."] 2445 #[doc = ""] 2446 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2447 #[doc = ""] 2448 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"] tex_image_3d_with_html_image_element( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, source: &HtmlImageElement, ) -> Result<(), JsValue>2449 pub fn tex_image_3d_with_html_image_element( 2450 this: &WebGl2RenderingContext, 2451 target: u32, 2452 level: i32, 2453 internalformat: i32, 2454 width: i32, 2455 height: i32, 2456 depth: i32, 2457 border: i32, 2458 format: u32, 2459 type_: u32, 2460 source: &HtmlImageElement, 2461 ) -> Result<(), JsValue>; 2462 #[cfg(feature = "HtmlVideoElement")] 2463 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2464 #[doc = "The `texImage3D()` method."] 2465 #[doc = ""] 2466 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2467 #[doc = ""] 2468 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"] tex_image_3d_with_html_video_element( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, source: &HtmlVideoElement, ) -> Result<(), JsValue>2469 pub fn tex_image_3d_with_html_video_element( 2470 this: &WebGl2RenderingContext, 2471 target: u32, 2472 level: i32, 2473 internalformat: i32, 2474 width: i32, 2475 height: i32, 2476 depth: i32, 2477 border: i32, 2478 format: u32, 2479 type_: u32, 2480 source: &HtmlVideoElement, 2481 ) -> Result<(), JsValue>; 2482 #[cfg(feature = "ImageBitmap")] 2483 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2484 #[doc = "The `texImage3D()` method."] 2485 #[doc = ""] 2486 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2487 #[doc = ""] 2488 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"] tex_image_3d_with_image_bitmap( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, source: &ImageBitmap, ) -> Result<(), JsValue>2489 pub fn tex_image_3d_with_image_bitmap( 2490 this: &WebGl2RenderingContext, 2491 target: u32, 2492 level: i32, 2493 internalformat: i32, 2494 width: i32, 2495 height: i32, 2496 depth: i32, 2497 border: i32, 2498 format: u32, 2499 type_: u32, 2500 source: &ImageBitmap, 2501 ) -> Result<(), JsValue>; 2502 #[cfg(feature = "ImageData")] 2503 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2504 #[doc = "The `texImage3D()` method."] 2505 #[doc = ""] 2506 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2507 #[doc = ""] 2508 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"] tex_image_3d_with_image_data( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, source: &ImageData, ) -> Result<(), JsValue>2509 pub fn tex_image_3d_with_image_data( 2510 this: &WebGl2RenderingContext, 2511 target: u32, 2512 level: i32, 2513 internalformat: i32, 2514 width: i32, 2515 height: i32, 2516 depth: i32, 2517 border: i32, 2518 format: u32, 2519 type_: u32, 2520 source: &ImageData, 2521 ) -> Result<(), JsValue>; 2522 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2523 #[doc = "The `texImage3D()` method."] 2524 #[doc = ""] 2525 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2526 #[doc = ""] 2527 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_3d_with_opt_array_buffer_view( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, src_data: Option<&::js_sys::Object>, ) -> Result<(), JsValue>2528 pub fn tex_image_3d_with_opt_array_buffer_view( 2529 this: &WebGl2RenderingContext, 2530 target: u32, 2531 level: i32, 2532 internalformat: i32, 2533 width: i32, 2534 height: i32, 2535 depth: i32, 2536 border: i32, 2537 format: u32, 2538 type_: u32, 2539 src_data: Option<&::js_sys::Object>, 2540 ) -> Result<(), JsValue>; 2541 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2542 #[doc = "The `texImage3D()` method."] 2543 #[doc = ""] 2544 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2545 #[doc = ""] 2546 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_3d_with_opt_u8_array( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, src_data: Option<&[u8]>, ) -> Result<(), JsValue>2547 pub fn tex_image_3d_with_opt_u8_array( 2548 this: &WebGl2RenderingContext, 2549 target: u32, 2550 level: i32, 2551 internalformat: i32, 2552 width: i32, 2553 height: i32, 2554 depth: i32, 2555 border: i32, 2556 format: u32, 2557 type_: u32, 2558 src_data: Option<&[u8]>, 2559 ) -> Result<(), JsValue>; 2560 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2561 #[doc = "The `texImage3D()` method."] 2562 #[doc = ""] 2563 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2564 #[doc = ""] 2565 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_3d_with_array_buffer_view_and_src_offset( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, src_data: &::js_sys::Object, src_offset: u32, ) -> Result<(), JsValue>2566 pub fn tex_image_3d_with_array_buffer_view_and_src_offset( 2567 this: &WebGl2RenderingContext, 2568 target: u32, 2569 level: i32, 2570 internalformat: i32, 2571 width: i32, 2572 height: i32, 2573 depth: i32, 2574 border: i32, 2575 format: u32, 2576 type_: u32, 2577 src_data: &::js_sys::Object, 2578 src_offset: u32, 2579 ) -> Result<(), JsValue>; 2580 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)] 2581 #[doc = "The `texImage3D()` method."] 2582 #[doc = ""] 2583 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"] 2584 #[doc = ""] 2585 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_image_3d_with_u8_array_and_src_offset( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, src_data: &[u8], src_offset: u32, ) -> Result<(), JsValue>2586 pub fn tex_image_3d_with_u8_array_and_src_offset( 2587 this: &WebGl2RenderingContext, 2588 target: u32, 2589 level: i32, 2590 internalformat: i32, 2591 width: i32, 2592 height: i32, 2593 depth: i32, 2594 border: i32, 2595 format: u32, 2596 type_: u32, 2597 src_data: &[u8], 2598 src_offset: u32, 2599 ) -> Result<(), JsValue>; 2600 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage2D)] 2601 #[doc = "The `texStorage2D()` method."] 2602 #[doc = ""] 2603 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D)"] 2604 #[doc = ""] 2605 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_storage_2d( this: &WebGl2RenderingContext, target: u32, levels: i32, internalformat: u32, width: i32, height: i32, )2606 pub fn tex_storage_2d( 2607 this: &WebGl2RenderingContext, 2608 target: u32, 2609 levels: i32, 2610 internalformat: u32, 2611 width: i32, 2612 height: i32, 2613 ); 2614 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage3D)] 2615 #[doc = "The `texStorage3D()` method."] 2616 #[doc = ""] 2617 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D)"] 2618 #[doc = ""] 2619 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_storage_3d( this: &WebGl2RenderingContext, target: u32, levels: i32, internalformat: u32, width: i32, height: i32, depth: i32, )2620 pub fn tex_storage_3d( 2621 this: &WebGl2RenderingContext, 2622 target: u32, 2623 levels: i32, 2624 internalformat: u32, 2625 width: i32, 2626 height: i32, 2627 depth: i32, 2628 ); 2629 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2630 #[doc = "The `texSubImage2D()` method."] 2631 #[doc = ""] 2632 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2633 #[doc = ""] 2634 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pixels: Option<&::js_sys::Object>, ) -> Result<(), JsValue>2635 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view( 2636 this: &WebGl2RenderingContext, 2637 target: u32, 2638 level: i32, 2639 xoffset: i32, 2640 yoffset: i32, 2641 width: i32, 2642 height: i32, 2643 format: u32, 2644 type_: u32, 2645 pixels: Option<&::js_sys::Object>, 2646 ) -> Result<(), JsValue>; 2647 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2648 #[doc = "The `texSubImage2D()` method."] 2649 #[doc = ""] 2650 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2651 #[doc = ""] 2652 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pixels: Option<&[u8]>, ) -> Result<(), JsValue>2653 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array( 2654 this: &WebGl2RenderingContext, 2655 target: u32, 2656 level: i32, 2657 xoffset: i32, 2658 yoffset: i32, 2659 width: i32, 2660 height: i32, 2661 format: u32, 2662 type_: u32, 2663 pixels: Option<&[u8]>, 2664 ) -> Result<(), JsValue>; 2665 #[cfg(feature = "HtmlCanvasElement")] 2666 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2667 #[doc = "The `texSubImage2D()` method."] 2668 #[doc = ""] 2669 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2670 #[doc = ""] 2671 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"] tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>2672 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element( 2673 this: &WebGl2RenderingContext, 2674 target: u32, 2675 level: i32, 2676 xoffset: i32, 2677 yoffset: i32, 2678 format: u32, 2679 type_: u32, 2680 source: &HtmlCanvasElement, 2681 ) -> Result<(), JsValue>; 2682 #[cfg(feature = "HtmlImageElement")] 2683 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2684 #[doc = "The `texSubImage2D()` method."] 2685 #[doc = ""] 2686 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2687 #[doc = ""] 2688 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"] tex_sub_image_2d_with_u32_and_u32_and_html_image_element( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, format: u32, type_: u32, source: &HtmlImageElement, ) -> Result<(), JsValue>2689 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_image_element( 2690 this: &WebGl2RenderingContext, 2691 target: u32, 2692 level: i32, 2693 xoffset: i32, 2694 yoffset: i32, 2695 format: u32, 2696 type_: u32, 2697 source: &HtmlImageElement, 2698 ) -> Result<(), JsValue>; 2699 #[cfg(feature = "HtmlVideoElement")] 2700 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2701 #[doc = "The `texSubImage2D()` method."] 2702 #[doc = ""] 2703 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2704 #[doc = ""] 2705 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"] tex_sub_image_2d_with_u32_and_u32_and_html_video_element( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, format: u32, type_: u32, source: &HtmlVideoElement, ) -> Result<(), JsValue>2706 pub fn tex_sub_image_2d_with_u32_and_u32_and_html_video_element( 2707 this: &WebGl2RenderingContext, 2708 target: u32, 2709 level: i32, 2710 xoffset: i32, 2711 yoffset: i32, 2712 format: u32, 2713 type_: u32, 2714 source: &HtmlVideoElement, 2715 ) -> Result<(), JsValue>; 2716 #[cfg(feature = "ImageBitmap")] 2717 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2718 #[doc = "The `texSubImage2D()` method."] 2719 #[doc = ""] 2720 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2721 #[doc = ""] 2722 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"] tex_sub_image_2d_with_u32_and_u32_and_image_bitmap( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, format: u32, type_: u32, source: &ImageBitmap, ) -> Result<(), JsValue>2723 pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap( 2724 this: &WebGl2RenderingContext, 2725 target: u32, 2726 level: i32, 2727 xoffset: i32, 2728 yoffset: i32, 2729 format: u32, 2730 type_: u32, 2731 source: &ImageBitmap, 2732 ) -> Result<(), JsValue>; 2733 #[cfg(feature = "ImageData")] 2734 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2735 #[doc = "The `texSubImage2D()` method."] 2736 #[doc = ""] 2737 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2738 #[doc = ""] 2739 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"] tex_sub_image_2d_with_u32_and_u32_and_image_data( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, format: u32, type_: u32, source: &ImageData, ) -> Result<(), JsValue>2740 pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data( 2741 this: &WebGl2RenderingContext, 2742 target: u32, 2743 level: i32, 2744 xoffset: i32, 2745 yoffset: i32, 2746 format: u32, 2747 type_: u32, 2748 source: &ImageData, 2749 ) -> Result<(), JsValue>; 2750 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2751 #[doc = "The `texSubImage2D()` method."] 2752 #[doc = ""] 2753 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2754 #[doc = ""] 2755 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>2756 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32( 2757 this: &WebGl2RenderingContext, 2758 target: u32, 2759 level: i32, 2760 xoffset: i32, 2761 yoffset: i32, 2762 width: i32, 2763 height: i32, 2764 format: u32, 2765 type_: u32, 2766 pbo_offset: i32, 2767 ) -> Result<(), JsValue>; 2768 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2769 #[doc = "The `texSubImage2D()` method."] 2770 #[doc = ""] 2771 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2772 #[doc = ""] 2773 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pbo_offset: f64, ) -> Result<(), JsValue>2774 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64( 2775 this: &WebGl2RenderingContext, 2776 target: u32, 2777 level: i32, 2778 xoffset: i32, 2779 yoffset: i32, 2780 width: i32, 2781 height: i32, 2782 format: u32, 2783 type_: u32, 2784 pbo_offset: f64, 2785 ) -> Result<(), JsValue>; 2786 #[cfg(feature = "HtmlCanvasElement")] 2787 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2788 #[doc = "The `texSubImage2D()` method."] 2789 #[doc = ""] 2790 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2791 #[doc = ""] 2792 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>2793 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element( 2794 this: &WebGl2RenderingContext, 2795 target: u32, 2796 level: i32, 2797 xoffset: i32, 2798 yoffset: i32, 2799 width: i32, 2800 height: i32, 2801 format: u32, 2802 type_: u32, 2803 source: &HtmlCanvasElement, 2804 ) -> Result<(), JsValue>; 2805 #[cfg(feature = "HtmlImageElement")] 2806 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2807 #[doc = "The `texSubImage2D()` method."] 2808 #[doc = ""] 2809 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2810 #[doc = ""] 2811 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, source: &HtmlImageElement, ) -> Result<(), JsValue>2812 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element( 2813 this: &WebGl2RenderingContext, 2814 target: u32, 2815 level: i32, 2816 xoffset: i32, 2817 yoffset: i32, 2818 width: i32, 2819 height: i32, 2820 format: u32, 2821 type_: u32, 2822 source: &HtmlImageElement, 2823 ) -> Result<(), JsValue>; 2824 #[cfg(feature = "HtmlVideoElement")] 2825 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2826 #[doc = "The `texSubImage2D()` method."] 2827 #[doc = ""] 2828 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2829 #[doc = ""] 2830 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, source: &HtmlVideoElement, ) -> Result<(), JsValue>2831 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element( 2832 this: &WebGl2RenderingContext, 2833 target: u32, 2834 level: i32, 2835 xoffset: i32, 2836 yoffset: i32, 2837 width: i32, 2838 height: i32, 2839 format: u32, 2840 type_: u32, 2841 source: &HtmlVideoElement, 2842 ) -> Result<(), JsValue>; 2843 #[cfg(feature = "ImageBitmap")] 2844 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2845 #[doc = "The `texSubImage2D()` method."] 2846 #[doc = ""] 2847 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2848 #[doc = ""] 2849 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, source: &ImageBitmap, ) -> Result<(), JsValue>2850 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap( 2851 this: &WebGl2RenderingContext, 2852 target: u32, 2853 level: i32, 2854 xoffset: i32, 2855 yoffset: i32, 2856 width: i32, 2857 height: i32, 2858 format: u32, 2859 type_: u32, 2860 source: &ImageBitmap, 2861 ) -> Result<(), JsValue>; 2862 #[cfg(feature = "ImageData")] 2863 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2864 #[doc = "The `texSubImage2D()` method."] 2865 #[doc = ""] 2866 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2867 #[doc = ""] 2868 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, source: &ImageData, ) -> Result<(), JsValue>2869 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data( 2870 this: &WebGl2RenderingContext, 2871 target: u32, 2872 level: i32, 2873 xoffset: i32, 2874 yoffset: i32, 2875 width: i32, 2876 height: i32, 2877 format: u32, 2878 type_: u32, 2879 source: &ImageData, 2880 ) -> Result<(), JsValue>; 2881 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2882 #[doc = "The `texSubImage2D()` method."] 2883 #[doc = ""] 2884 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2885 #[doc = ""] 2886 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, src_data: &::js_sys::Object, src_offset: u32, ) -> Result<(), JsValue>2887 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset( 2888 this: &WebGl2RenderingContext, 2889 target: u32, 2890 level: i32, 2891 xoffset: i32, 2892 yoffset: i32, 2893 width: i32, 2894 height: i32, 2895 format: u32, 2896 type_: u32, 2897 src_data: &::js_sys::Object, 2898 src_offset: u32, 2899 ) -> Result<(), JsValue>; 2900 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)] 2901 #[doc = "The `texSubImage2D()` method."] 2902 #[doc = ""] 2903 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"] 2904 #[doc = ""] 2905 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, src_data: &[u8], src_offset: u32, ) -> Result<(), JsValue>2906 pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset( 2907 this: &WebGl2RenderingContext, 2908 target: u32, 2909 level: i32, 2910 xoffset: i32, 2911 yoffset: i32, 2912 width: i32, 2913 height: i32, 2914 format: u32, 2915 type_: u32, 2916 src_data: &[u8], 2917 src_offset: u32, 2918 ) -> Result<(), JsValue>; 2919 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 2920 #[doc = "The `texSubImage3D()` method."] 2921 #[doc = ""] 2922 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 2923 #[doc = ""] 2924 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_3d_with_i32( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>2925 pub fn tex_sub_image_3d_with_i32( 2926 this: &WebGl2RenderingContext, 2927 target: u32, 2928 level: i32, 2929 xoffset: i32, 2930 yoffset: i32, 2931 zoffset: i32, 2932 width: i32, 2933 height: i32, 2934 depth: i32, 2935 format: u32, 2936 type_: u32, 2937 pbo_offset: i32, 2938 ) -> Result<(), JsValue>; 2939 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 2940 #[doc = "The `texSubImage3D()` method."] 2941 #[doc = ""] 2942 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 2943 #[doc = ""] 2944 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_3d_with_f64( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, pbo_offset: f64, ) -> Result<(), JsValue>2945 pub fn tex_sub_image_3d_with_f64( 2946 this: &WebGl2RenderingContext, 2947 target: u32, 2948 level: i32, 2949 xoffset: i32, 2950 yoffset: i32, 2951 zoffset: i32, 2952 width: i32, 2953 height: i32, 2954 depth: i32, 2955 format: u32, 2956 type_: u32, 2957 pbo_offset: f64, 2958 ) -> Result<(), JsValue>; 2959 #[cfg(feature = "HtmlCanvasElement")] 2960 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 2961 #[doc = "The `texSubImage3D()` method."] 2962 #[doc = ""] 2963 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 2964 #[doc = ""] 2965 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"] tex_sub_image_3d_with_html_canvas_element( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>2966 pub fn tex_sub_image_3d_with_html_canvas_element( 2967 this: &WebGl2RenderingContext, 2968 target: u32, 2969 level: i32, 2970 xoffset: i32, 2971 yoffset: i32, 2972 zoffset: i32, 2973 width: i32, 2974 height: i32, 2975 depth: i32, 2976 format: u32, 2977 type_: u32, 2978 source: &HtmlCanvasElement, 2979 ) -> Result<(), JsValue>; 2980 #[cfg(feature = "HtmlImageElement")] 2981 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 2982 #[doc = "The `texSubImage3D()` method."] 2983 #[doc = ""] 2984 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 2985 #[doc = ""] 2986 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"] tex_sub_image_3d_with_html_image_element( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, source: &HtmlImageElement, ) -> Result<(), JsValue>2987 pub fn tex_sub_image_3d_with_html_image_element( 2988 this: &WebGl2RenderingContext, 2989 target: u32, 2990 level: i32, 2991 xoffset: i32, 2992 yoffset: i32, 2993 zoffset: i32, 2994 width: i32, 2995 height: i32, 2996 depth: i32, 2997 format: u32, 2998 type_: u32, 2999 source: &HtmlImageElement, 3000 ) -> Result<(), JsValue>; 3001 #[cfg(feature = "HtmlVideoElement")] 3002 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 3003 #[doc = "The `texSubImage3D()` method."] 3004 #[doc = ""] 3005 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 3006 #[doc = ""] 3007 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"] tex_sub_image_3d_with_html_video_element( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, source: &HtmlVideoElement, ) -> Result<(), JsValue>3008 pub fn tex_sub_image_3d_with_html_video_element( 3009 this: &WebGl2RenderingContext, 3010 target: u32, 3011 level: i32, 3012 xoffset: i32, 3013 yoffset: i32, 3014 zoffset: i32, 3015 width: i32, 3016 height: i32, 3017 depth: i32, 3018 format: u32, 3019 type_: u32, 3020 source: &HtmlVideoElement, 3021 ) -> Result<(), JsValue>; 3022 #[cfg(feature = "ImageBitmap")] 3023 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 3024 #[doc = "The `texSubImage3D()` method."] 3025 #[doc = ""] 3026 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 3027 #[doc = ""] 3028 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"] tex_sub_image_3d_with_image_bitmap( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, source: &ImageBitmap, ) -> Result<(), JsValue>3029 pub fn tex_sub_image_3d_with_image_bitmap( 3030 this: &WebGl2RenderingContext, 3031 target: u32, 3032 level: i32, 3033 xoffset: i32, 3034 yoffset: i32, 3035 zoffset: i32, 3036 width: i32, 3037 height: i32, 3038 depth: i32, 3039 format: u32, 3040 type_: u32, 3041 source: &ImageBitmap, 3042 ) -> Result<(), JsValue>; 3043 #[cfg(feature = "ImageData")] 3044 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 3045 #[doc = "The `texSubImage3D()` method."] 3046 #[doc = ""] 3047 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 3048 #[doc = ""] 3049 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"] tex_sub_image_3d_with_image_data( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, source: &ImageData, ) -> Result<(), JsValue>3050 pub fn tex_sub_image_3d_with_image_data( 3051 this: &WebGl2RenderingContext, 3052 target: u32, 3053 level: i32, 3054 xoffset: i32, 3055 yoffset: i32, 3056 zoffset: i32, 3057 width: i32, 3058 height: i32, 3059 depth: i32, 3060 format: u32, 3061 type_: u32, 3062 source: &ImageData, 3063 ) -> Result<(), JsValue>; 3064 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 3065 #[doc = "The `texSubImage3D()` method."] 3066 #[doc = ""] 3067 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 3068 #[doc = ""] 3069 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_3d_with_opt_array_buffer_view( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, src_data: Option<&::js_sys::Object>, ) -> Result<(), JsValue>3070 pub fn tex_sub_image_3d_with_opt_array_buffer_view( 3071 this: &WebGl2RenderingContext, 3072 target: u32, 3073 level: i32, 3074 xoffset: i32, 3075 yoffset: i32, 3076 zoffset: i32, 3077 width: i32, 3078 height: i32, 3079 depth: i32, 3080 format: u32, 3081 type_: u32, 3082 src_data: Option<&::js_sys::Object>, 3083 ) -> Result<(), JsValue>; 3084 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 3085 #[doc = "The `texSubImage3D()` method."] 3086 #[doc = ""] 3087 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 3088 #[doc = ""] 3089 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_3d_with_opt_u8_array( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, src_data: Option<&[u8]>, ) -> Result<(), JsValue>3090 pub fn tex_sub_image_3d_with_opt_u8_array( 3091 this: &WebGl2RenderingContext, 3092 target: u32, 3093 level: i32, 3094 xoffset: i32, 3095 yoffset: i32, 3096 zoffset: i32, 3097 width: i32, 3098 height: i32, 3099 depth: i32, 3100 format: u32, 3101 type_: u32, 3102 src_data: Option<&[u8]>, 3103 ) -> Result<(), JsValue>; 3104 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 3105 #[doc = "The `texSubImage3D()` method."] 3106 #[doc = ""] 3107 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 3108 #[doc = ""] 3109 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, src_data: Option<&::js_sys::Object>, src_offset: u32, ) -> Result<(), JsValue>3110 pub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset( 3111 this: &WebGl2RenderingContext, 3112 target: u32, 3113 level: i32, 3114 xoffset: i32, 3115 yoffset: i32, 3116 zoffset: i32, 3117 width: i32, 3118 height: i32, 3119 depth: i32, 3120 format: u32, 3121 type_: u32, 3122 src_data: Option<&::js_sys::Object>, 3123 src_offset: u32, 3124 ) -> Result<(), JsValue>; 3125 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)] 3126 #[doc = "The `texSubImage3D()` method."] 3127 #[doc = ""] 3128 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"] 3129 #[doc = ""] 3130 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_sub_image_3d_with_opt_u8_array_and_src_offset( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, src_data: Option<&[u8]>, src_offset: u32, ) -> Result<(), JsValue>3131 pub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset( 3132 this: &WebGl2RenderingContext, 3133 target: u32, 3134 level: i32, 3135 xoffset: i32, 3136 yoffset: i32, 3137 zoffset: i32, 3138 width: i32, 3139 height: i32, 3140 depth: i32, 3141 format: u32, 3142 type_: u32, 3143 src_data: Option<&[u8]>, 3144 src_offset: u32, 3145 ) -> Result<(), JsValue>; 3146 #[cfg(feature = "WebGlProgram")] 3147 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = transformFeedbackVaryings)] 3148 #[doc = "The `transformFeedbackVaryings()` method."] 3149 #[doc = ""] 3150 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings)"] 3151 #[doc = ""] 3152 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] transform_feedback_varyings( this: &WebGl2RenderingContext, program: &WebGlProgram, varyings: &::wasm_bindgen::JsValue, buffer_mode: u32, )3153 pub fn transform_feedback_varyings( 3154 this: &WebGl2RenderingContext, 3155 program: &WebGlProgram, 3156 varyings: &::wasm_bindgen::JsValue, 3157 buffer_mode: u32, 3158 ); 3159 #[cfg(feature = "WebGlUniformLocation")] 3160 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] 3161 #[doc = "The `uniform1fv()` method."] 3162 #[doc = ""] 3163 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"] 3164 #[doc = ""] 3165 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], )3166 pub fn uniform1fv_with_f32_array( 3167 this: &WebGl2RenderingContext, 3168 location: Option<&WebGlUniformLocation>, 3169 data: &[f32], 3170 ); 3171 #[cfg(feature = "WebGlUniformLocation")] 3172 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] 3173 #[doc = "The `uniform1fv()` method."] 3174 #[doc = ""] 3175 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"] 3176 #[doc = ""] 3177 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3178 pub fn uniform1fv_with_f32_sequence( 3179 this: &WebGl2RenderingContext, 3180 location: Option<&WebGlUniformLocation>, 3181 data: &::wasm_bindgen::JsValue, 3182 ); 3183 #[cfg(feature = "WebGlUniformLocation")] 3184 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] 3185 #[doc = "The `uniform1fv()` method."] 3186 #[doc = ""] 3187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"] 3188 #[doc = ""] 3189 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, )3190 pub fn uniform1fv_with_f32_array_and_src_offset( 3191 this: &WebGl2RenderingContext, 3192 location: Option<&WebGlUniformLocation>, 3193 data: &[f32], 3194 src_offset: u32, 3195 ); 3196 #[cfg(feature = "WebGlUniformLocation")] 3197 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] 3198 #[doc = "The `uniform1fv()` method."] 3199 #[doc = ""] 3200 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"] 3201 #[doc = ""] 3202 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )3203 pub fn uniform1fv_with_f32_sequence_and_src_offset( 3204 this: &WebGl2RenderingContext, 3205 location: Option<&WebGlUniformLocation>, 3206 data: &::wasm_bindgen::JsValue, 3207 src_offset: u32, 3208 ); 3209 #[cfg(feature = "WebGlUniformLocation")] 3210 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] 3211 #[doc = "The `uniform1fv()` method."] 3212 #[doc = ""] 3213 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"] 3214 #[doc = ""] 3215 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, src_length: u32, )3216 pub fn uniform1fv_with_f32_array_and_src_offset_and_src_length( 3217 this: &WebGl2RenderingContext, 3218 location: Option<&WebGlUniformLocation>, 3219 data: &[f32], 3220 src_offset: u32, 3221 src_length: u32, 3222 ); 3223 #[cfg(feature = "WebGlUniformLocation")] 3224 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)] 3225 #[doc = "The `uniform1fv()` method."] 3226 #[doc = ""] 3227 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"] 3228 #[doc = ""] 3229 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )3230 pub fn uniform1fv_with_f32_sequence_and_src_offset_and_src_length( 3231 this: &WebGl2RenderingContext, 3232 location: Option<&WebGlUniformLocation>, 3233 data: &::wasm_bindgen::JsValue, 3234 src_offset: u32, 3235 src_length: u32, 3236 ); 3237 #[cfg(feature = "WebGlUniformLocation")] 3238 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] 3239 #[doc = "The `uniform1iv()` method."] 3240 #[doc = ""] 3241 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"] 3242 #[doc = ""] 3243 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1iv_with_i32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], )3244 pub fn uniform1iv_with_i32_array( 3245 this: &WebGl2RenderingContext, 3246 location: Option<&WebGlUniformLocation>, 3247 data: &[i32], 3248 ); 3249 #[cfg(feature = "WebGlUniformLocation")] 3250 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] 3251 #[doc = "The `uniform1iv()` method."] 3252 #[doc = ""] 3253 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"] 3254 #[doc = ""] 3255 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1iv_with_i32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3256 pub fn uniform1iv_with_i32_sequence( 3257 this: &WebGl2RenderingContext, 3258 location: Option<&WebGlUniformLocation>, 3259 data: &::wasm_bindgen::JsValue, 3260 ); 3261 #[cfg(feature = "WebGlUniformLocation")] 3262 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] 3263 #[doc = "The `uniform1iv()` method."] 3264 #[doc = ""] 3265 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"] 3266 #[doc = ""] 3267 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1iv_with_i32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, )3268 pub fn uniform1iv_with_i32_array_and_src_offset( 3269 this: &WebGl2RenderingContext, 3270 location: Option<&WebGlUniformLocation>, 3271 data: &[i32], 3272 src_offset: u32, 3273 ); 3274 #[cfg(feature = "WebGlUniformLocation")] 3275 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] 3276 #[doc = "The `uniform1iv()` method."] 3277 #[doc = ""] 3278 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"] 3279 #[doc = ""] 3280 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1iv_with_i32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )3281 pub fn uniform1iv_with_i32_sequence_and_src_offset( 3282 this: &WebGl2RenderingContext, 3283 location: Option<&WebGlUniformLocation>, 3284 data: &::wasm_bindgen::JsValue, 3285 src_offset: u32, 3286 ); 3287 #[cfg(feature = "WebGlUniformLocation")] 3288 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] 3289 #[doc = "The `uniform1iv()` method."] 3290 #[doc = ""] 3291 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"] 3292 #[doc = ""] 3293 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1iv_with_i32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, src_length: u32, )3294 pub fn uniform1iv_with_i32_array_and_src_offset_and_src_length( 3295 this: &WebGl2RenderingContext, 3296 location: Option<&WebGlUniformLocation>, 3297 data: &[i32], 3298 src_offset: u32, 3299 src_length: u32, 3300 ); 3301 #[cfg(feature = "WebGlUniformLocation")] 3302 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)] 3303 #[doc = "The `uniform1iv()` method."] 3304 #[doc = ""] 3305 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"] 3306 #[doc = ""] 3307 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1iv_with_i32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )3308 pub fn uniform1iv_with_i32_sequence_and_src_offset_and_src_length( 3309 this: &WebGl2RenderingContext, 3310 location: Option<&WebGlUniformLocation>, 3311 data: &::wasm_bindgen::JsValue, 3312 src_offset: u32, 3313 src_length: u32, 3314 ); 3315 #[cfg(feature = "WebGlUniformLocation")] 3316 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1ui)] 3317 #[doc = "The `uniform1ui()` method."] 3318 #[doc = ""] 3319 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1ui)"] 3320 #[doc = ""] 3321 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1ui( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, v0: u32, )3322 pub fn uniform1ui( 3323 this: &WebGl2RenderingContext, 3324 location: Option<&WebGlUniformLocation>, 3325 v0: u32, 3326 ); 3327 #[cfg(feature = "WebGlUniformLocation")] 3328 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] 3329 #[doc = "The `uniform1uiv()` method."] 3330 #[doc = ""] 3331 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"] 3332 #[doc = ""] 3333 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1uiv_with_u32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], )3334 pub fn uniform1uiv_with_u32_array( 3335 this: &WebGl2RenderingContext, 3336 location: Option<&WebGlUniformLocation>, 3337 data: &[u32], 3338 ); 3339 #[cfg(feature = "WebGlUniformLocation")] 3340 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] 3341 #[doc = "The `uniform1uiv()` method."] 3342 #[doc = ""] 3343 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"] 3344 #[doc = ""] 3345 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1uiv_with_u32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3346 pub fn uniform1uiv_with_u32_sequence( 3347 this: &WebGl2RenderingContext, 3348 location: Option<&WebGlUniformLocation>, 3349 data: &::wasm_bindgen::JsValue, 3350 ); 3351 #[cfg(feature = "WebGlUniformLocation")] 3352 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] 3353 #[doc = "The `uniform1uiv()` method."] 3354 #[doc = ""] 3355 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"] 3356 #[doc = ""] 3357 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1uiv_with_u32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, )3358 pub fn uniform1uiv_with_u32_array_and_src_offset( 3359 this: &WebGl2RenderingContext, 3360 location: Option<&WebGlUniformLocation>, 3361 data: &[u32], 3362 src_offset: u32, 3363 ); 3364 #[cfg(feature = "WebGlUniformLocation")] 3365 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] 3366 #[doc = "The `uniform1uiv()` method."] 3367 #[doc = ""] 3368 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"] 3369 #[doc = ""] 3370 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1uiv_with_u32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )3371 pub fn uniform1uiv_with_u32_sequence_and_src_offset( 3372 this: &WebGl2RenderingContext, 3373 location: Option<&WebGlUniformLocation>, 3374 data: &::wasm_bindgen::JsValue, 3375 src_offset: u32, 3376 ); 3377 #[cfg(feature = "WebGlUniformLocation")] 3378 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] 3379 #[doc = "The `uniform1uiv()` method."] 3380 #[doc = ""] 3381 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"] 3382 #[doc = ""] 3383 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1uiv_with_u32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, src_length: u32, )3384 pub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length( 3385 this: &WebGl2RenderingContext, 3386 location: Option<&WebGlUniformLocation>, 3387 data: &[u32], 3388 src_offset: u32, 3389 src_length: u32, 3390 ); 3391 #[cfg(feature = "WebGlUniformLocation")] 3392 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)] 3393 #[doc = "The `uniform1uiv()` method."] 3394 #[doc = ""] 3395 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"] 3396 #[doc = ""] 3397 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1uiv_with_u32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )3398 pub fn uniform1uiv_with_u32_sequence_and_src_offset_and_src_length( 3399 this: &WebGl2RenderingContext, 3400 location: Option<&WebGlUniformLocation>, 3401 data: &::wasm_bindgen::JsValue, 3402 src_offset: u32, 3403 src_length: u32, 3404 ); 3405 #[cfg(feature = "WebGlUniformLocation")] 3406 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] 3407 #[doc = "The `uniform2fv()` method."] 3408 #[doc = ""] 3409 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"] 3410 #[doc = ""] 3411 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], )3412 pub fn uniform2fv_with_f32_array( 3413 this: &WebGl2RenderingContext, 3414 location: Option<&WebGlUniformLocation>, 3415 data: &[f32], 3416 ); 3417 #[cfg(feature = "WebGlUniformLocation")] 3418 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] 3419 #[doc = "The `uniform2fv()` method."] 3420 #[doc = ""] 3421 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"] 3422 #[doc = ""] 3423 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3424 pub fn uniform2fv_with_f32_sequence( 3425 this: &WebGl2RenderingContext, 3426 location: Option<&WebGlUniformLocation>, 3427 data: &::wasm_bindgen::JsValue, 3428 ); 3429 #[cfg(feature = "WebGlUniformLocation")] 3430 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] 3431 #[doc = "The `uniform2fv()` method."] 3432 #[doc = ""] 3433 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"] 3434 #[doc = ""] 3435 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, )3436 pub fn uniform2fv_with_f32_array_and_src_offset( 3437 this: &WebGl2RenderingContext, 3438 location: Option<&WebGlUniformLocation>, 3439 data: &[f32], 3440 src_offset: u32, 3441 ); 3442 #[cfg(feature = "WebGlUniformLocation")] 3443 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] 3444 #[doc = "The `uniform2fv()` method."] 3445 #[doc = ""] 3446 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"] 3447 #[doc = ""] 3448 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )3449 pub fn uniform2fv_with_f32_sequence_and_src_offset( 3450 this: &WebGl2RenderingContext, 3451 location: Option<&WebGlUniformLocation>, 3452 data: &::wasm_bindgen::JsValue, 3453 src_offset: u32, 3454 ); 3455 #[cfg(feature = "WebGlUniformLocation")] 3456 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] 3457 #[doc = "The `uniform2fv()` method."] 3458 #[doc = ""] 3459 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"] 3460 #[doc = ""] 3461 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, src_length: u32, )3462 pub fn uniform2fv_with_f32_array_and_src_offset_and_src_length( 3463 this: &WebGl2RenderingContext, 3464 location: Option<&WebGlUniformLocation>, 3465 data: &[f32], 3466 src_offset: u32, 3467 src_length: u32, 3468 ); 3469 #[cfg(feature = "WebGlUniformLocation")] 3470 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)] 3471 #[doc = "The `uniform2fv()` method."] 3472 #[doc = ""] 3473 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"] 3474 #[doc = ""] 3475 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )3476 pub fn uniform2fv_with_f32_sequence_and_src_offset_and_src_length( 3477 this: &WebGl2RenderingContext, 3478 location: Option<&WebGlUniformLocation>, 3479 data: &::wasm_bindgen::JsValue, 3480 src_offset: u32, 3481 src_length: u32, 3482 ); 3483 #[cfg(feature = "WebGlUniformLocation")] 3484 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] 3485 #[doc = "The `uniform2iv()` method."] 3486 #[doc = ""] 3487 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"] 3488 #[doc = ""] 3489 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2iv_with_i32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], )3490 pub fn uniform2iv_with_i32_array( 3491 this: &WebGl2RenderingContext, 3492 location: Option<&WebGlUniformLocation>, 3493 data: &[i32], 3494 ); 3495 #[cfg(feature = "WebGlUniformLocation")] 3496 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] 3497 #[doc = "The `uniform2iv()` method."] 3498 #[doc = ""] 3499 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"] 3500 #[doc = ""] 3501 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2iv_with_i32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3502 pub fn uniform2iv_with_i32_sequence( 3503 this: &WebGl2RenderingContext, 3504 location: Option<&WebGlUniformLocation>, 3505 data: &::wasm_bindgen::JsValue, 3506 ); 3507 #[cfg(feature = "WebGlUniformLocation")] 3508 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] 3509 #[doc = "The `uniform2iv()` method."] 3510 #[doc = ""] 3511 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"] 3512 #[doc = ""] 3513 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2iv_with_i32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, )3514 pub fn uniform2iv_with_i32_array_and_src_offset( 3515 this: &WebGl2RenderingContext, 3516 location: Option<&WebGlUniformLocation>, 3517 data: &[i32], 3518 src_offset: u32, 3519 ); 3520 #[cfg(feature = "WebGlUniformLocation")] 3521 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] 3522 #[doc = "The `uniform2iv()` method."] 3523 #[doc = ""] 3524 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"] 3525 #[doc = ""] 3526 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2iv_with_i32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )3527 pub fn uniform2iv_with_i32_sequence_and_src_offset( 3528 this: &WebGl2RenderingContext, 3529 location: Option<&WebGlUniformLocation>, 3530 data: &::wasm_bindgen::JsValue, 3531 src_offset: u32, 3532 ); 3533 #[cfg(feature = "WebGlUniformLocation")] 3534 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] 3535 #[doc = "The `uniform2iv()` method."] 3536 #[doc = ""] 3537 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"] 3538 #[doc = ""] 3539 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2iv_with_i32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, src_length: u32, )3540 pub fn uniform2iv_with_i32_array_and_src_offset_and_src_length( 3541 this: &WebGl2RenderingContext, 3542 location: Option<&WebGlUniformLocation>, 3543 data: &[i32], 3544 src_offset: u32, 3545 src_length: u32, 3546 ); 3547 #[cfg(feature = "WebGlUniformLocation")] 3548 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)] 3549 #[doc = "The `uniform2iv()` method."] 3550 #[doc = ""] 3551 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"] 3552 #[doc = ""] 3553 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2iv_with_i32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )3554 pub fn uniform2iv_with_i32_sequence_and_src_offset_and_src_length( 3555 this: &WebGl2RenderingContext, 3556 location: Option<&WebGlUniformLocation>, 3557 data: &::wasm_bindgen::JsValue, 3558 src_offset: u32, 3559 src_length: u32, 3560 ); 3561 #[cfg(feature = "WebGlUniformLocation")] 3562 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2ui)] 3563 #[doc = "The `uniform2ui()` method."] 3564 #[doc = ""] 3565 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2ui)"] 3566 #[doc = ""] 3567 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2ui( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, v0: u32, v1: u32, )3568 pub fn uniform2ui( 3569 this: &WebGl2RenderingContext, 3570 location: Option<&WebGlUniformLocation>, 3571 v0: u32, 3572 v1: u32, 3573 ); 3574 #[cfg(feature = "WebGlUniformLocation")] 3575 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] 3576 #[doc = "The `uniform2uiv()` method."] 3577 #[doc = ""] 3578 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"] 3579 #[doc = ""] 3580 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2uiv_with_u32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], )3581 pub fn uniform2uiv_with_u32_array( 3582 this: &WebGl2RenderingContext, 3583 location: Option<&WebGlUniformLocation>, 3584 data: &[u32], 3585 ); 3586 #[cfg(feature = "WebGlUniformLocation")] 3587 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] 3588 #[doc = "The `uniform2uiv()` method."] 3589 #[doc = ""] 3590 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"] 3591 #[doc = ""] 3592 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2uiv_with_u32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3593 pub fn uniform2uiv_with_u32_sequence( 3594 this: &WebGl2RenderingContext, 3595 location: Option<&WebGlUniformLocation>, 3596 data: &::wasm_bindgen::JsValue, 3597 ); 3598 #[cfg(feature = "WebGlUniformLocation")] 3599 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] 3600 #[doc = "The `uniform2uiv()` method."] 3601 #[doc = ""] 3602 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"] 3603 #[doc = ""] 3604 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2uiv_with_u32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, )3605 pub fn uniform2uiv_with_u32_array_and_src_offset( 3606 this: &WebGl2RenderingContext, 3607 location: Option<&WebGlUniformLocation>, 3608 data: &[u32], 3609 src_offset: u32, 3610 ); 3611 #[cfg(feature = "WebGlUniformLocation")] 3612 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] 3613 #[doc = "The `uniform2uiv()` method."] 3614 #[doc = ""] 3615 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"] 3616 #[doc = ""] 3617 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2uiv_with_u32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )3618 pub fn uniform2uiv_with_u32_sequence_and_src_offset( 3619 this: &WebGl2RenderingContext, 3620 location: Option<&WebGlUniformLocation>, 3621 data: &::wasm_bindgen::JsValue, 3622 src_offset: u32, 3623 ); 3624 #[cfg(feature = "WebGlUniformLocation")] 3625 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] 3626 #[doc = "The `uniform2uiv()` method."] 3627 #[doc = ""] 3628 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"] 3629 #[doc = ""] 3630 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2uiv_with_u32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, src_length: u32, )3631 pub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length( 3632 this: &WebGl2RenderingContext, 3633 location: Option<&WebGlUniformLocation>, 3634 data: &[u32], 3635 src_offset: u32, 3636 src_length: u32, 3637 ); 3638 #[cfg(feature = "WebGlUniformLocation")] 3639 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)] 3640 #[doc = "The `uniform2uiv()` method."] 3641 #[doc = ""] 3642 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"] 3643 #[doc = ""] 3644 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2uiv_with_u32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )3645 pub fn uniform2uiv_with_u32_sequence_and_src_offset_and_src_length( 3646 this: &WebGl2RenderingContext, 3647 location: Option<&WebGlUniformLocation>, 3648 data: &::wasm_bindgen::JsValue, 3649 src_offset: u32, 3650 src_length: u32, 3651 ); 3652 #[cfg(feature = "WebGlUniformLocation")] 3653 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] 3654 #[doc = "The `uniform3fv()` method."] 3655 #[doc = ""] 3656 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"] 3657 #[doc = ""] 3658 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], )3659 pub fn uniform3fv_with_f32_array( 3660 this: &WebGl2RenderingContext, 3661 location: Option<&WebGlUniformLocation>, 3662 data: &[f32], 3663 ); 3664 #[cfg(feature = "WebGlUniformLocation")] 3665 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] 3666 #[doc = "The `uniform3fv()` method."] 3667 #[doc = ""] 3668 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"] 3669 #[doc = ""] 3670 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3671 pub fn uniform3fv_with_f32_sequence( 3672 this: &WebGl2RenderingContext, 3673 location: Option<&WebGlUniformLocation>, 3674 data: &::wasm_bindgen::JsValue, 3675 ); 3676 #[cfg(feature = "WebGlUniformLocation")] 3677 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] 3678 #[doc = "The `uniform3fv()` method."] 3679 #[doc = ""] 3680 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"] 3681 #[doc = ""] 3682 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, )3683 pub fn uniform3fv_with_f32_array_and_src_offset( 3684 this: &WebGl2RenderingContext, 3685 location: Option<&WebGlUniformLocation>, 3686 data: &[f32], 3687 src_offset: u32, 3688 ); 3689 #[cfg(feature = "WebGlUniformLocation")] 3690 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] 3691 #[doc = "The `uniform3fv()` method."] 3692 #[doc = ""] 3693 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"] 3694 #[doc = ""] 3695 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )3696 pub fn uniform3fv_with_f32_sequence_and_src_offset( 3697 this: &WebGl2RenderingContext, 3698 location: Option<&WebGlUniformLocation>, 3699 data: &::wasm_bindgen::JsValue, 3700 src_offset: u32, 3701 ); 3702 #[cfg(feature = "WebGlUniformLocation")] 3703 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] 3704 #[doc = "The `uniform3fv()` method."] 3705 #[doc = ""] 3706 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"] 3707 #[doc = ""] 3708 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, src_length: u32, )3709 pub fn uniform3fv_with_f32_array_and_src_offset_and_src_length( 3710 this: &WebGl2RenderingContext, 3711 location: Option<&WebGlUniformLocation>, 3712 data: &[f32], 3713 src_offset: u32, 3714 src_length: u32, 3715 ); 3716 #[cfg(feature = "WebGlUniformLocation")] 3717 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)] 3718 #[doc = "The `uniform3fv()` method."] 3719 #[doc = ""] 3720 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"] 3721 #[doc = ""] 3722 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )3723 pub fn uniform3fv_with_f32_sequence_and_src_offset_and_src_length( 3724 this: &WebGl2RenderingContext, 3725 location: Option<&WebGlUniformLocation>, 3726 data: &::wasm_bindgen::JsValue, 3727 src_offset: u32, 3728 src_length: u32, 3729 ); 3730 #[cfg(feature = "WebGlUniformLocation")] 3731 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] 3732 #[doc = "The `uniform3iv()` method."] 3733 #[doc = ""] 3734 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"] 3735 #[doc = ""] 3736 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3iv_with_i32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], )3737 pub fn uniform3iv_with_i32_array( 3738 this: &WebGl2RenderingContext, 3739 location: Option<&WebGlUniformLocation>, 3740 data: &[i32], 3741 ); 3742 #[cfg(feature = "WebGlUniformLocation")] 3743 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] 3744 #[doc = "The `uniform3iv()` method."] 3745 #[doc = ""] 3746 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"] 3747 #[doc = ""] 3748 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3iv_with_i32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3749 pub fn uniform3iv_with_i32_sequence( 3750 this: &WebGl2RenderingContext, 3751 location: Option<&WebGlUniformLocation>, 3752 data: &::wasm_bindgen::JsValue, 3753 ); 3754 #[cfg(feature = "WebGlUniformLocation")] 3755 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] 3756 #[doc = "The `uniform3iv()` method."] 3757 #[doc = ""] 3758 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"] 3759 #[doc = ""] 3760 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3iv_with_i32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, )3761 pub fn uniform3iv_with_i32_array_and_src_offset( 3762 this: &WebGl2RenderingContext, 3763 location: Option<&WebGlUniformLocation>, 3764 data: &[i32], 3765 src_offset: u32, 3766 ); 3767 #[cfg(feature = "WebGlUniformLocation")] 3768 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] 3769 #[doc = "The `uniform3iv()` method."] 3770 #[doc = ""] 3771 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"] 3772 #[doc = ""] 3773 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3iv_with_i32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )3774 pub fn uniform3iv_with_i32_sequence_and_src_offset( 3775 this: &WebGl2RenderingContext, 3776 location: Option<&WebGlUniformLocation>, 3777 data: &::wasm_bindgen::JsValue, 3778 src_offset: u32, 3779 ); 3780 #[cfg(feature = "WebGlUniformLocation")] 3781 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] 3782 #[doc = "The `uniform3iv()` method."] 3783 #[doc = ""] 3784 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"] 3785 #[doc = ""] 3786 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3iv_with_i32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, src_length: u32, )3787 pub fn uniform3iv_with_i32_array_and_src_offset_and_src_length( 3788 this: &WebGl2RenderingContext, 3789 location: Option<&WebGlUniformLocation>, 3790 data: &[i32], 3791 src_offset: u32, 3792 src_length: u32, 3793 ); 3794 #[cfg(feature = "WebGlUniformLocation")] 3795 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)] 3796 #[doc = "The `uniform3iv()` method."] 3797 #[doc = ""] 3798 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"] 3799 #[doc = ""] 3800 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3iv_with_i32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )3801 pub fn uniform3iv_with_i32_sequence_and_src_offset_and_src_length( 3802 this: &WebGl2RenderingContext, 3803 location: Option<&WebGlUniformLocation>, 3804 data: &::wasm_bindgen::JsValue, 3805 src_offset: u32, 3806 src_length: u32, 3807 ); 3808 #[cfg(feature = "WebGlUniformLocation")] 3809 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3ui)] 3810 #[doc = "The `uniform3ui()` method."] 3811 #[doc = ""] 3812 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3ui)"] 3813 #[doc = ""] 3814 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3ui( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, v0: u32, v1: u32, v2: u32, )3815 pub fn uniform3ui( 3816 this: &WebGl2RenderingContext, 3817 location: Option<&WebGlUniformLocation>, 3818 v0: u32, 3819 v1: u32, 3820 v2: u32, 3821 ); 3822 #[cfg(feature = "WebGlUniformLocation")] 3823 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] 3824 #[doc = "The `uniform3uiv()` method."] 3825 #[doc = ""] 3826 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"] 3827 #[doc = ""] 3828 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3uiv_with_u32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], )3829 pub fn uniform3uiv_with_u32_array( 3830 this: &WebGl2RenderingContext, 3831 location: Option<&WebGlUniformLocation>, 3832 data: &[u32], 3833 ); 3834 #[cfg(feature = "WebGlUniformLocation")] 3835 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] 3836 #[doc = "The `uniform3uiv()` method."] 3837 #[doc = ""] 3838 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"] 3839 #[doc = ""] 3840 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3uiv_with_u32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3841 pub fn uniform3uiv_with_u32_sequence( 3842 this: &WebGl2RenderingContext, 3843 location: Option<&WebGlUniformLocation>, 3844 data: &::wasm_bindgen::JsValue, 3845 ); 3846 #[cfg(feature = "WebGlUniformLocation")] 3847 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] 3848 #[doc = "The `uniform3uiv()` method."] 3849 #[doc = ""] 3850 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"] 3851 #[doc = ""] 3852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3uiv_with_u32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, )3853 pub fn uniform3uiv_with_u32_array_and_src_offset( 3854 this: &WebGl2RenderingContext, 3855 location: Option<&WebGlUniformLocation>, 3856 data: &[u32], 3857 src_offset: u32, 3858 ); 3859 #[cfg(feature = "WebGlUniformLocation")] 3860 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] 3861 #[doc = "The `uniform3uiv()` method."] 3862 #[doc = ""] 3863 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"] 3864 #[doc = ""] 3865 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3uiv_with_u32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )3866 pub fn uniform3uiv_with_u32_sequence_and_src_offset( 3867 this: &WebGl2RenderingContext, 3868 location: Option<&WebGlUniformLocation>, 3869 data: &::wasm_bindgen::JsValue, 3870 src_offset: u32, 3871 ); 3872 #[cfg(feature = "WebGlUniformLocation")] 3873 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] 3874 #[doc = "The `uniform3uiv()` method."] 3875 #[doc = ""] 3876 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"] 3877 #[doc = ""] 3878 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3uiv_with_u32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, src_length: u32, )3879 pub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length( 3880 this: &WebGl2RenderingContext, 3881 location: Option<&WebGlUniformLocation>, 3882 data: &[u32], 3883 src_offset: u32, 3884 src_length: u32, 3885 ); 3886 #[cfg(feature = "WebGlUniformLocation")] 3887 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)] 3888 #[doc = "The `uniform3uiv()` method."] 3889 #[doc = ""] 3890 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"] 3891 #[doc = ""] 3892 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3uiv_with_u32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )3893 pub fn uniform3uiv_with_u32_sequence_and_src_offset_and_src_length( 3894 this: &WebGl2RenderingContext, 3895 location: Option<&WebGlUniformLocation>, 3896 data: &::wasm_bindgen::JsValue, 3897 src_offset: u32, 3898 src_length: u32, 3899 ); 3900 #[cfg(feature = "WebGlUniformLocation")] 3901 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] 3902 #[doc = "The `uniform4fv()` method."] 3903 #[doc = ""] 3904 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"] 3905 #[doc = ""] 3906 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], )3907 pub fn uniform4fv_with_f32_array( 3908 this: &WebGl2RenderingContext, 3909 location: Option<&WebGlUniformLocation>, 3910 data: &[f32], 3911 ); 3912 #[cfg(feature = "WebGlUniformLocation")] 3913 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] 3914 #[doc = "The `uniform4fv()` method."] 3915 #[doc = ""] 3916 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"] 3917 #[doc = ""] 3918 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3919 pub fn uniform4fv_with_f32_sequence( 3920 this: &WebGl2RenderingContext, 3921 location: Option<&WebGlUniformLocation>, 3922 data: &::wasm_bindgen::JsValue, 3923 ); 3924 #[cfg(feature = "WebGlUniformLocation")] 3925 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] 3926 #[doc = "The `uniform4fv()` method."] 3927 #[doc = ""] 3928 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"] 3929 #[doc = ""] 3930 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, )3931 pub fn uniform4fv_with_f32_array_and_src_offset( 3932 this: &WebGl2RenderingContext, 3933 location: Option<&WebGlUniformLocation>, 3934 data: &[f32], 3935 src_offset: u32, 3936 ); 3937 #[cfg(feature = "WebGlUniformLocation")] 3938 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] 3939 #[doc = "The `uniform4fv()` method."] 3940 #[doc = ""] 3941 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"] 3942 #[doc = ""] 3943 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )3944 pub fn uniform4fv_with_f32_sequence_and_src_offset( 3945 this: &WebGl2RenderingContext, 3946 location: Option<&WebGlUniformLocation>, 3947 data: &::wasm_bindgen::JsValue, 3948 src_offset: u32, 3949 ); 3950 #[cfg(feature = "WebGlUniformLocation")] 3951 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] 3952 #[doc = "The `uniform4fv()` method."] 3953 #[doc = ""] 3954 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"] 3955 #[doc = ""] 3956 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, src_length: u32, )3957 pub fn uniform4fv_with_f32_array_and_src_offset_and_src_length( 3958 this: &WebGl2RenderingContext, 3959 location: Option<&WebGlUniformLocation>, 3960 data: &[f32], 3961 src_offset: u32, 3962 src_length: u32, 3963 ); 3964 #[cfg(feature = "WebGlUniformLocation")] 3965 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)] 3966 #[doc = "The `uniform4fv()` method."] 3967 #[doc = ""] 3968 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"] 3969 #[doc = ""] 3970 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )3971 pub fn uniform4fv_with_f32_sequence_and_src_offset_and_src_length( 3972 this: &WebGl2RenderingContext, 3973 location: Option<&WebGlUniformLocation>, 3974 data: &::wasm_bindgen::JsValue, 3975 src_offset: u32, 3976 src_length: u32, 3977 ); 3978 #[cfg(feature = "WebGlUniformLocation")] 3979 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] 3980 #[doc = "The `uniform4iv()` method."] 3981 #[doc = ""] 3982 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"] 3983 #[doc = ""] 3984 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4iv_with_i32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], )3985 pub fn uniform4iv_with_i32_array( 3986 this: &WebGl2RenderingContext, 3987 location: Option<&WebGlUniformLocation>, 3988 data: &[i32], 3989 ); 3990 #[cfg(feature = "WebGlUniformLocation")] 3991 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] 3992 #[doc = "The `uniform4iv()` method."] 3993 #[doc = ""] 3994 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"] 3995 #[doc = ""] 3996 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4iv_with_i32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )3997 pub fn uniform4iv_with_i32_sequence( 3998 this: &WebGl2RenderingContext, 3999 location: Option<&WebGlUniformLocation>, 4000 data: &::wasm_bindgen::JsValue, 4001 ); 4002 #[cfg(feature = "WebGlUniformLocation")] 4003 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] 4004 #[doc = "The `uniform4iv()` method."] 4005 #[doc = ""] 4006 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"] 4007 #[doc = ""] 4008 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4iv_with_i32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, )4009 pub fn uniform4iv_with_i32_array_and_src_offset( 4010 this: &WebGl2RenderingContext, 4011 location: Option<&WebGlUniformLocation>, 4012 data: &[i32], 4013 src_offset: u32, 4014 ); 4015 #[cfg(feature = "WebGlUniformLocation")] 4016 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] 4017 #[doc = "The `uniform4iv()` method."] 4018 #[doc = ""] 4019 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"] 4020 #[doc = ""] 4021 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4iv_with_i32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )4022 pub fn uniform4iv_with_i32_sequence_and_src_offset( 4023 this: &WebGl2RenderingContext, 4024 location: Option<&WebGlUniformLocation>, 4025 data: &::wasm_bindgen::JsValue, 4026 src_offset: u32, 4027 ); 4028 #[cfg(feature = "WebGlUniformLocation")] 4029 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] 4030 #[doc = "The `uniform4iv()` method."] 4031 #[doc = ""] 4032 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"] 4033 #[doc = ""] 4034 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4iv_with_i32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, src_length: u32, )4035 pub fn uniform4iv_with_i32_array_and_src_offset_and_src_length( 4036 this: &WebGl2RenderingContext, 4037 location: Option<&WebGlUniformLocation>, 4038 data: &[i32], 4039 src_offset: u32, 4040 src_length: u32, 4041 ); 4042 #[cfg(feature = "WebGlUniformLocation")] 4043 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)] 4044 #[doc = "The `uniform4iv()` method."] 4045 #[doc = ""] 4046 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"] 4047 #[doc = ""] 4048 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4iv_with_i32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4049 pub fn uniform4iv_with_i32_sequence_and_src_offset_and_src_length( 4050 this: &WebGl2RenderingContext, 4051 location: Option<&WebGlUniformLocation>, 4052 data: &::wasm_bindgen::JsValue, 4053 src_offset: u32, 4054 src_length: u32, 4055 ); 4056 #[cfg(feature = "WebGlUniformLocation")] 4057 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4ui)] 4058 #[doc = "The `uniform4ui()` method."] 4059 #[doc = ""] 4060 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4ui)"] 4061 #[doc = ""] 4062 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4ui( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, v0: u32, v1: u32, v2: u32, v3: u32, )4063 pub fn uniform4ui( 4064 this: &WebGl2RenderingContext, 4065 location: Option<&WebGlUniformLocation>, 4066 v0: u32, 4067 v1: u32, 4068 v2: u32, 4069 v3: u32, 4070 ); 4071 #[cfg(feature = "WebGlUniformLocation")] 4072 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] 4073 #[doc = "The `uniform4uiv()` method."] 4074 #[doc = ""] 4075 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"] 4076 #[doc = ""] 4077 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4uiv_with_u32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], )4078 pub fn uniform4uiv_with_u32_array( 4079 this: &WebGl2RenderingContext, 4080 location: Option<&WebGlUniformLocation>, 4081 data: &[u32], 4082 ); 4083 #[cfg(feature = "WebGlUniformLocation")] 4084 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] 4085 #[doc = "The `uniform4uiv()` method."] 4086 #[doc = ""] 4087 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"] 4088 #[doc = ""] 4089 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4uiv_with_u32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, )4090 pub fn uniform4uiv_with_u32_sequence( 4091 this: &WebGl2RenderingContext, 4092 location: Option<&WebGlUniformLocation>, 4093 data: &::wasm_bindgen::JsValue, 4094 ); 4095 #[cfg(feature = "WebGlUniformLocation")] 4096 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] 4097 #[doc = "The `uniform4uiv()` method."] 4098 #[doc = ""] 4099 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"] 4100 #[doc = ""] 4101 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4uiv_with_u32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, )4102 pub fn uniform4uiv_with_u32_array_and_src_offset( 4103 this: &WebGl2RenderingContext, 4104 location: Option<&WebGlUniformLocation>, 4105 data: &[u32], 4106 src_offset: u32, 4107 ); 4108 #[cfg(feature = "WebGlUniformLocation")] 4109 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] 4110 #[doc = "The `uniform4uiv()` method."] 4111 #[doc = ""] 4112 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"] 4113 #[doc = ""] 4114 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4uiv_with_u32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, )4115 pub fn uniform4uiv_with_u32_sequence_and_src_offset( 4116 this: &WebGl2RenderingContext, 4117 location: Option<&WebGlUniformLocation>, 4118 data: &::wasm_bindgen::JsValue, 4119 src_offset: u32, 4120 ); 4121 #[cfg(feature = "WebGlUniformLocation")] 4122 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] 4123 #[doc = "The `uniform4uiv()` method."] 4124 #[doc = ""] 4125 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"] 4126 #[doc = ""] 4127 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4uiv_with_u32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, src_length: u32, )4128 pub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length( 4129 this: &WebGl2RenderingContext, 4130 location: Option<&WebGlUniformLocation>, 4131 data: &[u32], 4132 src_offset: u32, 4133 src_length: u32, 4134 ); 4135 #[cfg(feature = "WebGlUniformLocation")] 4136 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)] 4137 #[doc = "The `uniform4uiv()` method."] 4138 #[doc = ""] 4139 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"] 4140 #[doc = ""] 4141 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4uiv_with_u32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4142 pub fn uniform4uiv_with_u32_sequence_and_src_offset_and_src_length( 4143 this: &WebGl2RenderingContext, 4144 location: Option<&WebGlUniformLocation>, 4145 data: &::wasm_bindgen::JsValue, 4146 src_offset: u32, 4147 src_length: u32, 4148 ); 4149 #[cfg(feature = "WebGlProgram")] 4150 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformBlockBinding)] 4151 #[doc = "The `uniformBlockBinding()` method."] 4152 #[doc = ""] 4153 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding)"] 4154 #[doc = ""] 4155 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] uniform_block_binding( this: &WebGl2RenderingContext, program: &WebGlProgram, uniform_block_index: u32, uniform_block_binding: u32, )4156 pub fn uniform_block_binding( 4157 this: &WebGl2RenderingContext, 4158 program: &WebGlProgram, 4159 uniform_block_index: u32, 4160 uniform_block_binding: u32, 4161 ); 4162 #[cfg(feature = "WebGlUniformLocation")] 4163 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] 4164 #[doc = "The `uniformMatrix2fv()` method."] 4165 #[doc = ""] 4166 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"] 4167 #[doc = ""] 4168 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )4169 pub fn uniform_matrix2fv_with_f32_array( 4170 this: &WebGl2RenderingContext, 4171 location: Option<&WebGlUniformLocation>, 4172 transpose: bool, 4173 data: &[f32], 4174 ); 4175 #[cfg(feature = "WebGlUniformLocation")] 4176 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] 4177 #[doc = "The `uniformMatrix2fv()` method."] 4178 #[doc = ""] 4179 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"] 4180 #[doc = ""] 4181 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, )4182 pub fn uniform_matrix2fv_with_f32_sequence( 4183 this: &WebGl2RenderingContext, 4184 location: Option<&WebGlUniformLocation>, 4185 transpose: bool, 4186 data: &::wasm_bindgen::JsValue, 4187 ); 4188 #[cfg(feature = "WebGlUniformLocation")] 4189 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] 4190 #[doc = "The `uniformMatrix2fv()` method."] 4191 #[doc = ""] 4192 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"] 4193 #[doc = ""] 4194 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )4195 pub fn uniform_matrix2fv_with_f32_array_and_src_offset( 4196 this: &WebGl2RenderingContext, 4197 location: Option<&WebGlUniformLocation>, 4198 transpose: bool, 4199 data: &[f32], 4200 src_offset: u32, 4201 ); 4202 #[cfg(feature = "WebGlUniformLocation")] 4203 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] 4204 #[doc = "The `uniformMatrix2fv()` method."] 4205 #[doc = ""] 4206 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"] 4207 #[doc = ""] 4208 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, )4209 pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset( 4210 this: &WebGl2RenderingContext, 4211 location: Option<&WebGlUniformLocation>, 4212 transpose: bool, 4213 data: &::wasm_bindgen::JsValue, 4214 src_offset: u32, 4215 ); 4216 #[cfg(feature = "WebGlUniformLocation")] 4217 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] 4218 #[doc = "The `uniformMatrix2fv()` method."] 4219 #[doc = ""] 4220 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"] 4221 #[doc = ""] 4222 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )4223 pub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length( 4224 this: &WebGl2RenderingContext, 4225 location: Option<&WebGlUniformLocation>, 4226 transpose: bool, 4227 data: &[f32], 4228 src_offset: u32, 4229 src_length: u32, 4230 ); 4231 #[cfg(feature = "WebGlUniformLocation")] 4232 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)] 4233 #[doc = "The `uniformMatrix2fv()` method."] 4234 #[doc = ""] 4235 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"] 4236 #[doc = ""] 4237 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4238 pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset_and_src_length( 4239 this: &WebGl2RenderingContext, 4240 location: Option<&WebGlUniformLocation>, 4241 transpose: bool, 4242 data: &::wasm_bindgen::JsValue, 4243 src_offset: u32, 4244 src_length: u32, 4245 ); 4246 #[cfg(feature = "WebGlUniformLocation")] 4247 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] 4248 #[doc = "The `uniformMatrix2x3fv()` method."] 4249 #[doc = ""] 4250 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"] 4251 #[doc = ""] 4252 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x3fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )4253 pub fn uniform_matrix2x3fv_with_f32_array( 4254 this: &WebGl2RenderingContext, 4255 location: Option<&WebGlUniformLocation>, 4256 transpose: bool, 4257 data: &[f32], 4258 ); 4259 #[cfg(feature = "WebGlUniformLocation")] 4260 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] 4261 #[doc = "The `uniformMatrix2x3fv()` method."] 4262 #[doc = ""] 4263 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"] 4264 #[doc = ""] 4265 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x3fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, )4266 pub fn uniform_matrix2x3fv_with_f32_sequence( 4267 this: &WebGl2RenderingContext, 4268 location: Option<&WebGlUniformLocation>, 4269 transpose: bool, 4270 data: &::wasm_bindgen::JsValue, 4271 ); 4272 #[cfg(feature = "WebGlUniformLocation")] 4273 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] 4274 #[doc = "The `uniformMatrix2x3fv()` method."] 4275 #[doc = ""] 4276 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"] 4277 #[doc = ""] 4278 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x3fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )4279 pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset( 4280 this: &WebGl2RenderingContext, 4281 location: Option<&WebGlUniformLocation>, 4282 transpose: bool, 4283 data: &[f32], 4284 src_offset: u32, 4285 ); 4286 #[cfg(feature = "WebGlUniformLocation")] 4287 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] 4288 #[doc = "The `uniformMatrix2x3fv()` method."] 4289 #[doc = ""] 4290 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"] 4291 #[doc = ""] 4292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x3fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, )4293 pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset( 4294 this: &WebGl2RenderingContext, 4295 location: Option<&WebGlUniformLocation>, 4296 transpose: bool, 4297 data: &::wasm_bindgen::JsValue, 4298 src_offset: u32, 4299 ); 4300 #[cfg(feature = "WebGlUniformLocation")] 4301 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] 4302 #[doc = "The `uniformMatrix2x3fv()` method."] 4303 #[doc = ""] 4304 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"] 4305 #[doc = ""] 4306 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )4307 pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length( 4308 this: &WebGl2RenderingContext, 4309 location: Option<&WebGlUniformLocation>, 4310 transpose: bool, 4311 data: &[f32], 4312 src_offset: u32, 4313 src_length: u32, 4314 ); 4315 #[cfg(feature = "WebGlUniformLocation")] 4316 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)] 4317 #[doc = "The `uniformMatrix2x3fv()` method."] 4318 #[doc = ""] 4319 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"] 4320 #[doc = ""] 4321 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x3fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4322 pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset_and_src_length( 4323 this: &WebGl2RenderingContext, 4324 location: Option<&WebGlUniformLocation>, 4325 transpose: bool, 4326 data: &::wasm_bindgen::JsValue, 4327 src_offset: u32, 4328 src_length: u32, 4329 ); 4330 #[cfg(feature = "WebGlUniformLocation")] 4331 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] 4332 #[doc = "The `uniformMatrix2x4fv()` method."] 4333 #[doc = ""] 4334 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"] 4335 #[doc = ""] 4336 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x4fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )4337 pub fn uniform_matrix2x4fv_with_f32_array( 4338 this: &WebGl2RenderingContext, 4339 location: Option<&WebGlUniformLocation>, 4340 transpose: bool, 4341 data: &[f32], 4342 ); 4343 #[cfg(feature = "WebGlUniformLocation")] 4344 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] 4345 #[doc = "The `uniformMatrix2x4fv()` method."] 4346 #[doc = ""] 4347 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"] 4348 #[doc = ""] 4349 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x4fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, )4350 pub fn uniform_matrix2x4fv_with_f32_sequence( 4351 this: &WebGl2RenderingContext, 4352 location: Option<&WebGlUniformLocation>, 4353 transpose: bool, 4354 data: &::wasm_bindgen::JsValue, 4355 ); 4356 #[cfg(feature = "WebGlUniformLocation")] 4357 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] 4358 #[doc = "The `uniformMatrix2x4fv()` method."] 4359 #[doc = ""] 4360 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"] 4361 #[doc = ""] 4362 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x4fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )4363 pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset( 4364 this: &WebGl2RenderingContext, 4365 location: Option<&WebGlUniformLocation>, 4366 transpose: bool, 4367 data: &[f32], 4368 src_offset: u32, 4369 ); 4370 #[cfg(feature = "WebGlUniformLocation")] 4371 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] 4372 #[doc = "The `uniformMatrix2x4fv()` method."] 4373 #[doc = ""] 4374 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"] 4375 #[doc = ""] 4376 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x4fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, )4377 pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset( 4378 this: &WebGl2RenderingContext, 4379 location: Option<&WebGlUniformLocation>, 4380 transpose: bool, 4381 data: &::wasm_bindgen::JsValue, 4382 src_offset: u32, 4383 ); 4384 #[cfg(feature = "WebGlUniformLocation")] 4385 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] 4386 #[doc = "The `uniformMatrix2x4fv()` method."] 4387 #[doc = ""] 4388 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"] 4389 #[doc = ""] 4390 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )4391 pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length( 4392 this: &WebGl2RenderingContext, 4393 location: Option<&WebGlUniformLocation>, 4394 transpose: bool, 4395 data: &[f32], 4396 src_offset: u32, 4397 src_length: u32, 4398 ); 4399 #[cfg(feature = "WebGlUniformLocation")] 4400 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)] 4401 #[doc = "The `uniformMatrix2x4fv()` method."] 4402 #[doc = ""] 4403 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"] 4404 #[doc = ""] 4405 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix2x4fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4406 pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset_and_src_length( 4407 this: &WebGl2RenderingContext, 4408 location: Option<&WebGlUniformLocation>, 4409 transpose: bool, 4410 data: &::wasm_bindgen::JsValue, 4411 src_offset: u32, 4412 src_length: u32, 4413 ); 4414 #[cfg(feature = "WebGlUniformLocation")] 4415 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] 4416 #[doc = "The `uniformMatrix3fv()` method."] 4417 #[doc = ""] 4418 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"] 4419 #[doc = ""] 4420 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )4421 pub fn uniform_matrix3fv_with_f32_array( 4422 this: &WebGl2RenderingContext, 4423 location: Option<&WebGlUniformLocation>, 4424 transpose: bool, 4425 data: &[f32], 4426 ); 4427 #[cfg(feature = "WebGlUniformLocation")] 4428 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] 4429 #[doc = "The `uniformMatrix3fv()` method."] 4430 #[doc = ""] 4431 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"] 4432 #[doc = ""] 4433 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, )4434 pub fn uniform_matrix3fv_with_f32_sequence( 4435 this: &WebGl2RenderingContext, 4436 location: Option<&WebGlUniformLocation>, 4437 transpose: bool, 4438 data: &::wasm_bindgen::JsValue, 4439 ); 4440 #[cfg(feature = "WebGlUniformLocation")] 4441 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] 4442 #[doc = "The `uniformMatrix3fv()` method."] 4443 #[doc = ""] 4444 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"] 4445 #[doc = ""] 4446 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )4447 pub fn uniform_matrix3fv_with_f32_array_and_src_offset( 4448 this: &WebGl2RenderingContext, 4449 location: Option<&WebGlUniformLocation>, 4450 transpose: bool, 4451 data: &[f32], 4452 src_offset: u32, 4453 ); 4454 #[cfg(feature = "WebGlUniformLocation")] 4455 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] 4456 #[doc = "The `uniformMatrix3fv()` method."] 4457 #[doc = ""] 4458 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"] 4459 #[doc = ""] 4460 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, )4461 pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset( 4462 this: &WebGl2RenderingContext, 4463 location: Option<&WebGlUniformLocation>, 4464 transpose: bool, 4465 data: &::wasm_bindgen::JsValue, 4466 src_offset: u32, 4467 ); 4468 #[cfg(feature = "WebGlUniformLocation")] 4469 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] 4470 #[doc = "The `uniformMatrix3fv()` method."] 4471 #[doc = ""] 4472 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"] 4473 #[doc = ""] 4474 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )4475 pub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length( 4476 this: &WebGl2RenderingContext, 4477 location: Option<&WebGlUniformLocation>, 4478 transpose: bool, 4479 data: &[f32], 4480 src_offset: u32, 4481 src_length: u32, 4482 ); 4483 #[cfg(feature = "WebGlUniformLocation")] 4484 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)] 4485 #[doc = "The `uniformMatrix3fv()` method."] 4486 #[doc = ""] 4487 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"] 4488 #[doc = ""] 4489 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4490 pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset_and_src_length( 4491 this: &WebGl2RenderingContext, 4492 location: Option<&WebGlUniformLocation>, 4493 transpose: bool, 4494 data: &::wasm_bindgen::JsValue, 4495 src_offset: u32, 4496 src_length: u32, 4497 ); 4498 #[cfg(feature = "WebGlUniformLocation")] 4499 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] 4500 #[doc = "The `uniformMatrix3x2fv()` method."] 4501 #[doc = ""] 4502 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"] 4503 #[doc = ""] 4504 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x2fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )4505 pub fn uniform_matrix3x2fv_with_f32_array( 4506 this: &WebGl2RenderingContext, 4507 location: Option<&WebGlUniformLocation>, 4508 transpose: bool, 4509 data: &[f32], 4510 ); 4511 #[cfg(feature = "WebGlUniformLocation")] 4512 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] 4513 #[doc = "The `uniformMatrix3x2fv()` method."] 4514 #[doc = ""] 4515 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"] 4516 #[doc = ""] 4517 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x2fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, )4518 pub fn uniform_matrix3x2fv_with_f32_sequence( 4519 this: &WebGl2RenderingContext, 4520 location: Option<&WebGlUniformLocation>, 4521 transpose: bool, 4522 data: &::wasm_bindgen::JsValue, 4523 ); 4524 #[cfg(feature = "WebGlUniformLocation")] 4525 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] 4526 #[doc = "The `uniformMatrix3x2fv()` method."] 4527 #[doc = ""] 4528 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"] 4529 #[doc = ""] 4530 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x2fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )4531 pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset( 4532 this: &WebGl2RenderingContext, 4533 location: Option<&WebGlUniformLocation>, 4534 transpose: bool, 4535 data: &[f32], 4536 src_offset: u32, 4537 ); 4538 #[cfg(feature = "WebGlUniformLocation")] 4539 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] 4540 #[doc = "The `uniformMatrix3x2fv()` method."] 4541 #[doc = ""] 4542 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"] 4543 #[doc = ""] 4544 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x2fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, )4545 pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset( 4546 this: &WebGl2RenderingContext, 4547 location: Option<&WebGlUniformLocation>, 4548 transpose: bool, 4549 data: &::wasm_bindgen::JsValue, 4550 src_offset: u32, 4551 ); 4552 #[cfg(feature = "WebGlUniformLocation")] 4553 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] 4554 #[doc = "The `uniformMatrix3x2fv()` method."] 4555 #[doc = ""] 4556 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"] 4557 #[doc = ""] 4558 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )4559 pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length( 4560 this: &WebGl2RenderingContext, 4561 location: Option<&WebGlUniformLocation>, 4562 transpose: bool, 4563 data: &[f32], 4564 src_offset: u32, 4565 src_length: u32, 4566 ); 4567 #[cfg(feature = "WebGlUniformLocation")] 4568 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)] 4569 #[doc = "The `uniformMatrix3x2fv()` method."] 4570 #[doc = ""] 4571 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"] 4572 #[doc = ""] 4573 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x2fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4574 pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset_and_src_length( 4575 this: &WebGl2RenderingContext, 4576 location: Option<&WebGlUniformLocation>, 4577 transpose: bool, 4578 data: &::wasm_bindgen::JsValue, 4579 src_offset: u32, 4580 src_length: u32, 4581 ); 4582 #[cfg(feature = "WebGlUniformLocation")] 4583 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] 4584 #[doc = "The `uniformMatrix3x4fv()` method."] 4585 #[doc = ""] 4586 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"] 4587 #[doc = ""] 4588 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x4fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )4589 pub fn uniform_matrix3x4fv_with_f32_array( 4590 this: &WebGl2RenderingContext, 4591 location: Option<&WebGlUniformLocation>, 4592 transpose: bool, 4593 data: &[f32], 4594 ); 4595 #[cfg(feature = "WebGlUniformLocation")] 4596 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] 4597 #[doc = "The `uniformMatrix3x4fv()` method."] 4598 #[doc = ""] 4599 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"] 4600 #[doc = ""] 4601 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x4fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, )4602 pub fn uniform_matrix3x4fv_with_f32_sequence( 4603 this: &WebGl2RenderingContext, 4604 location: Option<&WebGlUniformLocation>, 4605 transpose: bool, 4606 data: &::wasm_bindgen::JsValue, 4607 ); 4608 #[cfg(feature = "WebGlUniformLocation")] 4609 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] 4610 #[doc = "The `uniformMatrix3x4fv()` method."] 4611 #[doc = ""] 4612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"] 4613 #[doc = ""] 4614 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x4fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )4615 pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset( 4616 this: &WebGl2RenderingContext, 4617 location: Option<&WebGlUniformLocation>, 4618 transpose: bool, 4619 data: &[f32], 4620 src_offset: u32, 4621 ); 4622 #[cfg(feature = "WebGlUniformLocation")] 4623 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] 4624 #[doc = "The `uniformMatrix3x4fv()` method."] 4625 #[doc = ""] 4626 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"] 4627 #[doc = ""] 4628 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x4fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, )4629 pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset( 4630 this: &WebGl2RenderingContext, 4631 location: Option<&WebGlUniformLocation>, 4632 transpose: bool, 4633 data: &::wasm_bindgen::JsValue, 4634 src_offset: u32, 4635 ); 4636 #[cfg(feature = "WebGlUniformLocation")] 4637 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] 4638 #[doc = "The `uniformMatrix3x4fv()` method."] 4639 #[doc = ""] 4640 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"] 4641 #[doc = ""] 4642 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )4643 pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length( 4644 this: &WebGl2RenderingContext, 4645 location: Option<&WebGlUniformLocation>, 4646 transpose: bool, 4647 data: &[f32], 4648 src_offset: u32, 4649 src_length: u32, 4650 ); 4651 #[cfg(feature = "WebGlUniformLocation")] 4652 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)] 4653 #[doc = "The `uniformMatrix3x4fv()` method."] 4654 #[doc = ""] 4655 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"] 4656 #[doc = ""] 4657 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix3x4fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4658 pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset_and_src_length( 4659 this: &WebGl2RenderingContext, 4660 location: Option<&WebGlUniformLocation>, 4661 transpose: bool, 4662 data: &::wasm_bindgen::JsValue, 4663 src_offset: u32, 4664 src_length: u32, 4665 ); 4666 #[cfg(feature = "WebGlUniformLocation")] 4667 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] 4668 #[doc = "The `uniformMatrix4fv()` method."] 4669 #[doc = ""] 4670 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"] 4671 #[doc = ""] 4672 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )4673 pub fn uniform_matrix4fv_with_f32_array( 4674 this: &WebGl2RenderingContext, 4675 location: Option<&WebGlUniformLocation>, 4676 transpose: bool, 4677 data: &[f32], 4678 ); 4679 #[cfg(feature = "WebGlUniformLocation")] 4680 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] 4681 #[doc = "The `uniformMatrix4fv()` method."] 4682 #[doc = ""] 4683 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"] 4684 #[doc = ""] 4685 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, )4686 pub fn uniform_matrix4fv_with_f32_sequence( 4687 this: &WebGl2RenderingContext, 4688 location: Option<&WebGlUniformLocation>, 4689 transpose: bool, 4690 data: &::wasm_bindgen::JsValue, 4691 ); 4692 #[cfg(feature = "WebGlUniformLocation")] 4693 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] 4694 #[doc = "The `uniformMatrix4fv()` method."] 4695 #[doc = ""] 4696 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"] 4697 #[doc = ""] 4698 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )4699 pub fn uniform_matrix4fv_with_f32_array_and_src_offset( 4700 this: &WebGl2RenderingContext, 4701 location: Option<&WebGlUniformLocation>, 4702 transpose: bool, 4703 data: &[f32], 4704 src_offset: u32, 4705 ); 4706 #[cfg(feature = "WebGlUniformLocation")] 4707 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] 4708 #[doc = "The `uniformMatrix4fv()` method."] 4709 #[doc = ""] 4710 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"] 4711 #[doc = ""] 4712 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, )4713 pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset( 4714 this: &WebGl2RenderingContext, 4715 location: Option<&WebGlUniformLocation>, 4716 transpose: bool, 4717 data: &::wasm_bindgen::JsValue, 4718 src_offset: u32, 4719 ); 4720 #[cfg(feature = "WebGlUniformLocation")] 4721 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] 4722 #[doc = "The `uniformMatrix4fv()` method."] 4723 #[doc = ""] 4724 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"] 4725 #[doc = ""] 4726 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )4727 pub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length( 4728 this: &WebGl2RenderingContext, 4729 location: Option<&WebGlUniformLocation>, 4730 transpose: bool, 4731 data: &[f32], 4732 src_offset: u32, 4733 src_length: u32, 4734 ); 4735 #[cfg(feature = "WebGlUniformLocation")] 4736 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)] 4737 #[doc = "The `uniformMatrix4fv()` method."] 4738 #[doc = ""] 4739 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"] 4740 #[doc = ""] 4741 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4742 pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset_and_src_length( 4743 this: &WebGl2RenderingContext, 4744 location: Option<&WebGlUniformLocation>, 4745 transpose: bool, 4746 data: &::wasm_bindgen::JsValue, 4747 src_offset: u32, 4748 src_length: u32, 4749 ); 4750 #[cfg(feature = "WebGlUniformLocation")] 4751 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] 4752 #[doc = "The `uniformMatrix4x2fv()` method."] 4753 #[doc = ""] 4754 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"] 4755 #[doc = ""] 4756 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x2fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )4757 pub fn uniform_matrix4x2fv_with_f32_array( 4758 this: &WebGl2RenderingContext, 4759 location: Option<&WebGlUniformLocation>, 4760 transpose: bool, 4761 data: &[f32], 4762 ); 4763 #[cfg(feature = "WebGlUniformLocation")] 4764 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] 4765 #[doc = "The `uniformMatrix4x2fv()` method."] 4766 #[doc = ""] 4767 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"] 4768 #[doc = ""] 4769 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x2fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, )4770 pub fn uniform_matrix4x2fv_with_f32_sequence( 4771 this: &WebGl2RenderingContext, 4772 location: Option<&WebGlUniformLocation>, 4773 transpose: bool, 4774 data: &::wasm_bindgen::JsValue, 4775 ); 4776 #[cfg(feature = "WebGlUniformLocation")] 4777 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] 4778 #[doc = "The `uniformMatrix4x2fv()` method."] 4779 #[doc = ""] 4780 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"] 4781 #[doc = ""] 4782 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x2fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )4783 pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset( 4784 this: &WebGl2RenderingContext, 4785 location: Option<&WebGlUniformLocation>, 4786 transpose: bool, 4787 data: &[f32], 4788 src_offset: u32, 4789 ); 4790 #[cfg(feature = "WebGlUniformLocation")] 4791 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] 4792 #[doc = "The `uniformMatrix4x2fv()` method."] 4793 #[doc = ""] 4794 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"] 4795 #[doc = ""] 4796 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x2fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, )4797 pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset( 4798 this: &WebGl2RenderingContext, 4799 location: Option<&WebGlUniformLocation>, 4800 transpose: bool, 4801 data: &::wasm_bindgen::JsValue, 4802 src_offset: u32, 4803 ); 4804 #[cfg(feature = "WebGlUniformLocation")] 4805 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] 4806 #[doc = "The `uniformMatrix4x2fv()` method."] 4807 #[doc = ""] 4808 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"] 4809 #[doc = ""] 4810 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )4811 pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length( 4812 this: &WebGl2RenderingContext, 4813 location: Option<&WebGlUniformLocation>, 4814 transpose: bool, 4815 data: &[f32], 4816 src_offset: u32, 4817 src_length: u32, 4818 ); 4819 #[cfg(feature = "WebGlUniformLocation")] 4820 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)] 4821 #[doc = "The `uniformMatrix4x2fv()` method."] 4822 #[doc = ""] 4823 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"] 4824 #[doc = ""] 4825 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x2fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4826 pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset_and_src_length( 4827 this: &WebGl2RenderingContext, 4828 location: Option<&WebGlUniformLocation>, 4829 transpose: bool, 4830 data: &::wasm_bindgen::JsValue, 4831 src_offset: u32, 4832 src_length: u32, 4833 ); 4834 #[cfg(feature = "WebGlUniformLocation")] 4835 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] 4836 #[doc = "The `uniformMatrix4x3fv()` method."] 4837 #[doc = ""] 4838 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"] 4839 #[doc = ""] 4840 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x3fv_with_f32_array( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )4841 pub fn uniform_matrix4x3fv_with_f32_array( 4842 this: &WebGl2RenderingContext, 4843 location: Option<&WebGlUniformLocation>, 4844 transpose: bool, 4845 data: &[f32], 4846 ); 4847 #[cfg(feature = "WebGlUniformLocation")] 4848 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] 4849 #[doc = "The `uniformMatrix4x3fv()` method."] 4850 #[doc = ""] 4851 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"] 4852 #[doc = ""] 4853 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x3fv_with_f32_sequence( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, )4854 pub fn uniform_matrix4x3fv_with_f32_sequence( 4855 this: &WebGl2RenderingContext, 4856 location: Option<&WebGlUniformLocation>, 4857 transpose: bool, 4858 data: &::wasm_bindgen::JsValue, 4859 ); 4860 #[cfg(feature = "WebGlUniformLocation")] 4861 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] 4862 #[doc = "The `uniformMatrix4x3fv()` method."] 4863 #[doc = ""] 4864 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"] 4865 #[doc = ""] 4866 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x3fv_with_f32_array_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )4867 pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset( 4868 this: &WebGl2RenderingContext, 4869 location: Option<&WebGlUniformLocation>, 4870 transpose: bool, 4871 data: &[f32], 4872 src_offset: u32, 4873 ); 4874 #[cfg(feature = "WebGlUniformLocation")] 4875 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] 4876 #[doc = "The `uniformMatrix4x3fv()` method."] 4877 #[doc = ""] 4878 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"] 4879 #[doc = ""] 4880 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x3fv_with_f32_sequence_and_src_offset( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, )4881 pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset( 4882 this: &WebGl2RenderingContext, 4883 location: Option<&WebGlUniformLocation>, 4884 transpose: bool, 4885 data: &::wasm_bindgen::JsValue, 4886 src_offset: u32, 4887 ); 4888 #[cfg(feature = "WebGlUniformLocation")] 4889 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] 4890 #[doc = "The `uniformMatrix4x3fv()` method."] 4891 #[doc = ""] 4892 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"] 4893 #[doc = ""] 4894 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )4895 pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length( 4896 this: &WebGl2RenderingContext, 4897 location: Option<&WebGlUniformLocation>, 4898 transpose: bool, 4899 data: &[f32], 4900 src_offset: u32, 4901 src_length: u32, 4902 ); 4903 #[cfg(feature = "WebGlUniformLocation")] 4904 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)] 4905 #[doc = "The `uniformMatrix4x3fv()` method."] 4906 #[doc = ""] 4907 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"] 4908 #[doc = ""] 4909 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform_matrix4x3fv_with_f32_sequence_and_src_offset_and_src_length( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, transpose: bool, data: &::wasm_bindgen::JsValue, src_offset: u32, src_length: u32, )4910 pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset_and_src_length( 4911 this: &WebGl2RenderingContext, 4912 location: Option<&WebGlUniformLocation>, 4913 transpose: bool, 4914 data: &::wasm_bindgen::JsValue, 4915 src_offset: u32, 4916 src_length: u32, 4917 ); 4918 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribDivisor)] 4919 #[doc = "The `vertexAttribDivisor()` method."] 4920 #[doc = ""] 4921 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor)"] 4922 #[doc = ""] 4923 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_divisor(this: &WebGl2RenderingContext, index: u32, divisor: u32)4924 pub fn vertex_attrib_divisor(this: &WebGl2RenderingContext, index: u32, divisor: u32); 4925 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4i)] 4926 #[doc = "The `vertexAttribI4i()` method."] 4927 #[doc = ""] 4928 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4i)"] 4929 #[doc = ""] 4930 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_i4i( this: &WebGl2RenderingContext, index: u32, x: i32, y: i32, z: i32, w: i32, )4931 pub fn vertex_attrib_i4i( 4932 this: &WebGl2RenderingContext, 4933 index: u32, 4934 x: i32, 4935 y: i32, 4936 z: i32, 4937 w: i32, 4938 ); 4939 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)] 4940 #[doc = "The `vertexAttribI4iv()` method."] 4941 #[doc = ""] 4942 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"] 4943 #[doc = ""] 4944 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_i4iv_with_i32_array( this: &WebGl2RenderingContext, index: u32, values: &mut [i32], )4945 pub fn vertex_attrib_i4iv_with_i32_array( 4946 this: &WebGl2RenderingContext, 4947 index: u32, 4948 values: &mut [i32], 4949 ); 4950 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)] 4951 #[doc = "The `vertexAttribI4iv()` method."] 4952 #[doc = ""] 4953 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"] 4954 #[doc = ""] 4955 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_i4iv_with_i32_sequence( this: &WebGl2RenderingContext, index: u32, values: &::wasm_bindgen::JsValue, )4956 pub fn vertex_attrib_i4iv_with_i32_sequence( 4957 this: &WebGl2RenderingContext, 4958 index: u32, 4959 values: &::wasm_bindgen::JsValue, 4960 ); 4961 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4ui)] 4962 #[doc = "The `vertexAttribI4ui()` method."] 4963 #[doc = ""] 4964 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4ui)"] 4965 #[doc = ""] 4966 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_i4ui( this: &WebGl2RenderingContext, index: u32, x: u32, y: u32, z: u32, w: u32, )4967 pub fn vertex_attrib_i4ui( 4968 this: &WebGl2RenderingContext, 4969 index: u32, 4970 x: u32, 4971 y: u32, 4972 z: u32, 4973 w: u32, 4974 ); 4975 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)] 4976 #[doc = "The `vertexAttribI4uiv()` method."] 4977 #[doc = ""] 4978 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"] 4979 #[doc = ""] 4980 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_i4uiv_with_u32_array( this: &WebGl2RenderingContext, index: u32, values: &mut [u32], )4981 pub fn vertex_attrib_i4uiv_with_u32_array( 4982 this: &WebGl2RenderingContext, 4983 index: u32, 4984 values: &mut [u32], 4985 ); 4986 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)] 4987 #[doc = "The `vertexAttribI4uiv()` method."] 4988 #[doc = ""] 4989 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"] 4990 #[doc = ""] 4991 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_i4uiv_with_u32_sequence( this: &WebGl2RenderingContext, index: u32, values: &::wasm_bindgen::JsValue, )4992 pub fn vertex_attrib_i4uiv_with_u32_sequence( 4993 this: &WebGl2RenderingContext, 4994 index: u32, 4995 values: &::wasm_bindgen::JsValue, 4996 ); 4997 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer)] 4998 #[doc = "The `vertexAttribIPointer()` method."] 4999 #[doc = ""] 5000 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"] 5001 #[doc = ""] 5002 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_i_pointer_with_i32( this: &WebGl2RenderingContext, index: u32, size: i32, type_: u32, stride: i32, offset: i32, )5003 pub fn vertex_attrib_i_pointer_with_i32( 5004 this: &WebGl2RenderingContext, 5005 index: u32, 5006 size: i32, 5007 type_: u32, 5008 stride: i32, 5009 offset: i32, 5010 ); 5011 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer)] 5012 #[doc = "The `vertexAttribIPointer()` method."] 5013 #[doc = ""] 5014 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"] 5015 #[doc = ""] 5016 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_i_pointer_with_f64( this: &WebGl2RenderingContext, index: u32, size: i32, type_: u32, stride: i32, offset: f64, )5017 pub fn vertex_attrib_i_pointer_with_f64( 5018 this: &WebGl2RenderingContext, 5019 index: u32, 5020 size: i32, 5021 type_: u32, 5022 stride: i32, 5023 offset: f64, 5024 ); 5025 #[cfg(feature = "WebGlSync")] 5026 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync)] 5027 #[doc = "The `waitSync()` method."] 5028 #[doc = ""] 5029 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"] 5030 #[doc = ""] 5031 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"] wait_sync_with_i32( this: &WebGl2RenderingContext, sync: &WebGlSync, flags: u32, timeout: i32, )5032 pub fn wait_sync_with_i32( 5033 this: &WebGl2RenderingContext, 5034 sync: &WebGlSync, 5035 flags: u32, 5036 timeout: i32, 5037 ); 5038 #[cfg(feature = "WebGlSync")] 5039 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync)] 5040 #[doc = "The `waitSync()` method."] 5041 #[doc = ""] 5042 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"] 5043 #[doc = ""] 5044 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"] wait_sync_with_f64( this: &WebGl2RenderingContext, sync: &WebGlSync, flags: u32, timeout: f64, )5045 pub fn wait_sync_with_f64( 5046 this: &WebGl2RenderingContext, 5047 sync: &WebGlSync, 5048 flags: u32, 5049 timeout: f64, 5050 ); 5051 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = activeTexture)] 5052 #[doc = "The `activeTexture()` method."] 5053 #[doc = ""] 5054 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/activeTexture)"] 5055 #[doc = ""] 5056 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] active_texture(this: &WebGl2RenderingContext, texture: u32)5057 pub fn active_texture(this: &WebGl2RenderingContext, texture: u32); 5058 #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))] 5059 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = attachShader)] 5060 #[doc = "The `attachShader()` method."] 5061 #[doc = ""] 5062 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/attachShader)"] 5063 #[doc = ""] 5064 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"] attach_shader( this: &WebGl2RenderingContext, program: &WebGlProgram, shader: &WebGlShader, )5065 pub fn attach_shader( 5066 this: &WebGl2RenderingContext, 5067 program: &WebGlProgram, 5068 shader: &WebGlShader, 5069 ); 5070 #[cfg(feature = "WebGlProgram")] 5071 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindAttribLocation)] 5072 #[doc = "The `bindAttribLocation()` method."] 5073 #[doc = ""] 5074 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindAttribLocation)"] 5075 #[doc = ""] 5076 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] bind_attrib_location( this: &WebGl2RenderingContext, program: &WebGlProgram, index: u32, name: &str, )5077 pub fn bind_attrib_location( 5078 this: &WebGl2RenderingContext, 5079 program: &WebGlProgram, 5080 index: u32, 5081 name: &str, 5082 ); 5083 #[cfg(feature = "WebGlBuffer")] 5084 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBuffer)] 5085 #[doc = "The `bindBuffer()` method."] 5086 #[doc = ""] 5087 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBuffer)"] 5088 #[doc = ""] 5089 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"] bind_buffer(this: &WebGl2RenderingContext, target: u32, buffer: Option<&WebGlBuffer>)5090 pub fn bind_buffer(this: &WebGl2RenderingContext, target: u32, buffer: Option<&WebGlBuffer>); 5091 #[cfg(feature = "WebGlFramebuffer")] 5092 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindFramebuffer)] 5093 #[doc = "The `bindFramebuffer()` method."] 5094 #[doc = ""] 5095 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindFramebuffer)"] 5096 #[doc = ""] 5097 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"] bind_framebuffer( this: &WebGl2RenderingContext, target: u32, framebuffer: Option<&WebGlFramebuffer>, )5098 pub fn bind_framebuffer( 5099 this: &WebGl2RenderingContext, 5100 target: u32, 5101 framebuffer: Option<&WebGlFramebuffer>, 5102 ); 5103 #[cfg(feature = "WebGlRenderbuffer")] 5104 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindRenderbuffer)] 5105 #[doc = "The `bindRenderbuffer()` method."] 5106 #[doc = ""] 5107 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindRenderbuffer)"] 5108 #[doc = ""] 5109 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"] bind_renderbuffer( this: &WebGl2RenderingContext, target: u32, renderbuffer: Option<&WebGlRenderbuffer>, )5110 pub fn bind_renderbuffer( 5111 this: &WebGl2RenderingContext, 5112 target: u32, 5113 renderbuffer: Option<&WebGlRenderbuffer>, 5114 ); 5115 #[cfg(feature = "WebGlTexture")] 5116 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindTexture)] 5117 #[doc = "The `bindTexture()` method."] 5118 #[doc = ""] 5119 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTexture)"] 5120 #[doc = ""] 5121 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"] bind_texture(this: &WebGl2RenderingContext, target: u32, texture: Option<&WebGlTexture>)5122 pub fn bind_texture(this: &WebGl2RenderingContext, target: u32, texture: Option<&WebGlTexture>); 5123 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendColor)] 5124 #[doc = "The `blendColor()` method."] 5125 #[doc = ""] 5126 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendColor)"] 5127 #[doc = ""] 5128 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] blend_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32)5129 pub fn blend_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32); 5130 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendEquation)] 5131 #[doc = "The `blendEquation()` method."] 5132 #[doc = ""] 5133 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquation)"] 5134 #[doc = ""] 5135 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] blend_equation(this: &WebGl2RenderingContext, mode: u32)5136 pub fn blend_equation(this: &WebGl2RenderingContext, mode: u32); 5137 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendEquationSeparate)] 5138 #[doc = "The `blendEquationSeparate()` method."] 5139 #[doc = ""] 5140 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquationSeparate)"] 5141 #[doc = ""] 5142 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] blend_equation_separate(this: &WebGl2RenderingContext, mode_rgb: u32, mode_alpha: u32)5143 pub fn blend_equation_separate(this: &WebGl2RenderingContext, mode_rgb: u32, mode_alpha: u32); 5144 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendFunc)] 5145 #[doc = "The `blendFunc()` method."] 5146 #[doc = ""] 5147 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFunc)"] 5148 #[doc = ""] 5149 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] blend_func(this: &WebGl2RenderingContext, sfactor: u32, dfactor: u32)5150 pub fn blend_func(this: &WebGl2RenderingContext, sfactor: u32, dfactor: u32); 5151 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendFuncSeparate)] 5152 #[doc = "The `blendFuncSeparate()` method."] 5153 #[doc = ""] 5154 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFuncSeparate)"] 5155 #[doc = ""] 5156 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] blend_func_separate( this: &WebGl2RenderingContext, src_rgb: u32, dst_rgb: u32, src_alpha: u32, dst_alpha: u32, )5157 pub fn blend_func_separate( 5158 this: &WebGl2RenderingContext, 5159 src_rgb: u32, 5160 dst_rgb: u32, 5161 src_alpha: u32, 5162 dst_alpha: u32, 5163 ); 5164 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = checkFramebufferStatus)] 5165 #[doc = "The `checkFramebufferStatus()` method."] 5166 #[doc = ""] 5167 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/checkFramebufferStatus)"] 5168 #[doc = ""] 5169 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] check_framebuffer_status(this: &WebGl2RenderingContext, target: u32) -> u325170 pub fn check_framebuffer_status(this: &WebGl2RenderingContext, target: u32) -> u32; 5171 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clear)] 5172 #[doc = "The `clear()` method."] 5173 #[doc = ""] 5174 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clear)"] 5175 #[doc = ""] 5176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear(this: &WebGl2RenderingContext, mask: u32)5177 pub fn clear(this: &WebGl2RenderingContext, mask: u32); 5178 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearColor)] 5179 #[doc = "The `clearColor()` method."] 5180 #[doc = ""] 5181 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearColor)"] 5182 #[doc = ""] 5183 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32)5184 pub fn clear_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32); 5185 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearDepth)] 5186 #[doc = "The `clearDepth()` method."] 5187 #[doc = ""] 5188 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearDepth)"] 5189 #[doc = ""] 5190 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_depth(this: &WebGl2RenderingContext, depth: f32)5191 pub fn clear_depth(this: &WebGl2RenderingContext, depth: f32); 5192 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearStencil)] 5193 #[doc = "The `clearStencil()` method."] 5194 #[doc = ""] 5195 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearStencil)"] 5196 #[doc = ""] 5197 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] clear_stencil(this: &WebGl2RenderingContext, s: i32)5198 pub fn clear_stencil(this: &WebGl2RenderingContext, s: i32); 5199 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = colorMask)] 5200 #[doc = "The `colorMask()` method."] 5201 #[doc = ""] 5202 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/colorMask)"] 5203 #[doc = ""] 5204 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] color_mask( this: &WebGl2RenderingContext, red: bool, green: bool, blue: bool, alpha: bool, )5205 pub fn color_mask( 5206 this: &WebGl2RenderingContext, 5207 red: bool, 5208 green: bool, 5209 blue: bool, 5210 alpha: bool, 5211 ); 5212 #[cfg(feature = "WebGlShader")] 5213 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compileShader)] 5214 #[doc = "The `compileShader()` method."] 5215 #[doc = ""] 5216 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compileShader)"] 5217 #[doc = ""] 5218 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"] compile_shader(this: &WebGl2RenderingContext, shader: &WebGlShader)5219 pub fn compile_shader(this: &WebGl2RenderingContext, shader: &WebGlShader); 5220 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexImage2D)] 5221 #[doc = "The `copyTexImage2D()` method."] 5222 #[doc = ""] 5223 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexImage2D)"] 5224 #[doc = ""] 5225 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_tex_image_2d( this: &WebGl2RenderingContext, target: u32, level: i32, internalformat: u32, x: i32, y: i32, width: i32, height: i32, border: i32, )5226 pub fn copy_tex_image_2d( 5227 this: &WebGl2RenderingContext, 5228 target: u32, 5229 level: i32, 5230 internalformat: u32, 5231 x: i32, 5232 y: i32, 5233 width: i32, 5234 height: i32, 5235 border: i32, 5236 ); 5237 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage2D)] 5238 #[doc = "The `copyTexSubImage2D()` method."] 5239 #[doc = ""] 5240 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage2D)"] 5241 #[doc = ""] 5242 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] copy_tex_sub_image_2d( this: &WebGl2RenderingContext, target: u32, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: i32, height: i32, )5243 pub fn copy_tex_sub_image_2d( 5244 this: &WebGl2RenderingContext, 5245 target: u32, 5246 level: i32, 5247 xoffset: i32, 5248 yoffset: i32, 5249 x: i32, 5250 y: i32, 5251 width: i32, 5252 height: i32, 5253 ); 5254 #[cfg(feature = "WebGlBuffer")] 5255 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createBuffer)] 5256 #[doc = "The `createBuffer()` method."] 5257 #[doc = ""] 5258 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createBuffer)"] 5259 #[doc = ""] 5260 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"] create_buffer(this: &WebGl2RenderingContext) -> Option<WebGlBuffer>5261 pub fn create_buffer(this: &WebGl2RenderingContext) -> Option<WebGlBuffer>; 5262 #[cfg(feature = "WebGlFramebuffer")] 5263 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createFramebuffer)] 5264 #[doc = "The `createFramebuffer()` method."] 5265 #[doc = ""] 5266 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createFramebuffer)"] 5267 #[doc = ""] 5268 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"] create_framebuffer(this: &WebGl2RenderingContext) -> Option<WebGlFramebuffer>5269 pub fn create_framebuffer(this: &WebGl2RenderingContext) -> Option<WebGlFramebuffer>; 5270 #[cfg(feature = "WebGlProgram")] 5271 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createProgram)] 5272 #[doc = "The `createProgram()` method."] 5273 #[doc = ""] 5274 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createProgram)"] 5275 #[doc = ""] 5276 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] create_program(this: &WebGl2RenderingContext) -> Option<WebGlProgram>5277 pub fn create_program(this: &WebGl2RenderingContext) -> Option<WebGlProgram>; 5278 #[cfg(feature = "WebGlRenderbuffer")] 5279 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createRenderbuffer)] 5280 #[doc = "The `createRenderbuffer()` method."] 5281 #[doc = ""] 5282 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createRenderbuffer)"] 5283 #[doc = ""] 5284 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"] create_renderbuffer(this: &WebGl2RenderingContext) -> Option<WebGlRenderbuffer>5285 pub fn create_renderbuffer(this: &WebGl2RenderingContext) -> Option<WebGlRenderbuffer>; 5286 #[cfg(feature = "WebGlShader")] 5287 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createShader)] 5288 #[doc = "The `createShader()` method."] 5289 #[doc = ""] 5290 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createShader)"] 5291 #[doc = ""] 5292 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"] create_shader(this: &WebGl2RenderingContext, type_: u32) -> Option<WebGlShader>5293 pub fn create_shader(this: &WebGl2RenderingContext, type_: u32) -> Option<WebGlShader>; 5294 #[cfg(feature = "WebGlTexture")] 5295 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createTexture)] 5296 #[doc = "The `createTexture()` method."] 5297 #[doc = ""] 5298 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTexture)"] 5299 #[doc = ""] 5300 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"] create_texture(this: &WebGl2RenderingContext) -> Option<WebGlTexture>5301 pub fn create_texture(this: &WebGl2RenderingContext) -> Option<WebGlTexture>; 5302 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = cullFace)] 5303 #[doc = "The `cullFace()` method."] 5304 #[doc = ""] 5305 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/cullFace)"] 5306 #[doc = ""] 5307 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] cull_face(this: &WebGl2RenderingContext, mode: u32)5308 pub fn cull_face(this: &WebGl2RenderingContext, mode: u32); 5309 #[cfg(feature = "WebGlBuffer")] 5310 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteBuffer)] 5311 #[doc = "The `deleteBuffer()` method."] 5312 #[doc = ""] 5313 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteBuffer)"] 5314 #[doc = ""] 5315 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"] delete_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>)5316 pub fn delete_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>); 5317 #[cfg(feature = "WebGlFramebuffer")] 5318 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteFramebuffer)] 5319 #[doc = "The `deleteFramebuffer()` method."] 5320 #[doc = ""] 5321 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteFramebuffer)"] 5322 #[doc = ""] 5323 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"] delete_framebuffer( this: &WebGl2RenderingContext, framebuffer: Option<&WebGlFramebuffer>, )5324 pub fn delete_framebuffer( 5325 this: &WebGl2RenderingContext, 5326 framebuffer: Option<&WebGlFramebuffer>, 5327 ); 5328 #[cfg(feature = "WebGlProgram")] 5329 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteProgram)] 5330 #[doc = "The `deleteProgram()` method."] 5331 #[doc = ""] 5332 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteProgram)"] 5333 #[doc = ""] 5334 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] delete_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>)5335 pub fn delete_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>); 5336 #[cfg(feature = "WebGlRenderbuffer")] 5337 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteRenderbuffer)] 5338 #[doc = "The `deleteRenderbuffer()` method."] 5339 #[doc = ""] 5340 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteRenderbuffer)"] 5341 #[doc = ""] 5342 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"] delete_renderbuffer( this: &WebGl2RenderingContext, renderbuffer: Option<&WebGlRenderbuffer>, )5343 pub fn delete_renderbuffer( 5344 this: &WebGl2RenderingContext, 5345 renderbuffer: Option<&WebGlRenderbuffer>, 5346 ); 5347 #[cfg(feature = "WebGlShader")] 5348 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteShader)] 5349 #[doc = "The `deleteShader()` method."] 5350 #[doc = ""] 5351 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteShader)"] 5352 #[doc = ""] 5353 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"] delete_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>)5354 pub fn delete_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>); 5355 #[cfg(feature = "WebGlTexture")] 5356 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteTexture)] 5357 #[doc = "The `deleteTexture()` method."] 5358 #[doc = ""] 5359 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTexture)"] 5360 #[doc = ""] 5361 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"] delete_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>)5362 pub fn delete_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>); 5363 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthFunc)] 5364 #[doc = "The `depthFunc()` method."] 5365 #[doc = ""] 5366 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthFunc)"] 5367 #[doc = ""] 5368 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] depth_func(this: &WebGl2RenderingContext, func: u32)5369 pub fn depth_func(this: &WebGl2RenderingContext, func: u32); 5370 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthMask)] 5371 #[doc = "The `depthMask()` method."] 5372 #[doc = ""] 5373 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthMask)"] 5374 #[doc = ""] 5375 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] depth_mask(this: &WebGl2RenderingContext, flag: bool)5376 pub fn depth_mask(this: &WebGl2RenderingContext, flag: bool); 5377 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthRange)] 5378 #[doc = "The `depthRange()` method."] 5379 #[doc = ""] 5380 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthRange)"] 5381 #[doc = ""] 5382 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] depth_range(this: &WebGl2RenderingContext, z_near: f32, z_far: f32)5383 pub fn depth_range(this: &WebGl2RenderingContext, z_near: f32, z_far: f32); 5384 #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))] 5385 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = detachShader)] 5386 #[doc = "The `detachShader()` method."] 5387 #[doc = ""] 5388 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/detachShader)"] 5389 #[doc = ""] 5390 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"] detach_shader( this: &WebGl2RenderingContext, program: &WebGlProgram, shader: &WebGlShader, )5391 pub fn detach_shader( 5392 this: &WebGl2RenderingContext, 5393 program: &WebGlProgram, 5394 shader: &WebGlShader, 5395 ); 5396 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = disable)] 5397 #[doc = "The `disable()` method."] 5398 #[doc = ""] 5399 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disable)"] 5400 #[doc = ""] 5401 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] disable(this: &WebGl2RenderingContext, cap: u32)5402 pub fn disable(this: &WebGl2RenderingContext, cap: u32); 5403 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = disableVertexAttribArray)] 5404 #[doc = "The `disableVertexAttribArray()` method."] 5405 #[doc = ""] 5406 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disableVertexAttribArray)"] 5407 #[doc = ""] 5408 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] disable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32)5409 pub fn disable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32); 5410 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawArrays)] 5411 #[doc = "The `drawArrays()` method."] 5412 #[doc = ""] 5413 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArrays)"] 5414 #[doc = ""] 5415 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] draw_arrays(this: &WebGl2RenderingContext, mode: u32, first: i32, count: i32)5416 pub fn draw_arrays(this: &WebGl2RenderingContext, mode: u32, first: i32, count: i32); 5417 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements)] 5418 #[doc = "The `drawElements()` method."] 5419 #[doc = ""] 5420 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"] 5421 #[doc = ""] 5422 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] draw_elements_with_i32( this: &WebGl2RenderingContext, mode: u32, count: i32, type_: u32, offset: i32, )5423 pub fn draw_elements_with_i32( 5424 this: &WebGl2RenderingContext, 5425 mode: u32, 5426 count: i32, 5427 type_: u32, 5428 offset: i32, 5429 ); 5430 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements)] 5431 #[doc = "The `drawElements()` method."] 5432 #[doc = ""] 5433 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"] 5434 #[doc = ""] 5435 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] draw_elements_with_f64( this: &WebGl2RenderingContext, mode: u32, count: i32, type_: u32, offset: f64, )5436 pub fn draw_elements_with_f64( 5437 this: &WebGl2RenderingContext, 5438 mode: u32, 5439 count: i32, 5440 type_: u32, 5441 offset: f64, 5442 ); 5443 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = enable)] 5444 #[doc = "The `enable()` method."] 5445 #[doc = ""] 5446 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enable)"] 5447 #[doc = ""] 5448 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] enable(this: &WebGl2RenderingContext, cap: u32)5449 pub fn enable(this: &WebGl2RenderingContext, cap: u32); 5450 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = enableVertexAttribArray)] 5451 #[doc = "The `enableVertexAttribArray()` method."] 5452 #[doc = ""] 5453 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enableVertexAttribArray)"] 5454 #[doc = ""] 5455 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] enable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32)5456 pub fn enable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32); 5457 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = finish)] 5458 #[doc = "The `finish()` method."] 5459 #[doc = ""] 5460 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/finish)"] 5461 #[doc = ""] 5462 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] finish(this: &WebGl2RenderingContext)5463 pub fn finish(this: &WebGl2RenderingContext); 5464 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = flush)] 5465 #[doc = "The `flush()` method."] 5466 #[doc = ""] 5467 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/flush)"] 5468 #[doc = ""] 5469 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] flush(this: &WebGl2RenderingContext)5470 pub fn flush(this: &WebGl2RenderingContext); 5471 #[cfg(feature = "WebGlRenderbuffer")] 5472 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferRenderbuffer)] 5473 #[doc = "The `framebufferRenderbuffer()` method."] 5474 #[doc = ""] 5475 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferRenderbuffer)"] 5476 #[doc = ""] 5477 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"] framebuffer_renderbuffer( this: &WebGl2RenderingContext, target: u32, attachment: u32, renderbuffertarget: u32, renderbuffer: Option<&WebGlRenderbuffer>, )5478 pub fn framebuffer_renderbuffer( 5479 this: &WebGl2RenderingContext, 5480 target: u32, 5481 attachment: u32, 5482 renderbuffertarget: u32, 5483 renderbuffer: Option<&WebGlRenderbuffer>, 5484 ); 5485 #[cfg(feature = "WebGlTexture")] 5486 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTexture2D)] 5487 #[doc = "The `framebufferTexture2D()` method."] 5488 #[doc = ""] 5489 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTexture2D)"] 5490 #[doc = ""] 5491 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"] framebuffer_texture_2d( this: &WebGl2RenderingContext, target: u32, attachment: u32, textarget: u32, texture: Option<&WebGlTexture>, level: i32, )5492 pub fn framebuffer_texture_2d( 5493 this: &WebGl2RenderingContext, 5494 target: u32, 5495 attachment: u32, 5496 textarget: u32, 5497 texture: Option<&WebGlTexture>, 5498 level: i32, 5499 ); 5500 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = frontFace)] 5501 #[doc = "The `frontFace()` method."] 5502 #[doc = ""] 5503 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/frontFace)"] 5504 #[doc = ""] 5505 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] front_face(this: &WebGl2RenderingContext, mode: u32)5506 pub fn front_face(this: &WebGl2RenderingContext, mode: u32); 5507 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = generateMipmap)] 5508 #[doc = "The `generateMipmap()` method."] 5509 #[doc = ""] 5510 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/generateMipmap)"] 5511 #[doc = ""] 5512 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] generate_mipmap(this: &WebGl2RenderingContext, target: u32)5513 pub fn generate_mipmap(this: &WebGl2RenderingContext, target: u32); 5514 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))] 5515 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveAttrib)] 5516 #[doc = "The `getActiveAttrib()` method."] 5517 #[doc = ""] 5518 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveAttrib)"] 5519 #[doc = ""] 5520 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"] get_active_attrib( this: &WebGl2RenderingContext, program: &WebGlProgram, index: u32, ) -> Option<WebGlActiveInfo>5521 pub fn get_active_attrib( 5522 this: &WebGl2RenderingContext, 5523 program: &WebGlProgram, 5524 index: u32, 5525 ) -> Option<WebGlActiveInfo>; 5526 #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))] 5527 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniform)] 5528 #[doc = "The `getActiveUniform()` method."] 5529 #[doc = ""] 5530 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniform)"] 5531 #[doc = ""] 5532 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"] get_active_uniform( this: &WebGl2RenderingContext, program: &WebGlProgram, index: u32, ) -> Option<WebGlActiveInfo>5533 pub fn get_active_uniform( 5534 this: &WebGl2RenderingContext, 5535 program: &WebGlProgram, 5536 index: u32, 5537 ) -> Option<WebGlActiveInfo>; 5538 #[cfg(feature = "WebGlProgram")] 5539 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttachedShaders)] 5540 #[doc = "The `getAttachedShaders()` method."] 5541 #[doc = ""] 5542 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttachedShaders)"] 5543 #[doc = ""] 5544 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] get_attached_shaders( this: &WebGl2RenderingContext, program: &WebGlProgram, ) -> Option<::js_sys::Array>5545 pub fn get_attached_shaders( 5546 this: &WebGl2RenderingContext, 5547 program: &WebGlProgram, 5548 ) -> Option<::js_sys::Array>; 5549 #[cfg(feature = "WebGlProgram")] 5550 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttribLocation)] 5551 #[doc = "The `getAttribLocation()` method."] 5552 #[doc = ""] 5553 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttribLocation)"] 5554 #[doc = ""] 5555 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] get_attrib_location( this: &WebGl2RenderingContext, program: &WebGlProgram, name: &str, ) -> i325556 pub fn get_attrib_location( 5557 this: &WebGl2RenderingContext, 5558 program: &WebGlProgram, 5559 name: &str, 5560 ) -> i32; 5561 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferParameter)] 5562 #[doc = "The `getBufferParameter()` method."] 5563 #[doc = ""] 5564 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferParameter)"] 5565 #[doc = ""] 5566 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_buffer_parameter( this: &WebGl2RenderingContext, target: u32, pname: u32, ) -> ::wasm_bindgen::JsValue5567 pub fn get_buffer_parameter( 5568 this: &WebGl2RenderingContext, 5569 target: u32, 5570 pname: u32, 5571 ) -> ::wasm_bindgen::JsValue; 5572 #[cfg(feature = "WebGlContextAttributes")] 5573 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getContextAttributes)] 5574 #[doc = "The `getContextAttributes()` method."] 5575 #[doc = ""] 5576 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getContextAttributes)"] 5577 #[doc = ""] 5578 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlContextAttributes`*"] get_context_attributes(this: &WebGl2RenderingContext) -> Option<WebGlContextAttributes>5579 pub fn get_context_attributes(this: &WebGl2RenderingContext) -> Option<WebGlContextAttributes>; 5580 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getError)] 5581 #[doc = "The `getError()` method."] 5582 #[doc = ""] 5583 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getError)"] 5584 #[doc = ""] 5585 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_error(this: &WebGl2RenderingContext) -> u325586 pub fn get_error(this: &WebGl2RenderingContext) -> u32; 5587 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getExtension)] 5588 #[doc = "The `getExtension()` method."] 5589 #[doc = ""] 5590 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getExtension)"] 5591 #[doc = ""] 5592 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_extension( this: &WebGl2RenderingContext, name: &str, ) -> Result<Option<::js_sys::Object>, JsValue>5593 pub fn get_extension( 5594 this: &WebGl2RenderingContext, 5595 name: &str, 5596 ) -> Result<Option<::js_sys::Object>, JsValue>; 5597 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getFramebufferAttachmentParameter)] 5598 #[doc = "The `getFramebufferAttachmentParameter()` method."] 5599 #[doc = ""] 5600 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFramebufferAttachmentParameter)"] 5601 #[doc = ""] 5602 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_framebuffer_attachment_parameter( this: &WebGl2RenderingContext, target: u32, attachment: u32, pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>5603 pub fn get_framebuffer_attachment_parameter( 5604 this: &WebGl2RenderingContext, 5605 target: u32, 5606 attachment: u32, 5607 pname: u32, 5608 ) -> Result<::wasm_bindgen::JsValue, JsValue>; 5609 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getParameter)] 5610 #[doc = "The `getParameter()` method."] 5611 #[doc = ""] 5612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getParameter)"] 5613 #[doc = ""] 5614 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_parameter( this: &WebGl2RenderingContext, pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>5615 pub fn get_parameter( 5616 this: &WebGl2RenderingContext, 5617 pname: u32, 5618 ) -> Result<::wasm_bindgen::JsValue, JsValue>; 5619 #[cfg(feature = "WebGlProgram")] 5620 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramInfoLog)] 5621 #[doc = "The `getProgramInfoLog()` method."] 5622 #[doc = ""] 5623 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramInfoLog)"] 5624 #[doc = ""] 5625 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] get_program_info_log( this: &WebGl2RenderingContext, program: &WebGlProgram, ) -> Option<String>5626 pub fn get_program_info_log( 5627 this: &WebGl2RenderingContext, 5628 program: &WebGlProgram, 5629 ) -> Option<String>; 5630 #[cfg(feature = "WebGlProgram")] 5631 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramParameter)] 5632 #[doc = "The `getProgramParameter()` method."] 5633 #[doc = ""] 5634 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramParameter)"] 5635 #[doc = ""] 5636 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] get_program_parameter( this: &WebGl2RenderingContext, program: &WebGlProgram, pname: u32, ) -> ::wasm_bindgen::JsValue5637 pub fn get_program_parameter( 5638 this: &WebGl2RenderingContext, 5639 program: &WebGlProgram, 5640 pname: u32, 5641 ) -> ::wasm_bindgen::JsValue; 5642 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getRenderbufferParameter)] 5643 #[doc = "The `getRenderbufferParameter()` method."] 5644 #[doc = ""] 5645 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getRenderbufferParameter)"] 5646 #[doc = ""] 5647 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_renderbuffer_parameter( this: &WebGl2RenderingContext, target: u32, pname: u32, ) -> ::wasm_bindgen::JsValue5648 pub fn get_renderbuffer_parameter( 5649 this: &WebGl2RenderingContext, 5650 target: u32, 5651 pname: u32, 5652 ) -> ::wasm_bindgen::JsValue; 5653 #[cfg(feature = "WebGlShader")] 5654 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderInfoLog)] 5655 #[doc = "The `getShaderInfoLog()` method."] 5656 #[doc = ""] 5657 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderInfoLog)"] 5658 #[doc = ""] 5659 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"] get_shader_info_log( this: &WebGl2RenderingContext, shader: &WebGlShader, ) -> Option<String>5660 pub fn get_shader_info_log( 5661 this: &WebGl2RenderingContext, 5662 shader: &WebGlShader, 5663 ) -> Option<String>; 5664 #[cfg(feature = "WebGlShader")] 5665 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderParameter)] 5666 #[doc = "The `getShaderParameter()` method."] 5667 #[doc = ""] 5668 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderParameter)"] 5669 #[doc = ""] 5670 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"] get_shader_parameter( this: &WebGl2RenderingContext, shader: &WebGlShader, pname: u32, ) -> ::wasm_bindgen::JsValue5671 pub fn get_shader_parameter( 5672 this: &WebGl2RenderingContext, 5673 shader: &WebGlShader, 5674 pname: u32, 5675 ) -> ::wasm_bindgen::JsValue; 5676 #[cfg(feature = "WebGlShaderPrecisionFormat")] 5677 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderPrecisionFormat)] 5678 #[doc = "The `getShaderPrecisionFormat()` method."] 5679 #[doc = ""] 5680 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderPrecisionFormat)"] 5681 #[doc = ""] 5682 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShaderPrecisionFormat`*"] get_shader_precision_format( this: &WebGl2RenderingContext, shadertype: u32, precisiontype: u32, ) -> Option<WebGlShaderPrecisionFormat>5683 pub fn get_shader_precision_format( 5684 this: &WebGl2RenderingContext, 5685 shadertype: u32, 5686 precisiontype: u32, 5687 ) -> Option<WebGlShaderPrecisionFormat>; 5688 #[cfg(feature = "WebGlShader")] 5689 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderSource)] 5690 #[doc = "The `getShaderSource()` method."] 5691 #[doc = ""] 5692 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderSource)"] 5693 #[doc = ""] 5694 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"] get_shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader) -> Option<String>5695 pub fn get_shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader) 5696 -> Option<String>; 5697 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSupportedExtensions)] 5698 #[doc = "The `getSupportedExtensions()` method."] 5699 #[doc = ""] 5700 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSupportedExtensions)"] 5701 #[doc = ""] 5702 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_supported_extensions(this: &WebGl2RenderingContext) -> Option<::js_sys::Array>5703 pub fn get_supported_extensions(this: &WebGl2RenderingContext) -> Option<::js_sys::Array>; 5704 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getTexParameter)] 5705 #[doc = "The `getTexParameter()` method."] 5706 #[doc = ""] 5707 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTexParameter)"] 5708 #[doc = ""] 5709 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_tex_parameter( this: &WebGl2RenderingContext, target: u32, pname: u32, ) -> ::wasm_bindgen::JsValue5710 pub fn get_tex_parameter( 5711 this: &WebGl2RenderingContext, 5712 target: u32, 5713 pname: u32, 5714 ) -> ::wasm_bindgen::JsValue; 5715 #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))] 5716 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniform)] 5717 #[doc = "The `getUniform()` method."] 5718 #[doc = ""] 5719 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniform)"] 5720 #[doc = ""] 5721 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"] get_uniform( this: &WebGl2RenderingContext, program: &WebGlProgram, location: &WebGlUniformLocation, ) -> ::wasm_bindgen::JsValue5722 pub fn get_uniform( 5723 this: &WebGl2RenderingContext, 5724 program: &WebGlProgram, 5725 location: &WebGlUniformLocation, 5726 ) -> ::wasm_bindgen::JsValue; 5727 #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))] 5728 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformLocation)] 5729 #[doc = "The `getUniformLocation()` method."] 5730 #[doc = ""] 5731 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformLocation)"] 5732 #[doc = ""] 5733 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"] get_uniform_location( this: &WebGl2RenderingContext, program: &WebGlProgram, name: &str, ) -> Option<WebGlUniformLocation>5734 pub fn get_uniform_location( 5735 this: &WebGl2RenderingContext, 5736 program: &WebGlProgram, 5737 name: &str, 5738 ) -> Option<WebGlUniformLocation>; 5739 # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttrib)] 5740 #[doc = "The `getVertexAttrib()` method."] 5741 #[doc = ""] 5742 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttrib)"] 5743 #[doc = ""] 5744 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_vertex_attrib( this: &WebGl2RenderingContext, index: u32, pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>5745 pub fn get_vertex_attrib( 5746 this: &WebGl2RenderingContext, 5747 index: u32, 5748 pname: u32, 5749 ) -> Result<::wasm_bindgen::JsValue, JsValue>; 5750 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttribOffset)] 5751 #[doc = "The `getVertexAttribOffset()` method."] 5752 #[doc = ""] 5753 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttribOffset)"] 5754 #[doc = ""] 5755 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] get_vertex_attrib_offset(this: &WebGl2RenderingContext, index: u32, pname: u32) -> f645756 pub fn get_vertex_attrib_offset(this: &WebGl2RenderingContext, index: u32, pname: u32) -> f64; 5757 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = hint)] 5758 #[doc = "The `hint()` method."] 5759 #[doc = ""] 5760 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/hint)"] 5761 #[doc = ""] 5762 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] hint(this: &WebGl2RenderingContext, target: u32, mode: u32)5763 pub fn hint(this: &WebGl2RenderingContext, target: u32, mode: u32); 5764 #[cfg(feature = "WebGlBuffer")] 5765 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isBuffer)] 5766 #[doc = "The `isBuffer()` method."] 5767 #[doc = ""] 5768 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isBuffer)"] 5769 #[doc = ""] 5770 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"] is_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>) -> bool5771 pub fn is_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>) -> bool; 5772 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isContextLost)] 5773 #[doc = "The `isContextLost()` method."] 5774 #[doc = ""] 5775 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isContextLost)"] 5776 #[doc = ""] 5777 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] is_context_lost(this: &WebGl2RenderingContext) -> bool5778 pub fn is_context_lost(this: &WebGl2RenderingContext) -> bool; 5779 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isEnabled)] 5780 #[doc = "The `isEnabled()` method."] 5781 #[doc = ""] 5782 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isEnabled)"] 5783 #[doc = ""] 5784 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] is_enabled(this: &WebGl2RenderingContext, cap: u32) -> bool5785 pub fn is_enabled(this: &WebGl2RenderingContext, cap: u32) -> bool; 5786 #[cfg(feature = "WebGlFramebuffer")] 5787 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isFramebuffer)] 5788 #[doc = "The `isFramebuffer()` method."] 5789 #[doc = ""] 5790 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isFramebuffer)"] 5791 #[doc = ""] 5792 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"] is_framebuffer( this: &WebGl2RenderingContext, framebuffer: Option<&WebGlFramebuffer>, ) -> bool5793 pub fn is_framebuffer( 5794 this: &WebGl2RenderingContext, 5795 framebuffer: Option<&WebGlFramebuffer>, 5796 ) -> bool; 5797 #[cfg(feature = "WebGlProgram")] 5798 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isProgram)] 5799 #[doc = "The `isProgram()` method."] 5800 #[doc = ""] 5801 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isProgram)"] 5802 #[doc = ""] 5803 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] is_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>) -> bool5804 pub fn is_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>) -> bool; 5805 #[cfg(feature = "WebGlRenderbuffer")] 5806 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isRenderbuffer)] 5807 #[doc = "The `isRenderbuffer()` method."] 5808 #[doc = ""] 5809 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isRenderbuffer)"] 5810 #[doc = ""] 5811 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"] is_renderbuffer( this: &WebGl2RenderingContext, renderbuffer: Option<&WebGlRenderbuffer>, ) -> bool5812 pub fn is_renderbuffer( 5813 this: &WebGl2RenderingContext, 5814 renderbuffer: Option<&WebGlRenderbuffer>, 5815 ) -> bool; 5816 #[cfg(feature = "WebGlShader")] 5817 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isShader)] 5818 #[doc = "The `isShader()` method."] 5819 #[doc = ""] 5820 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isShader)"] 5821 #[doc = ""] 5822 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"] is_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>) -> bool5823 pub fn is_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>) -> bool; 5824 #[cfg(feature = "WebGlTexture")] 5825 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isTexture)] 5826 #[doc = "The `isTexture()` method."] 5827 #[doc = ""] 5828 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTexture)"] 5829 #[doc = ""] 5830 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"] is_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>) -> bool5831 pub fn is_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>) -> bool; 5832 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = lineWidth)] 5833 #[doc = "The `lineWidth()` method."] 5834 #[doc = ""] 5835 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/lineWidth)"] 5836 #[doc = ""] 5837 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] line_width(this: &WebGl2RenderingContext, width: f32)5838 pub fn line_width(this: &WebGl2RenderingContext, width: f32); 5839 #[cfg(feature = "WebGlProgram")] 5840 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = linkProgram)] 5841 #[doc = "The `linkProgram()` method."] 5842 #[doc = ""] 5843 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/linkProgram)"] 5844 #[doc = ""] 5845 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] link_program(this: &WebGl2RenderingContext, program: &WebGlProgram)5846 pub fn link_program(this: &WebGl2RenderingContext, program: &WebGlProgram); 5847 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = makeXRCompatible)] 5848 #[doc = "The `makeXRCompatible()` method."] 5849 #[doc = ""] 5850 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/makeXRCompatible)"] 5851 #[doc = ""] 5852 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] make_xr_compatible(this: &WebGl2RenderingContext) -> ::js_sys::Promise5853 pub fn make_xr_compatible(this: &WebGl2RenderingContext) -> ::js_sys::Promise; 5854 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = pixelStorei)] 5855 #[doc = "The `pixelStorei()` method."] 5856 #[doc = ""] 5857 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pixelStorei)"] 5858 #[doc = ""] 5859 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] pixel_storei(this: &WebGl2RenderingContext, pname: u32, param: i32)5860 pub fn pixel_storei(this: &WebGl2RenderingContext, pname: u32, param: i32); 5861 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = polygonOffset)] 5862 #[doc = "The `polygonOffset()` method."] 5863 #[doc = ""] 5864 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/polygonOffset)"] 5865 #[doc = ""] 5866 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] polygon_offset(this: &WebGl2RenderingContext, factor: f32, units: f32)5867 pub fn polygon_offset(this: &WebGl2RenderingContext, factor: f32, units: f32); 5868 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorage)] 5869 #[doc = "The `renderbufferStorage()` method."] 5870 #[doc = ""] 5871 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorage)"] 5872 #[doc = ""] 5873 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] renderbuffer_storage( this: &WebGl2RenderingContext, target: u32, internalformat: u32, width: i32, height: i32, )5874 pub fn renderbuffer_storage( 5875 this: &WebGl2RenderingContext, 5876 target: u32, 5877 internalformat: u32, 5878 width: i32, 5879 height: i32, 5880 ); 5881 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = sampleCoverage)] 5882 #[doc = "The `sampleCoverage()` method."] 5883 #[doc = ""] 5884 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/sampleCoverage)"] 5885 #[doc = ""] 5886 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] sample_coverage(this: &WebGl2RenderingContext, value: f32, invert: bool)5887 pub fn sample_coverage(this: &WebGl2RenderingContext, value: f32, invert: bool); 5888 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = scissor)] 5889 #[doc = "The `scissor()` method."] 5890 #[doc = ""] 5891 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/scissor)"] 5892 #[doc = ""] 5893 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] scissor(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32)5894 pub fn scissor(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32); 5895 #[cfg(feature = "WebGlShader")] 5896 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = shaderSource)] 5897 #[doc = "The `shaderSource()` method."] 5898 #[doc = ""] 5899 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/shaderSource)"] 5900 #[doc = ""] 5901 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"] shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader, source: &str)5902 pub fn shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader, source: &str); 5903 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFunc)] 5904 #[doc = "The `stencilFunc()` method."] 5905 #[doc = ""] 5906 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFunc)"] 5907 #[doc = ""] 5908 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] stencil_func(this: &WebGl2RenderingContext, func: u32, ref_: i32, mask: u32)5909 pub fn stencil_func(this: &WebGl2RenderingContext, func: u32, ref_: i32, mask: u32); 5910 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFuncSeparate)] 5911 #[doc = "The `stencilFuncSeparate()` method."] 5912 #[doc = ""] 5913 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFuncSeparate)"] 5914 #[doc = ""] 5915 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] stencil_func_separate( this: &WebGl2RenderingContext, face: u32, func: u32, ref_: i32, mask: u32, )5916 pub fn stencil_func_separate( 5917 this: &WebGl2RenderingContext, 5918 face: u32, 5919 func: u32, 5920 ref_: i32, 5921 mask: u32, 5922 ); 5923 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMask)] 5924 #[doc = "The `stencilMask()` method."] 5925 #[doc = ""] 5926 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMask)"] 5927 #[doc = ""] 5928 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] stencil_mask(this: &WebGl2RenderingContext, mask: u32)5929 pub fn stencil_mask(this: &WebGl2RenderingContext, mask: u32); 5930 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMaskSeparate)] 5931 #[doc = "The `stencilMaskSeparate()` method."] 5932 #[doc = ""] 5933 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMaskSeparate)"] 5934 #[doc = ""] 5935 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] stencil_mask_separate(this: &WebGl2RenderingContext, face: u32, mask: u32)5936 pub fn stencil_mask_separate(this: &WebGl2RenderingContext, face: u32, mask: u32); 5937 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOp)] 5938 #[doc = "The `stencilOp()` method."] 5939 #[doc = ""] 5940 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOp)"] 5941 #[doc = ""] 5942 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] stencil_op(this: &WebGl2RenderingContext, fail: u32, zfail: u32, zpass: u32)5943 pub fn stencil_op(this: &WebGl2RenderingContext, fail: u32, zfail: u32, zpass: u32); 5944 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOpSeparate)] 5945 #[doc = "The `stencilOpSeparate()` method."] 5946 #[doc = ""] 5947 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOpSeparate)"] 5948 #[doc = ""] 5949 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] stencil_op_separate( this: &WebGl2RenderingContext, face: u32, fail: u32, zfail: u32, zpass: u32, )5950 pub fn stencil_op_separate( 5951 this: &WebGl2RenderingContext, 5952 face: u32, 5953 fail: u32, 5954 zfail: u32, 5955 zpass: u32, 5956 ); 5957 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameterf)] 5958 #[doc = "The `texParameterf()` method."] 5959 #[doc = ""] 5960 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameterf)"] 5961 #[doc = ""] 5962 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_parameterf(this: &WebGl2RenderingContext, target: u32, pname: u32, param: f32)5963 pub fn tex_parameterf(this: &WebGl2RenderingContext, target: u32, pname: u32, param: f32); 5964 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameteri)] 5965 #[doc = "The `texParameteri()` method."] 5966 #[doc = ""] 5967 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameteri)"] 5968 #[doc = ""] 5969 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] tex_parameteri(this: &WebGl2RenderingContext, target: u32, pname: u32, param: i32)5970 pub fn tex_parameteri(this: &WebGl2RenderingContext, target: u32, pname: u32, param: i32); 5971 #[cfg(feature = "WebGlUniformLocation")] 5972 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1f)] 5973 #[doc = "The `uniform1f()` method."] 5974 #[doc = ""] 5975 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1f)"] 5976 #[doc = ""] 5977 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1f( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, x: f32, )5978 pub fn uniform1f( 5979 this: &WebGl2RenderingContext, 5980 location: Option<&WebGlUniformLocation>, 5981 x: f32, 5982 ); 5983 #[cfg(feature = "WebGlUniformLocation")] 5984 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1i)] 5985 #[doc = "The `uniform1i()` method."] 5986 #[doc = ""] 5987 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1i)"] 5988 #[doc = ""] 5989 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform1i( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, x: i32, )5990 pub fn uniform1i( 5991 this: &WebGl2RenderingContext, 5992 location: Option<&WebGlUniformLocation>, 5993 x: i32, 5994 ); 5995 #[cfg(feature = "WebGlUniformLocation")] 5996 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2f)] 5997 #[doc = "The `uniform2f()` method."] 5998 #[doc = ""] 5999 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2f)"] 6000 #[doc = ""] 6001 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2f( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, x: f32, y: f32, )6002 pub fn uniform2f( 6003 this: &WebGl2RenderingContext, 6004 location: Option<&WebGlUniformLocation>, 6005 x: f32, 6006 y: f32, 6007 ); 6008 #[cfg(feature = "WebGlUniformLocation")] 6009 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2i)] 6010 #[doc = "The `uniform2i()` method."] 6011 #[doc = ""] 6012 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2i)"] 6013 #[doc = ""] 6014 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform2i( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, x: i32, y: i32, )6015 pub fn uniform2i( 6016 this: &WebGl2RenderingContext, 6017 location: Option<&WebGlUniformLocation>, 6018 x: i32, 6019 y: i32, 6020 ); 6021 #[cfg(feature = "WebGlUniformLocation")] 6022 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3f)] 6023 #[doc = "The `uniform3f()` method."] 6024 #[doc = ""] 6025 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3f)"] 6026 #[doc = ""] 6027 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3f( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, x: f32, y: f32, z: f32, )6028 pub fn uniform3f( 6029 this: &WebGl2RenderingContext, 6030 location: Option<&WebGlUniformLocation>, 6031 x: f32, 6032 y: f32, 6033 z: f32, 6034 ); 6035 #[cfg(feature = "WebGlUniformLocation")] 6036 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3i)] 6037 #[doc = "The `uniform3i()` method."] 6038 #[doc = ""] 6039 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3i)"] 6040 #[doc = ""] 6041 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform3i( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, x: i32, y: i32, z: i32, )6042 pub fn uniform3i( 6043 this: &WebGl2RenderingContext, 6044 location: Option<&WebGlUniformLocation>, 6045 x: i32, 6046 y: i32, 6047 z: i32, 6048 ); 6049 #[cfg(feature = "WebGlUniformLocation")] 6050 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4f)] 6051 #[doc = "The `uniform4f()` method."] 6052 #[doc = ""] 6053 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4f)"] 6054 #[doc = ""] 6055 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4f( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, x: f32, y: f32, z: f32, w: f32, )6056 pub fn uniform4f( 6057 this: &WebGl2RenderingContext, 6058 location: Option<&WebGlUniformLocation>, 6059 x: f32, 6060 y: f32, 6061 z: f32, 6062 w: f32, 6063 ); 6064 #[cfg(feature = "WebGlUniformLocation")] 6065 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4i)] 6066 #[doc = "The `uniform4i()` method."] 6067 #[doc = ""] 6068 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4i)"] 6069 #[doc = ""] 6070 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"] uniform4i( this: &WebGl2RenderingContext, location: Option<&WebGlUniformLocation>, x: i32, y: i32, z: i32, w: i32, )6071 pub fn uniform4i( 6072 this: &WebGl2RenderingContext, 6073 location: Option<&WebGlUniformLocation>, 6074 x: i32, 6075 y: i32, 6076 z: i32, 6077 w: i32, 6078 ); 6079 #[cfg(feature = "WebGlProgram")] 6080 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = useProgram)] 6081 #[doc = "The `useProgram()` method."] 6082 #[doc = ""] 6083 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/useProgram)"] 6084 #[doc = ""] 6085 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] use_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>)6086 pub fn use_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>); 6087 #[cfg(feature = "WebGlProgram")] 6088 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = validateProgram)] 6089 #[doc = "The `validateProgram()` method."] 6090 #[doc = ""] 6091 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/validateProgram)"] 6092 #[doc = ""] 6093 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] validate_program(this: &WebGl2RenderingContext, program: &WebGlProgram)6094 pub fn validate_program(this: &WebGl2RenderingContext, program: &WebGlProgram); 6095 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1f)] 6096 #[doc = "The `vertexAttrib1f()` method."] 6097 #[doc = ""] 6098 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1f)"] 6099 #[doc = ""] 6100 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib1f(this: &WebGl2RenderingContext, indx: u32, x: f32)6101 pub fn vertex_attrib1f(this: &WebGl2RenderingContext, indx: u32, x: f32); 6102 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)] 6103 #[doc = "The `vertexAttrib1fv()` method."] 6104 #[doc = ""] 6105 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"] 6106 #[doc = ""] 6107 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib1fv_with_f32_array( this: &WebGl2RenderingContext, indx: u32, values: &[f32], )6108 pub fn vertex_attrib1fv_with_f32_array( 6109 this: &WebGl2RenderingContext, 6110 indx: u32, 6111 values: &[f32], 6112 ); 6113 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)] 6114 #[doc = "The `vertexAttrib1fv()` method."] 6115 #[doc = ""] 6116 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"] 6117 #[doc = ""] 6118 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib1fv_with_f32_sequence( this: &WebGl2RenderingContext, indx: u32, values: &::wasm_bindgen::JsValue, )6119 pub fn vertex_attrib1fv_with_f32_sequence( 6120 this: &WebGl2RenderingContext, 6121 indx: u32, 6122 values: &::wasm_bindgen::JsValue, 6123 ); 6124 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2f)] 6125 #[doc = "The `vertexAttrib2f()` method."] 6126 #[doc = ""] 6127 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2f)"] 6128 #[doc = ""] 6129 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib2f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32)6130 pub fn vertex_attrib2f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32); 6131 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)] 6132 #[doc = "The `vertexAttrib2fv()` method."] 6133 #[doc = ""] 6134 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"] 6135 #[doc = ""] 6136 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib2fv_with_f32_array( this: &WebGl2RenderingContext, indx: u32, values: &[f32], )6137 pub fn vertex_attrib2fv_with_f32_array( 6138 this: &WebGl2RenderingContext, 6139 indx: u32, 6140 values: &[f32], 6141 ); 6142 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)] 6143 #[doc = "The `vertexAttrib2fv()` method."] 6144 #[doc = ""] 6145 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"] 6146 #[doc = ""] 6147 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib2fv_with_f32_sequence( this: &WebGl2RenderingContext, indx: u32, values: &::wasm_bindgen::JsValue, )6148 pub fn vertex_attrib2fv_with_f32_sequence( 6149 this: &WebGl2RenderingContext, 6150 indx: u32, 6151 values: &::wasm_bindgen::JsValue, 6152 ); 6153 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3f)] 6154 #[doc = "The `vertexAttrib3f()` method."] 6155 #[doc = ""] 6156 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3f)"] 6157 #[doc = ""] 6158 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib3f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32, z: f32)6159 pub fn vertex_attrib3f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32, z: f32); 6160 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)] 6161 #[doc = "The `vertexAttrib3fv()` method."] 6162 #[doc = ""] 6163 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"] 6164 #[doc = ""] 6165 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib3fv_with_f32_array( this: &WebGl2RenderingContext, indx: u32, values: &[f32], )6166 pub fn vertex_attrib3fv_with_f32_array( 6167 this: &WebGl2RenderingContext, 6168 indx: u32, 6169 values: &[f32], 6170 ); 6171 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)] 6172 #[doc = "The `vertexAttrib3fv()` method."] 6173 #[doc = ""] 6174 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"] 6175 #[doc = ""] 6176 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib3fv_with_f32_sequence( this: &WebGl2RenderingContext, indx: u32, values: &::wasm_bindgen::JsValue, )6177 pub fn vertex_attrib3fv_with_f32_sequence( 6178 this: &WebGl2RenderingContext, 6179 indx: u32, 6180 values: &::wasm_bindgen::JsValue, 6181 ); 6182 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4f)] 6183 #[doc = "The `vertexAttrib4f()` method."] 6184 #[doc = ""] 6185 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4f)"] 6186 #[doc = ""] 6187 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib4f( this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32, z: f32, w: f32, )6188 pub fn vertex_attrib4f( 6189 this: &WebGl2RenderingContext, 6190 indx: u32, 6191 x: f32, 6192 y: f32, 6193 z: f32, 6194 w: f32, 6195 ); 6196 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)] 6197 #[doc = "The `vertexAttrib4fv()` method."] 6198 #[doc = ""] 6199 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"] 6200 #[doc = ""] 6201 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib4fv_with_f32_array( this: &WebGl2RenderingContext, indx: u32, values: &[f32], )6202 pub fn vertex_attrib4fv_with_f32_array( 6203 this: &WebGl2RenderingContext, 6204 indx: u32, 6205 values: &[f32], 6206 ); 6207 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)] 6208 #[doc = "The `vertexAttrib4fv()` method."] 6209 #[doc = ""] 6210 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"] 6211 #[doc = ""] 6212 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib4fv_with_f32_sequence( this: &WebGl2RenderingContext, indx: u32, values: &::wasm_bindgen::JsValue, )6213 pub fn vertex_attrib4fv_with_f32_sequence( 6214 this: &WebGl2RenderingContext, 6215 indx: u32, 6216 values: &::wasm_bindgen::JsValue, 6217 ); 6218 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)] 6219 #[doc = "The `vertexAttribPointer()` method."] 6220 #[doc = ""] 6221 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"] 6222 #[doc = ""] 6223 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_pointer_with_i32( this: &WebGl2RenderingContext, indx: u32, size: i32, type_: u32, normalized: bool, stride: i32, offset: i32, )6224 pub fn vertex_attrib_pointer_with_i32( 6225 this: &WebGl2RenderingContext, 6226 indx: u32, 6227 size: i32, 6228 type_: u32, 6229 normalized: bool, 6230 stride: i32, 6231 offset: i32, 6232 ); 6233 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)] 6234 #[doc = "The `vertexAttribPointer()` method."] 6235 #[doc = ""] 6236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"] 6237 #[doc = ""] 6238 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] vertex_attrib_pointer_with_f64( this: &WebGl2RenderingContext, indx: u32, size: i32, type_: u32, normalized: bool, stride: i32, offset: f64, )6239 pub fn vertex_attrib_pointer_with_f64( 6240 this: &WebGl2RenderingContext, 6241 indx: u32, 6242 size: i32, 6243 type_: u32, 6244 normalized: bool, 6245 stride: i32, 6246 offset: f64, 6247 ); 6248 # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = viewport)] 6249 #[doc = "The `viewport()` method."] 6250 #[doc = ""] 6251 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/viewport)"] 6252 #[doc = ""] 6253 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] viewport(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32)6254 pub fn viewport(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32); 6255 } 6256 impl WebGl2RenderingContext { 6257 #[doc = "The `WebGL2RenderingContext.READ_BUFFER` const."] 6258 #[doc = ""] 6259 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6260 pub const READ_BUFFER: u32 = 3074u64 as u32; 6261 #[doc = "The `WebGL2RenderingContext.UNPACK_ROW_LENGTH` const."] 6262 #[doc = ""] 6263 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6264 pub const UNPACK_ROW_LENGTH: u32 = 3314u64 as u32; 6265 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_ROWS` const."] 6266 #[doc = ""] 6267 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6268 pub const UNPACK_SKIP_ROWS: u32 = 3315u64 as u32; 6269 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_PIXELS` const."] 6270 #[doc = ""] 6271 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6272 pub const UNPACK_SKIP_PIXELS: u32 = 3316u64 as u32; 6273 #[doc = "The `WebGL2RenderingContext.PACK_ROW_LENGTH` const."] 6274 #[doc = ""] 6275 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6276 pub const PACK_ROW_LENGTH: u32 = 3330u64 as u32; 6277 #[doc = "The `WebGL2RenderingContext.PACK_SKIP_ROWS` const."] 6278 #[doc = ""] 6279 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6280 pub const PACK_SKIP_ROWS: u32 = 3331u64 as u32; 6281 #[doc = "The `WebGL2RenderingContext.PACK_SKIP_PIXELS` const."] 6282 #[doc = ""] 6283 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6284 pub const PACK_SKIP_PIXELS: u32 = 3332u64 as u32; 6285 #[doc = "The `WebGL2RenderingContext.COLOR` const."] 6286 #[doc = ""] 6287 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6288 pub const COLOR: u32 = 6144u64 as u32; 6289 #[doc = "The `WebGL2RenderingContext.DEPTH` const."] 6290 #[doc = ""] 6291 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6292 pub const DEPTH: u32 = 6145u64 as u32; 6293 #[doc = "The `WebGL2RenderingContext.STENCIL` const."] 6294 #[doc = ""] 6295 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6296 pub const STENCIL: u32 = 6146u64 as u32; 6297 #[doc = "The `WebGL2RenderingContext.RED` const."] 6298 #[doc = ""] 6299 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6300 pub const RED: u32 = 6403u64 as u32; 6301 #[doc = "The `WebGL2RenderingContext.RGB8` const."] 6302 #[doc = ""] 6303 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6304 pub const RGB8: u32 = 32849u64 as u32; 6305 #[doc = "The `WebGL2RenderingContext.RGBA8` const."] 6306 #[doc = ""] 6307 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6308 pub const RGBA8: u32 = 32856u64 as u32; 6309 #[doc = "The `WebGL2RenderingContext.RGB10_A2` const."] 6310 #[doc = ""] 6311 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6312 pub const RGB10_A2: u32 = 32857u64 as u32; 6313 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_3D` const."] 6314 #[doc = ""] 6315 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6316 pub const TEXTURE_BINDING_3D: u32 = 32874u64 as u32; 6317 #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_IMAGES` const."] 6318 #[doc = ""] 6319 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6320 pub const UNPACK_SKIP_IMAGES: u32 = 32877u64 as u32; 6321 #[doc = "The `WebGL2RenderingContext.UNPACK_IMAGE_HEIGHT` const."] 6322 #[doc = ""] 6323 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6324 pub const UNPACK_IMAGE_HEIGHT: u32 = 32878u64 as u32; 6325 #[doc = "The `WebGL2RenderingContext.TEXTURE_3D` const."] 6326 #[doc = ""] 6327 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6328 pub const TEXTURE_3D: u32 = 32879u64 as u32; 6329 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_R` const."] 6330 #[doc = ""] 6331 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6332 pub const TEXTURE_WRAP_R: u32 = 32882u64 as u32; 6333 #[doc = "The `WebGL2RenderingContext.MAX_3D_TEXTURE_SIZE` const."] 6334 #[doc = ""] 6335 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6336 pub const MAX_3D_TEXTURE_SIZE: u32 = 32883u64 as u32; 6337 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_2_10_10_10_REV` const."] 6338 #[doc = ""] 6339 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6340 pub const UNSIGNED_INT_2_10_10_10_REV: u32 = 33640u64 as u32; 6341 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_VERTICES` const."] 6342 #[doc = ""] 6343 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6344 pub const MAX_ELEMENTS_VERTICES: u32 = 33000u64 as u32; 6345 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_INDICES` const."] 6346 #[doc = ""] 6347 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6348 pub const MAX_ELEMENTS_INDICES: u32 = 33001u64 as u32; 6349 #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_LOD` const."] 6350 #[doc = ""] 6351 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6352 pub const TEXTURE_MIN_LOD: u32 = 33082u64 as u32; 6353 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LOD` const."] 6354 #[doc = ""] 6355 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6356 pub const TEXTURE_MAX_LOD: u32 = 33083u64 as u32; 6357 #[doc = "The `WebGL2RenderingContext.TEXTURE_BASE_LEVEL` const."] 6358 #[doc = ""] 6359 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6360 pub const TEXTURE_BASE_LEVEL: u32 = 33084u64 as u32; 6361 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LEVEL` const."] 6362 #[doc = ""] 6363 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6364 pub const TEXTURE_MAX_LEVEL: u32 = 33085u64 as u32; 6365 #[doc = "The `WebGL2RenderingContext.MIN` const."] 6366 #[doc = ""] 6367 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6368 pub const MIN: u32 = 32775u64 as u32; 6369 #[doc = "The `WebGL2RenderingContext.MAX` const."] 6370 #[doc = ""] 6371 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6372 pub const MAX: u32 = 32776u64 as u32; 6373 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT24` const."] 6374 #[doc = ""] 6375 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6376 pub const DEPTH_COMPONENT24: u32 = 33190u64 as u32; 6377 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_LOD_BIAS` const."] 6378 #[doc = ""] 6379 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6380 pub const MAX_TEXTURE_LOD_BIAS: u32 = 34045u64 as u32; 6381 #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_MODE` const."] 6382 #[doc = ""] 6383 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6384 pub const TEXTURE_COMPARE_MODE: u32 = 34892u64 as u32; 6385 #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_FUNC` const."] 6386 #[doc = ""] 6387 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6388 pub const TEXTURE_COMPARE_FUNC: u32 = 34893u64 as u32; 6389 #[doc = "The `WebGL2RenderingContext.CURRENT_QUERY` const."] 6390 #[doc = ""] 6391 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6392 pub const CURRENT_QUERY: u32 = 34917u64 as u32; 6393 #[doc = "The `WebGL2RenderingContext.QUERY_RESULT` const."] 6394 #[doc = ""] 6395 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6396 pub const QUERY_RESULT: u32 = 34918u64 as u32; 6397 #[doc = "The `WebGL2RenderingContext.QUERY_RESULT_AVAILABLE` const."] 6398 #[doc = ""] 6399 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6400 pub const QUERY_RESULT_AVAILABLE: u32 = 34919u64 as u32; 6401 #[doc = "The `WebGL2RenderingContext.STREAM_READ` const."] 6402 #[doc = ""] 6403 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6404 pub const STREAM_READ: u32 = 35041u64 as u32; 6405 #[doc = "The `WebGL2RenderingContext.STREAM_COPY` const."] 6406 #[doc = ""] 6407 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6408 pub const STREAM_COPY: u32 = 35042u64 as u32; 6409 #[doc = "The `WebGL2RenderingContext.STATIC_READ` const."] 6410 #[doc = ""] 6411 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6412 pub const STATIC_READ: u32 = 35045u64 as u32; 6413 #[doc = "The `WebGL2RenderingContext.STATIC_COPY` const."] 6414 #[doc = ""] 6415 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6416 pub const STATIC_COPY: u32 = 35046u64 as u32; 6417 #[doc = "The `WebGL2RenderingContext.DYNAMIC_READ` const."] 6418 #[doc = ""] 6419 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6420 pub const DYNAMIC_READ: u32 = 35049u64 as u32; 6421 #[doc = "The `WebGL2RenderingContext.DYNAMIC_COPY` const."] 6422 #[doc = ""] 6423 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6424 pub const DYNAMIC_COPY: u32 = 35050u64 as u32; 6425 #[doc = "The `WebGL2RenderingContext.MAX_DRAW_BUFFERS` const."] 6426 #[doc = ""] 6427 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6428 pub const MAX_DRAW_BUFFERS: u32 = 34852u64 as u32; 6429 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER0` const."] 6430 #[doc = ""] 6431 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6432 pub const DRAW_BUFFER0: u32 = 34853u64 as u32; 6433 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER1` const."] 6434 #[doc = ""] 6435 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6436 pub const DRAW_BUFFER1: u32 = 34854u64 as u32; 6437 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER2` const."] 6438 #[doc = ""] 6439 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6440 pub const DRAW_BUFFER2: u32 = 34855u64 as u32; 6441 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER3` const."] 6442 #[doc = ""] 6443 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6444 pub const DRAW_BUFFER3: u32 = 34856u64 as u32; 6445 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER4` const."] 6446 #[doc = ""] 6447 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6448 pub const DRAW_BUFFER4: u32 = 34857u64 as u32; 6449 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER5` const."] 6450 #[doc = ""] 6451 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6452 pub const DRAW_BUFFER5: u32 = 34858u64 as u32; 6453 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER6` const."] 6454 #[doc = ""] 6455 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6456 pub const DRAW_BUFFER6: u32 = 34859u64 as u32; 6457 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER7` const."] 6458 #[doc = ""] 6459 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6460 pub const DRAW_BUFFER7: u32 = 34860u64 as u32; 6461 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER8` const."] 6462 #[doc = ""] 6463 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6464 pub const DRAW_BUFFER8: u32 = 34861u64 as u32; 6465 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER9` const."] 6466 #[doc = ""] 6467 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6468 pub const DRAW_BUFFER9: u32 = 34862u64 as u32; 6469 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER10` const."] 6470 #[doc = ""] 6471 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6472 pub const DRAW_BUFFER10: u32 = 34863u64 as u32; 6473 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER11` const."] 6474 #[doc = ""] 6475 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6476 pub const DRAW_BUFFER11: u32 = 34864u64 as u32; 6477 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER12` const."] 6478 #[doc = ""] 6479 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6480 pub const DRAW_BUFFER12: u32 = 34865u64 as u32; 6481 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER13` const."] 6482 #[doc = ""] 6483 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6484 pub const DRAW_BUFFER13: u32 = 34866u64 as u32; 6485 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER14` const."] 6486 #[doc = ""] 6487 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6488 pub const DRAW_BUFFER14: u32 = 34867u64 as u32; 6489 #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER15` const."] 6490 #[doc = ""] 6491 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6492 pub const DRAW_BUFFER15: u32 = 34868u64 as u32; 6493 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_COMPONENTS` const."] 6494 #[doc = ""] 6495 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6496 pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35657u64 as u32; 6497 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_COMPONENTS` const."] 6498 #[doc = ""] 6499 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6500 pub const MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 35658u64 as u32; 6501 #[doc = "The `WebGL2RenderingContext.SAMPLER_3D` const."] 6502 #[doc = ""] 6503 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6504 pub const SAMPLER_3D: u32 = 35679u64 as u32; 6505 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_SHADOW` const."] 6506 #[doc = ""] 6507 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6508 pub const SAMPLER_2D_SHADOW: u32 = 35682u64 as u32; 6509 #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER_DERIVATIVE_HINT` const."] 6510 #[doc = ""] 6511 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6512 pub const FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 35723u64 as u32; 6513 #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER` const."] 6514 #[doc = ""] 6515 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6516 pub const PIXEL_PACK_BUFFER: u32 = 35051u64 as u32; 6517 #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER` const."] 6518 #[doc = ""] 6519 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6520 pub const PIXEL_UNPACK_BUFFER: u32 = 35052u64 as u32; 6521 #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER_BINDING` const."] 6522 #[doc = ""] 6523 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6524 pub const PIXEL_PACK_BUFFER_BINDING: u32 = 35053u64 as u32; 6525 #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER_BINDING` const."] 6526 #[doc = ""] 6527 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6528 pub const PIXEL_UNPACK_BUFFER_BINDING: u32 = 35055u64 as u32; 6529 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x3` const."] 6530 #[doc = ""] 6531 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6532 pub const FLOAT_MAT2X3: u32 = 35685u64 as u32; 6533 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x4` const."] 6534 #[doc = ""] 6535 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6536 pub const FLOAT_MAT2X4: u32 = 35686u64 as u32; 6537 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x2` const."] 6538 #[doc = ""] 6539 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6540 pub const FLOAT_MAT3X2: u32 = 35687u64 as u32; 6541 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x4` const."] 6542 #[doc = ""] 6543 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6544 pub const FLOAT_MAT3X4: u32 = 35688u64 as u32; 6545 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x2` const."] 6546 #[doc = ""] 6547 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6548 pub const FLOAT_MAT4X2: u32 = 35689u64 as u32; 6549 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x3` const."] 6550 #[doc = ""] 6551 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6552 pub const FLOAT_MAT4X3: u32 = 35690u64 as u32; 6553 #[doc = "The `WebGL2RenderingContext.SRGB` const."] 6554 #[doc = ""] 6555 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6556 pub const SRGB: u32 = 35904u64 as u32; 6557 #[doc = "The `WebGL2RenderingContext.SRGB8` const."] 6558 #[doc = ""] 6559 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6560 pub const SRGB8: u32 = 35905u64 as u32; 6561 #[doc = "The `WebGL2RenderingContext.SRGB8_ALPHA8` const."] 6562 #[doc = ""] 6563 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6564 pub const SRGB8_ALPHA8: u32 = 35907u64 as u32; 6565 #[doc = "The `WebGL2RenderingContext.COMPARE_REF_TO_TEXTURE` const."] 6566 #[doc = ""] 6567 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6568 pub const COMPARE_REF_TO_TEXTURE: u32 = 34894u64 as u32; 6569 #[doc = "The `WebGL2RenderingContext.RGBA32F` const."] 6570 #[doc = ""] 6571 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6572 pub const RGBA32F: u32 = 34836u64 as u32; 6573 #[doc = "The `WebGL2RenderingContext.RGB32F` const."] 6574 #[doc = ""] 6575 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6576 pub const RGB32F: u32 = 34837u64 as u32; 6577 #[doc = "The `WebGL2RenderingContext.RGBA16F` const."] 6578 #[doc = ""] 6579 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6580 pub const RGBA16F: u32 = 34842u64 as u32; 6581 #[doc = "The `WebGL2RenderingContext.RGB16F` const."] 6582 #[doc = ""] 6583 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6584 pub const RGB16F: u32 = 34843u64 as u32; 6585 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_INTEGER` const."] 6586 #[doc = ""] 6587 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6588 pub const VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 35069u64 as u32; 6589 #[doc = "The `WebGL2RenderingContext.MAX_ARRAY_TEXTURE_LAYERS` const."] 6590 #[doc = ""] 6591 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6592 pub const MAX_ARRAY_TEXTURE_LAYERS: u32 = 35071u64 as u32; 6593 #[doc = "The `WebGL2RenderingContext.MIN_PROGRAM_TEXEL_OFFSET` const."] 6594 #[doc = ""] 6595 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6596 pub const MIN_PROGRAM_TEXEL_OFFSET: u32 = 35076u64 as u32; 6597 #[doc = "The `WebGL2RenderingContext.MAX_PROGRAM_TEXEL_OFFSET` const."] 6598 #[doc = ""] 6599 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6600 pub const MAX_PROGRAM_TEXEL_OFFSET: u32 = 35077u64 as u32; 6601 #[doc = "The `WebGL2RenderingContext.MAX_VARYING_COMPONENTS` const."] 6602 #[doc = ""] 6603 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6604 pub const MAX_VARYING_COMPONENTS: u32 = 35659u64 as u32; 6605 #[doc = "The `WebGL2RenderingContext.TEXTURE_2D_ARRAY` const."] 6606 #[doc = ""] 6607 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6608 pub const TEXTURE_2D_ARRAY: u32 = 35866u64 as u32; 6609 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D_ARRAY` const."] 6610 #[doc = ""] 6611 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6612 pub const TEXTURE_BINDING_2D_ARRAY: u32 = 35869u64 as u32; 6613 #[doc = "The `WebGL2RenderingContext.R11F_G11F_B10F` const."] 6614 #[doc = ""] 6615 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6616 pub const R11F_G11F_B10F: u32 = 35898u64 as u32; 6617 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_10F_11F_11F_REV` const."] 6618 #[doc = ""] 6619 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6620 pub const UNSIGNED_INT_10F_11F_11F_REV: u32 = 35899u64 as u32; 6621 #[doc = "The `WebGL2RenderingContext.RGB9_E5` const."] 6622 #[doc = ""] 6623 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6624 pub const RGB9_E5: u32 = 35901u64 as u32; 6625 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_5_9_9_9_REV` const."] 6626 #[doc = ""] 6627 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6628 pub const UNSIGNED_INT_5_9_9_9_REV: u32 = 35902u64 as u32; 6629 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_MODE` const."] 6630 #[doc = ""] 6631 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6632 pub const TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 35967u64 as u32; 6633 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS` const."] 6634 #[doc = ""] 6635 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6636 pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 35968u64 as u32; 6637 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_VARYINGS` const."] 6638 #[doc = ""] 6639 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6640 pub const TRANSFORM_FEEDBACK_VARYINGS: u32 = 35971u64 as u32; 6641 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_START` const."] 6642 #[doc = ""] 6643 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6644 pub const TRANSFORM_FEEDBACK_BUFFER_START: u32 = 35972u64 as u32; 6645 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_SIZE` const."] 6646 #[doc = ""] 6647 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6648 pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 35973u64 as u32; 6649 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN` const."] 6650 #[doc = ""] 6651 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6652 pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 35976u64 as u32; 6653 #[doc = "The `WebGL2RenderingContext.RASTERIZER_DISCARD` const."] 6654 #[doc = ""] 6655 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6656 pub const RASTERIZER_DISCARD: u32 = 35977u64 as u32; 6657 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS` const."] 6658 #[doc = ""] 6659 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6660 pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 35978u64 as u32; 6661 #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS` const."] 6662 #[doc = ""] 6663 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6664 pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 35979u64 as u32; 6665 #[doc = "The `WebGL2RenderingContext.INTERLEAVED_ATTRIBS` const."] 6666 #[doc = ""] 6667 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6668 pub const INTERLEAVED_ATTRIBS: u32 = 35980u64 as u32; 6669 #[doc = "The `WebGL2RenderingContext.SEPARATE_ATTRIBS` const."] 6670 #[doc = ""] 6671 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6672 pub const SEPARATE_ATTRIBS: u32 = 35981u64 as u32; 6673 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER` const."] 6674 #[doc = ""] 6675 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6676 pub const TRANSFORM_FEEDBACK_BUFFER: u32 = 35982u64 as u32; 6677 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_BINDING` const."] 6678 #[doc = ""] 6679 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6680 pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 35983u64 as u32; 6681 #[doc = "The `WebGL2RenderingContext.RGBA32UI` const."] 6682 #[doc = ""] 6683 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6684 pub const RGBA32UI: u32 = 36208u64 as u32; 6685 #[doc = "The `WebGL2RenderingContext.RGB32UI` const."] 6686 #[doc = ""] 6687 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6688 pub const RGB32UI: u32 = 36209u64 as u32; 6689 #[doc = "The `WebGL2RenderingContext.RGBA16UI` const."] 6690 #[doc = ""] 6691 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6692 pub const RGBA16UI: u32 = 36214u64 as u32; 6693 #[doc = "The `WebGL2RenderingContext.RGB16UI` const."] 6694 #[doc = ""] 6695 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6696 pub const RGB16UI: u32 = 36215u64 as u32; 6697 #[doc = "The `WebGL2RenderingContext.RGBA8UI` const."] 6698 #[doc = ""] 6699 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6700 pub const RGBA8UI: u32 = 36220u64 as u32; 6701 #[doc = "The `WebGL2RenderingContext.RGB8UI` const."] 6702 #[doc = ""] 6703 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6704 pub const RGB8UI: u32 = 36221u64 as u32; 6705 #[doc = "The `WebGL2RenderingContext.RGBA32I` const."] 6706 #[doc = ""] 6707 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6708 pub const RGBA32I: u32 = 36226u64 as u32; 6709 #[doc = "The `WebGL2RenderingContext.RGB32I` const."] 6710 #[doc = ""] 6711 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6712 pub const RGB32I: u32 = 36227u64 as u32; 6713 #[doc = "The `WebGL2RenderingContext.RGBA16I` const."] 6714 #[doc = ""] 6715 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6716 pub const RGBA16I: u32 = 36232u64 as u32; 6717 #[doc = "The `WebGL2RenderingContext.RGB16I` const."] 6718 #[doc = ""] 6719 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6720 pub const RGB16I: u32 = 36233u64 as u32; 6721 #[doc = "The `WebGL2RenderingContext.RGBA8I` const."] 6722 #[doc = ""] 6723 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6724 pub const RGBA8I: u32 = 36238u64 as u32; 6725 #[doc = "The `WebGL2RenderingContext.RGB8I` const."] 6726 #[doc = ""] 6727 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6728 pub const RGB8I: u32 = 36239u64 as u32; 6729 #[doc = "The `WebGL2RenderingContext.RED_INTEGER` const."] 6730 #[doc = ""] 6731 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6732 pub const RED_INTEGER: u32 = 36244u64 as u32; 6733 #[doc = "The `WebGL2RenderingContext.RGB_INTEGER` const."] 6734 #[doc = ""] 6735 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6736 pub const RGB_INTEGER: u32 = 36248u64 as u32; 6737 #[doc = "The `WebGL2RenderingContext.RGBA_INTEGER` const."] 6738 #[doc = ""] 6739 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6740 pub const RGBA_INTEGER: u32 = 36249u64 as u32; 6741 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY` const."] 6742 #[doc = ""] 6743 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6744 pub const SAMPLER_2D_ARRAY: u32 = 36289u64 as u32; 6745 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY_SHADOW` const."] 6746 #[doc = ""] 6747 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6748 pub const SAMPLER_2D_ARRAY_SHADOW: u32 = 36292u64 as u32; 6749 #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE_SHADOW` const."] 6750 #[doc = ""] 6751 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6752 pub const SAMPLER_CUBE_SHADOW: u32 = 36293u64 as u32; 6753 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC2` const."] 6754 #[doc = ""] 6755 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6756 pub const UNSIGNED_INT_VEC2: u32 = 36294u64 as u32; 6757 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC3` const."] 6758 #[doc = ""] 6759 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6760 pub const UNSIGNED_INT_VEC3: u32 = 36295u64 as u32; 6761 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC4` const."] 6762 #[doc = ""] 6763 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6764 pub const UNSIGNED_INT_VEC4: u32 = 36296u64 as u32; 6765 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D` const."] 6766 #[doc = ""] 6767 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6768 pub const INT_SAMPLER_2D: u32 = 36298u64 as u32; 6769 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_3D` const."] 6770 #[doc = ""] 6771 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6772 pub const INT_SAMPLER_3D: u32 = 36299u64 as u32; 6773 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_CUBE` const."] 6774 #[doc = ""] 6775 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6776 pub const INT_SAMPLER_CUBE: u32 = 36300u64 as u32; 6777 #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D_ARRAY` const."] 6778 #[doc = ""] 6779 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6780 pub const INT_SAMPLER_2D_ARRAY: u32 = 36303u64 as u32; 6781 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D` const."] 6782 #[doc = ""] 6783 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6784 pub const UNSIGNED_INT_SAMPLER_2D: u32 = 36306u64 as u32; 6785 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_3D` const."] 6786 #[doc = ""] 6787 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6788 pub const UNSIGNED_INT_SAMPLER_3D: u32 = 36307u64 as u32; 6789 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_CUBE` const."] 6790 #[doc = ""] 6791 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6792 pub const UNSIGNED_INT_SAMPLER_CUBE: u32 = 36308u64 as u32; 6793 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D_ARRAY` const."] 6794 #[doc = ""] 6795 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6796 pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 36311u64 as u32; 6797 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT32F` const."] 6798 #[doc = ""] 6799 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6800 pub const DEPTH_COMPONENT32F: u32 = 36012u64 as u32; 6801 #[doc = "The `WebGL2RenderingContext.DEPTH32F_STENCIL8` const."] 6802 #[doc = ""] 6803 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6804 pub const DEPTH32F_STENCIL8: u32 = 36013u64 as u32; 6805 #[doc = "The `WebGL2RenderingContext.FLOAT_32_UNSIGNED_INT_24_8_REV` const."] 6806 #[doc = ""] 6807 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6808 pub const FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 36269u64 as u32; 6809 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING` const."] 6810 #[doc = ""] 6811 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6812 pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 33296u64 as u32; 6813 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE` const."] 6814 #[doc = ""] 6815 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6816 pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 33297u64 as u32; 6817 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_RED_SIZE` const."] 6818 #[doc = ""] 6819 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6820 pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 33298u64 as u32; 6821 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE` const."] 6822 #[doc = ""] 6823 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6824 pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 33299u64 as u32; 6825 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE` const."] 6826 #[doc = ""] 6827 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6828 pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 33300u64 as u32; 6829 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE` const."] 6830 #[doc = ""] 6831 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6832 pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 33301u64 as u32; 6833 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE` const."] 6834 #[doc = ""] 6835 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6836 pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 33302u64 as u32; 6837 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE` const."] 6838 #[doc = ""] 6839 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6840 pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 33303u64 as u32; 6841 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_DEFAULT` const."] 6842 #[doc = ""] 6843 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6844 pub const FRAMEBUFFER_DEFAULT: u32 = 33304u64 as u32; 6845 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_24_8` const."] 6846 #[doc = ""] 6847 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6848 pub const UNSIGNED_INT_24_8: u32 = 34042u64 as u32; 6849 #[doc = "The `WebGL2RenderingContext.DEPTH24_STENCIL8` const."] 6850 #[doc = ""] 6851 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6852 pub const DEPTH24_STENCIL8: u32 = 35056u64 as u32; 6853 #[doc = "The `WebGL2RenderingContext.UNSIGNED_NORMALIZED` const."] 6854 #[doc = ""] 6855 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6856 pub const UNSIGNED_NORMALIZED: u32 = 35863u64 as u32; 6857 #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER_BINDING` const."] 6858 #[doc = ""] 6859 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6860 pub const DRAW_FRAMEBUFFER_BINDING: u32 = 36006u64 as u32; 6861 #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER` const."] 6862 #[doc = ""] 6863 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6864 pub const READ_FRAMEBUFFER: u32 = 36008u64 as u32; 6865 #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER` const."] 6866 #[doc = ""] 6867 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6868 pub const DRAW_FRAMEBUFFER: u32 = 36009u64 as u32; 6869 #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER_BINDING` const."] 6870 #[doc = ""] 6871 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6872 pub const READ_FRAMEBUFFER_BINDING: u32 = 36010u64 as u32; 6873 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_SAMPLES` const."] 6874 #[doc = ""] 6875 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6876 pub const RENDERBUFFER_SAMPLES: u32 = 36011u64 as u32; 6877 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER` const."] 6878 #[doc = ""] 6879 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6880 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 36052u64 as u32; 6881 #[doc = "The `WebGL2RenderingContext.MAX_COLOR_ATTACHMENTS` const."] 6882 #[doc = ""] 6883 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6884 pub const MAX_COLOR_ATTACHMENTS: u32 = 36063u64 as u32; 6885 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT1` const."] 6886 #[doc = ""] 6887 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6888 pub const COLOR_ATTACHMENT1: u32 = 36065u64 as u32; 6889 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT2` const."] 6890 #[doc = ""] 6891 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6892 pub const COLOR_ATTACHMENT2: u32 = 36066u64 as u32; 6893 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT3` const."] 6894 #[doc = ""] 6895 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6896 pub const COLOR_ATTACHMENT3: u32 = 36067u64 as u32; 6897 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT4` const."] 6898 #[doc = ""] 6899 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6900 pub const COLOR_ATTACHMENT4: u32 = 36068u64 as u32; 6901 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT5` const."] 6902 #[doc = ""] 6903 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6904 pub const COLOR_ATTACHMENT5: u32 = 36069u64 as u32; 6905 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT6` const."] 6906 #[doc = ""] 6907 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6908 pub const COLOR_ATTACHMENT6: u32 = 36070u64 as u32; 6909 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT7` const."] 6910 #[doc = ""] 6911 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6912 pub const COLOR_ATTACHMENT7: u32 = 36071u64 as u32; 6913 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT8` const."] 6914 #[doc = ""] 6915 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6916 pub const COLOR_ATTACHMENT8: u32 = 36072u64 as u32; 6917 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT9` const."] 6918 #[doc = ""] 6919 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6920 pub const COLOR_ATTACHMENT9: u32 = 36073u64 as u32; 6921 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT10` const."] 6922 #[doc = ""] 6923 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6924 pub const COLOR_ATTACHMENT10: u32 = 36074u64 as u32; 6925 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT11` const."] 6926 #[doc = ""] 6927 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6928 pub const COLOR_ATTACHMENT11: u32 = 36075u64 as u32; 6929 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT12` const."] 6930 #[doc = ""] 6931 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6932 pub const COLOR_ATTACHMENT12: u32 = 36076u64 as u32; 6933 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT13` const."] 6934 #[doc = ""] 6935 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6936 pub const COLOR_ATTACHMENT13: u32 = 36077u64 as u32; 6937 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT14` const."] 6938 #[doc = ""] 6939 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6940 pub const COLOR_ATTACHMENT14: u32 = 36078u64 as u32; 6941 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT15` const."] 6942 #[doc = ""] 6943 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6944 pub const COLOR_ATTACHMENT15: u32 = 36079u64 as u32; 6945 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE` const."] 6946 #[doc = ""] 6947 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6948 pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 36182u64 as u32; 6949 #[doc = "The `WebGL2RenderingContext.MAX_SAMPLES` const."] 6950 #[doc = ""] 6951 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6952 pub const MAX_SAMPLES: u32 = 36183u64 as u32; 6953 #[doc = "The `WebGL2RenderingContext.HALF_FLOAT` const."] 6954 #[doc = ""] 6955 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6956 pub const HALF_FLOAT: u32 = 5131u64 as u32; 6957 #[doc = "The `WebGL2RenderingContext.RG` const."] 6958 #[doc = ""] 6959 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6960 pub const RG: u32 = 33319u64 as u32; 6961 #[doc = "The `WebGL2RenderingContext.RG_INTEGER` const."] 6962 #[doc = ""] 6963 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6964 pub const RG_INTEGER: u32 = 33320u64 as u32; 6965 #[doc = "The `WebGL2RenderingContext.R8` const."] 6966 #[doc = ""] 6967 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6968 pub const R8: u32 = 33321u64 as u32; 6969 #[doc = "The `WebGL2RenderingContext.RG8` const."] 6970 #[doc = ""] 6971 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6972 pub const RG8: u32 = 33323u64 as u32; 6973 #[doc = "The `WebGL2RenderingContext.R16F` const."] 6974 #[doc = ""] 6975 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6976 pub const R16F: u32 = 33325u64 as u32; 6977 #[doc = "The `WebGL2RenderingContext.R32F` const."] 6978 #[doc = ""] 6979 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6980 pub const R32F: u32 = 33326u64 as u32; 6981 #[doc = "The `WebGL2RenderingContext.RG16F` const."] 6982 #[doc = ""] 6983 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6984 pub const RG16F: u32 = 33327u64 as u32; 6985 #[doc = "The `WebGL2RenderingContext.RG32F` const."] 6986 #[doc = ""] 6987 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6988 pub const RG32F: u32 = 33328u64 as u32; 6989 #[doc = "The `WebGL2RenderingContext.R8I` const."] 6990 #[doc = ""] 6991 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6992 pub const R8I: u32 = 33329u64 as u32; 6993 #[doc = "The `WebGL2RenderingContext.R8UI` const."] 6994 #[doc = ""] 6995 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 6996 pub const R8UI: u32 = 33330u64 as u32; 6997 #[doc = "The `WebGL2RenderingContext.R16I` const."] 6998 #[doc = ""] 6999 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7000 pub const R16I: u32 = 33331u64 as u32; 7001 #[doc = "The `WebGL2RenderingContext.R16UI` const."] 7002 #[doc = ""] 7003 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7004 pub const R16UI: u32 = 33332u64 as u32; 7005 #[doc = "The `WebGL2RenderingContext.R32I` const."] 7006 #[doc = ""] 7007 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7008 pub const R32I: u32 = 33333u64 as u32; 7009 #[doc = "The `WebGL2RenderingContext.R32UI` const."] 7010 #[doc = ""] 7011 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7012 pub const R32UI: u32 = 33334u64 as u32; 7013 #[doc = "The `WebGL2RenderingContext.RG8I` const."] 7014 #[doc = ""] 7015 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7016 pub const RG8I: u32 = 33335u64 as u32; 7017 #[doc = "The `WebGL2RenderingContext.RG8UI` const."] 7018 #[doc = ""] 7019 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7020 pub const RG8UI: u32 = 33336u64 as u32; 7021 #[doc = "The `WebGL2RenderingContext.RG16I` const."] 7022 #[doc = ""] 7023 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7024 pub const RG16I: u32 = 33337u64 as u32; 7025 #[doc = "The `WebGL2RenderingContext.RG16UI` const."] 7026 #[doc = ""] 7027 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7028 pub const RG16UI: u32 = 33338u64 as u32; 7029 #[doc = "The `WebGL2RenderingContext.RG32I` const."] 7030 #[doc = ""] 7031 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7032 pub const RG32I: u32 = 33339u64 as u32; 7033 #[doc = "The `WebGL2RenderingContext.RG32UI` const."] 7034 #[doc = ""] 7035 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7036 pub const RG32UI: u32 = 33340u64 as u32; 7037 #[doc = "The `WebGL2RenderingContext.VERTEX_ARRAY_BINDING` const."] 7038 #[doc = ""] 7039 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7040 pub const VERTEX_ARRAY_BINDING: u32 = 34229u64 as u32; 7041 #[doc = "The `WebGL2RenderingContext.R8_SNORM` const."] 7042 #[doc = ""] 7043 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7044 pub const R8_SNORM: u32 = 36756u64 as u32; 7045 #[doc = "The `WebGL2RenderingContext.RG8_SNORM` const."] 7046 #[doc = ""] 7047 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7048 pub const RG8_SNORM: u32 = 36757u64 as u32; 7049 #[doc = "The `WebGL2RenderingContext.RGB8_SNORM` const."] 7050 #[doc = ""] 7051 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7052 pub const RGB8_SNORM: u32 = 36758u64 as u32; 7053 #[doc = "The `WebGL2RenderingContext.RGBA8_SNORM` const."] 7054 #[doc = ""] 7055 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7056 pub const RGBA8_SNORM: u32 = 36759u64 as u32; 7057 #[doc = "The `WebGL2RenderingContext.SIGNED_NORMALIZED` const."] 7058 #[doc = ""] 7059 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7060 pub const SIGNED_NORMALIZED: u32 = 36764u64 as u32; 7061 #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER` const."] 7062 #[doc = ""] 7063 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7064 pub const COPY_READ_BUFFER: u32 = 36662u64 as u32; 7065 #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER` const."] 7066 #[doc = ""] 7067 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7068 pub const COPY_WRITE_BUFFER: u32 = 36663u64 as u32; 7069 #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER_BINDING` const."] 7070 #[doc = ""] 7071 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7072 pub const COPY_READ_BUFFER_BINDING: u32 = 36662u64 as u32; 7073 #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER_BINDING` const."] 7074 #[doc = ""] 7075 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7076 pub const COPY_WRITE_BUFFER_BINDING: u32 = 36663u64 as u32; 7077 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER` const."] 7078 #[doc = ""] 7079 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7080 pub const UNIFORM_BUFFER: u32 = 35345u64 as u32; 7081 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_BINDING` const."] 7082 #[doc = ""] 7083 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7084 pub const UNIFORM_BUFFER_BINDING: u32 = 35368u64 as u32; 7085 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_START` const."] 7086 #[doc = ""] 7087 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7088 pub const UNIFORM_BUFFER_START: u32 = 35369u64 as u32; 7089 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_SIZE` const."] 7090 #[doc = ""] 7091 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7092 pub const UNIFORM_BUFFER_SIZE: u32 = 35370u64 as u32; 7093 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_BLOCKS` const."] 7094 #[doc = ""] 7095 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7096 pub const MAX_VERTEX_UNIFORM_BLOCKS: u32 = 35371u64 as u32; 7097 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_BLOCKS` const."] 7098 #[doc = ""] 7099 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7100 pub const MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 35373u64 as u32; 7101 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_UNIFORM_BLOCKS` const."] 7102 #[doc = ""] 7103 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7104 pub const MAX_COMBINED_UNIFORM_BLOCKS: u32 = 35374u64 as u32; 7105 #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BUFFER_BINDINGS` const."] 7106 #[doc = ""] 7107 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7108 pub const MAX_UNIFORM_BUFFER_BINDINGS: u32 = 35375u64 as u32; 7109 #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BLOCK_SIZE` const."] 7110 #[doc = ""] 7111 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7112 pub const MAX_UNIFORM_BLOCK_SIZE: u32 = 35376u64 as u32; 7113 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS` const."] 7114 #[doc = ""] 7115 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7116 pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 35377u64 as u32; 7117 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS` const."] 7118 #[doc = ""] 7119 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7120 pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35379u64 as u32; 7121 #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_OFFSET_ALIGNMENT` const."] 7122 #[doc = ""] 7123 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7124 pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 35380u64 as u32; 7125 #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORM_BLOCKS` const."] 7126 #[doc = ""] 7127 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7128 pub const ACTIVE_UNIFORM_BLOCKS: u32 = 35382u64 as u32; 7129 #[doc = "The `WebGL2RenderingContext.UNIFORM_TYPE` const."] 7130 #[doc = ""] 7131 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7132 pub const UNIFORM_TYPE: u32 = 35383u64 as u32; 7133 #[doc = "The `WebGL2RenderingContext.UNIFORM_SIZE` const."] 7134 #[doc = ""] 7135 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7136 pub const UNIFORM_SIZE: u32 = 35384u64 as u32; 7137 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_INDEX` const."] 7138 #[doc = ""] 7139 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7140 pub const UNIFORM_BLOCK_INDEX: u32 = 35386u64 as u32; 7141 #[doc = "The `WebGL2RenderingContext.UNIFORM_OFFSET` const."] 7142 #[doc = ""] 7143 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7144 pub const UNIFORM_OFFSET: u32 = 35387u64 as u32; 7145 #[doc = "The `WebGL2RenderingContext.UNIFORM_ARRAY_STRIDE` const."] 7146 #[doc = ""] 7147 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7148 pub const UNIFORM_ARRAY_STRIDE: u32 = 35388u64 as u32; 7149 #[doc = "The `WebGL2RenderingContext.UNIFORM_MATRIX_STRIDE` const."] 7150 #[doc = ""] 7151 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7152 pub const UNIFORM_MATRIX_STRIDE: u32 = 35389u64 as u32; 7153 #[doc = "The `WebGL2RenderingContext.UNIFORM_IS_ROW_MAJOR` const."] 7154 #[doc = ""] 7155 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7156 pub const UNIFORM_IS_ROW_MAJOR: u32 = 35390u64 as u32; 7157 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_BINDING` const."] 7158 #[doc = ""] 7159 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7160 pub const UNIFORM_BLOCK_BINDING: u32 = 35391u64 as u32; 7161 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_DATA_SIZE` const."] 7162 #[doc = ""] 7163 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7164 pub const UNIFORM_BLOCK_DATA_SIZE: u32 = 35392u64 as u32; 7165 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORMS` const."] 7166 #[doc = ""] 7167 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7168 pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 35394u64 as u32; 7169 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES` const."] 7170 #[doc = ""] 7171 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7172 pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 35395u64 as u32; 7173 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER` const."] 7174 #[doc = ""] 7175 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7176 pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 35396u64 as u32; 7177 #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER` const."] 7178 #[doc = ""] 7179 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7180 pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 35398u64 as u32; 7181 #[doc = "The `WebGL2RenderingContext.INVALID_INDEX` const."] 7182 #[doc = ""] 7183 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7184 pub const INVALID_INDEX: u32 = 4294967295u64 as u32; 7185 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_OUTPUT_COMPONENTS` const."] 7186 #[doc = ""] 7187 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7188 pub const MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 37154u64 as u32; 7189 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_INPUT_COMPONENTS` const."] 7190 #[doc = ""] 7191 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7192 pub const MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 37157u64 as u32; 7193 #[doc = "The `WebGL2RenderingContext.MAX_SERVER_WAIT_TIMEOUT` const."] 7194 #[doc = ""] 7195 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7196 pub const MAX_SERVER_WAIT_TIMEOUT: u32 = 37137u64 as u32; 7197 #[doc = "The `WebGL2RenderingContext.OBJECT_TYPE` const."] 7198 #[doc = ""] 7199 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7200 pub const OBJECT_TYPE: u32 = 37138u64 as u32; 7201 #[doc = "The `WebGL2RenderingContext.SYNC_CONDITION` const."] 7202 #[doc = ""] 7203 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7204 pub const SYNC_CONDITION: u32 = 37139u64 as u32; 7205 #[doc = "The `WebGL2RenderingContext.SYNC_STATUS` const."] 7206 #[doc = ""] 7207 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7208 pub const SYNC_STATUS: u32 = 37140u64 as u32; 7209 #[doc = "The `WebGL2RenderingContext.SYNC_FLAGS` const."] 7210 #[doc = ""] 7211 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7212 pub const SYNC_FLAGS: u32 = 37141u64 as u32; 7213 #[doc = "The `WebGL2RenderingContext.SYNC_FENCE` const."] 7214 #[doc = ""] 7215 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7216 pub const SYNC_FENCE: u32 = 37142u64 as u32; 7217 #[doc = "The `WebGL2RenderingContext.SYNC_GPU_COMMANDS_COMPLETE` const."] 7218 #[doc = ""] 7219 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7220 pub const SYNC_GPU_COMMANDS_COMPLETE: u32 = 37143u64 as u32; 7221 #[doc = "The `WebGL2RenderingContext.UNSIGNALED` const."] 7222 #[doc = ""] 7223 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7224 pub const UNSIGNALED: u32 = 37144u64 as u32; 7225 #[doc = "The `WebGL2RenderingContext.SIGNALED` const."] 7226 #[doc = ""] 7227 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7228 pub const SIGNALED: u32 = 37145u64 as u32; 7229 #[doc = "The `WebGL2RenderingContext.ALREADY_SIGNALED` const."] 7230 #[doc = ""] 7231 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7232 pub const ALREADY_SIGNALED: u32 = 37146u64 as u32; 7233 #[doc = "The `WebGL2RenderingContext.TIMEOUT_EXPIRED` const."] 7234 #[doc = ""] 7235 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7236 pub const TIMEOUT_EXPIRED: u32 = 37147u64 as u32; 7237 #[doc = "The `WebGL2RenderingContext.CONDITION_SATISFIED` const."] 7238 #[doc = ""] 7239 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7240 pub const CONDITION_SATISFIED: u32 = 37148u64 as u32; 7241 #[doc = "The `WebGL2RenderingContext.WAIT_FAILED` const."] 7242 #[doc = ""] 7243 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7244 pub const WAIT_FAILED: u32 = 37149u64 as u32; 7245 #[doc = "The `WebGL2RenderingContext.SYNC_FLUSH_COMMANDS_BIT` const."] 7246 #[doc = ""] 7247 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7248 pub const SYNC_FLUSH_COMMANDS_BIT: u32 = 1u64 as u32; 7249 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_DIVISOR` const."] 7250 #[doc = ""] 7251 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7252 pub const VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 35070u64 as u32; 7253 #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED` const."] 7254 #[doc = ""] 7255 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7256 pub const ANY_SAMPLES_PASSED: u32 = 35887u64 as u32; 7257 #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED_CONSERVATIVE` const."] 7258 #[doc = ""] 7259 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7260 pub const ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 36202u64 as u32; 7261 #[doc = "The `WebGL2RenderingContext.SAMPLER_BINDING` const."] 7262 #[doc = ""] 7263 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7264 pub const SAMPLER_BINDING: u32 = 35097u64 as u32; 7265 #[doc = "The `WebGL2RenderingContext.RGB10_A2UI` const."] 7266 #[doc = ""] 7267 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7268 pub const RGB10_A2UI: u32 = 36975u64 as u32; 7269 #[doc = "The `WebGL2RenderingContext.INT_2_10_10_10_REV` const."] 7270 #[doc = ""] 7271 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7272 pub const INT_2_10_10_10_REV: u32 = 36255u64 as u32; 7273 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK` const."] 7274 #[doc = ""] 7275 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7276 pub const TRANSFORM_FEEDBACK: u32 = 36386u64 as u32; 7277 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PAUSED` const."] 7278 #[doc = ""] 7279 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7280 pub const TRANSFORM_FEEDBACK_PAUSED: u32 = 36387u64 as u32; 7281 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_ACTIVE` const."] 7282 #[doc = ""] 7283 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7284 pub const TRANSFORM_FEEDBACK_ACTIVE: u32 = 36388u64 as u32; 7285 #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BINDING` const."] 7286 #[doc = ""] 7287 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7288 pub const TRANSFORM_FEEDBACK_BINDING: u32 = 36389u64 as u32; 7289 #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_FORMAT` const."] 7290 #[doc = ""] 7291 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7292 pub const TEXTURE_IMMUTABLE_FORMAT: u32 = 37167u64 as u32; 7293 #[doc = "The `WebGL2RenderingContext.MAX_ELEMENT_INDEX` const."] 7294 #[doc = ""] 7295 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7296 pub const MAX_ELEMENT_INDEX: u32 = 36203u64 as u32; 7297 #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_LEVELS` const."] 7298 #[doc = ""] 7299 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7300 pub const TEXTURE_IMMUTABLE_LEVELS: u32 = 33503u64 as u32; 7301 #[doc = "The `WebGL2RenderingContext.TIMEOUT_IGNORED` const."] 7302 #[doc = ""] 7303 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7304 pub const TIMEOUT_IGNORED: f64 = -1i64 as f64; 7305 #[doc = "The `WebGL2RenderingContext.MAX_CLIENT_WAIT_TIMEOUT_WEBGL` const."] 7306 #[doc = ""] 7307 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7308 pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL: u32 = 37447u64 as u32; 7309 #[doc = "The `WebGL2RenderingContext.DEPTH_BUFFER_BIT` const."] 7310 #[doc = ""] 7311 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7312 pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32; 7313 #[doc = "The `WebGL2RenderingContext.STENCIL_BUFFER_BIT` const."] 7314 #[doc = ""] 7315 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7316 pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32; 7317 #[doc = "The `WebGL2RenderingContext.COLOR_BUFFER_BIT` const."] 7318 #[doc = ""] 7319 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7320 pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32; 7321 #[doc = "The `WebGL2RenderingContext.POINTS` const."] 7322 #[doc = ""] 7323 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7324 pub const POINTS: u32 = 0u64 as u32; 7325 #[doc = "The `WebGL2RenderingContext.LINES` const."] 7326 #[doc = ""] 7327 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7328 pub const LINES: u32 = 1u64 as u32; 7329 #[doc = "The `WebGL2RenderingContext.LINE_LOOP` const."] 7330 #[doc = ""] 7331 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7332 pub const LINE_LOOP: u32 = 2u64 as u32; 7333 #[doc = "The `WebGL2RenderingContext.LINE_STRIP` const."] 7334 #[doc = ""] 7335 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7336 pub const LINE_STRIP: u32 = 3u64 as u32; 7337 #[doc = "The `WebGL2RenderingContext.TRIANGLES` const."] 7338 #[doc = ""] 7339 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7340 pub const TRIANGLES: u32 = 4u64 as u32; 7341 #[doc = "The `WebGL2RenderingContext.TRIANGLE_STRIP` const."] 7342 #[doc = ""] 7343 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7344 pub const TRIANGLE_STRIP: u32 = 5u64 as u32; 7345 #[doc = "The `WebGL2RenderingContext.TRIANGLE_FAN` const."] 7346 #[doc = ""] 7347 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7348 pub const TRIANGLE_FAN: u32 = 6u64 as u32; 7349 #[doc = "The `WebGL2RenderingContext.ZERO` const."] 7350 #[doc = ""] 7351 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7352 pub const ZERO: u32 = 0i64 as u32; 7353 #[doc = "The `WebGL2RenderingContext.ONE` const."] 7354 #[doc = ""] 7355 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7356 pub const ONE: u32 = 1u64 as u32; 7357 #[doc = "The `WebGL2RenderingContext.SRC_COLOR` const."] 7358 #[doc = ""] 7359 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7360 pub const SRC_COLOR: u32 = 768u64 as u32; 7361 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_COLOR` const."] 7362 #[doc = ""] 7363 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7364 pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32; 7365 #[doc = "The `WebGL2RenderingContext.SRC_ALPHA` const."] 7366 #[doc = ""] 7367 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7368 pub const SRC_ALPHA: u32 = 770u64 as u32; 7369 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA` const."] 7370 #[doc = ""] 7371 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7372 pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32; 7373 #[doc = "The `WebGL2RenderingContext.DST_ALPHA` const."] 7374 #[doc = ""] 7375 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7376 pub const DST_ALPHA: u32 = 772u64 as u32; 7377 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_ALPHA` const."] 7378 #[doc = ""] 7379 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7380 pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32; 7381 #[doc = "The `WebGL2RenderingContext.DST_COLOR` const."] 7382 #[doc = ""] 7383 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7384 pub const DST_COLOR: u32 = 774u64 as u32; 7385 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_COLOR` const."] 7386 #[doc = ""] 7387 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7388 pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32; 7389 #[doc = "The `WebGL2RenderingContext.SRC_ALPHA_SATURATE` const."] 7390 #[doc = ""] 7391 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7392 pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32; 7393 #[doc = "The `WebGL2RenderingContext.FUNC_ADD` const."] 7394 #[doc = ""] 7395 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7396 pub const FUNC_ADD: u32 = 32774u64 as u32; 7397 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION` const."] 7398 #[doc = ""] 7399 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7400 pub const BLEND_EQUATION: u32 = 32777u64 as u32; 7401 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_RGB` const."] 7402 #[doc = ""] 7403 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7404 pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32; 7405 #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_ALPHA` const."] 7406 #[doc = ""] 7407 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7408 pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32; 7409 #[doc = "The `WebGL2RenderingContext.FUNC_SUBTRACT` const."] 7410 #[doc = ""] 7411 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7412 pub const FUNC_SUBTRACT: u32 = 32778u64 as u32; 7413 #[doc = "The `WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT` const."] 7414 #[doc = ""] 7415 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7416 pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32; 7417 #[doc = "The `WebGL2RenderingContext.BLEND_DST_RGB` const."] 7418 #[doc = ""] 7419 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7420 pub const BLEND_DST_RGB: u32 = 32968u64 as u32; 7421 #[doc = "The `WebGL2RenderingContext.BLEND_SRC_RGB` const."] 7422 #[doc = ""] 7423 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7424 pub const BLEND_SRC_RGB: u32 = 32969u64 as u32; 7425 #[doc = "The `WebGL2RenderingContext.BLEND_DST_ALPHA` const."] 7426 #[doc = ""] 7427 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7428 pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32; 7429 #[doc = "The `WebGL2RenderingContext.BLEND_SRC_ALPHA` const."] 7430 #[doc = ""] 7431 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7432 pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32; 7433 #[doc = "The `WebGL2RenderingContext.CONSTANT_COLOR` const."] 7434 #[doc = ""] 7435 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7436 pub const CONSTANT_COLOR: u32 = 32769u64 as u32; 7437 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR` const."] 7438 #[doc = ""] 7439 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7440 pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32; 7441 #[doc = "The `WebGL2RenderingContext.CONSTANT_ALPHA` const."] 7442 #[doc = ""] 7443 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7444 pub const CONSTANT_ALPHA: u32 = 32771u64 as u32; 7445 #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA` const."] 7446 #[doc = ""] 7447 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7448 pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32; 7449 #[doc = "The `WebGL2RenderingContext.BLEND_COLOR` const."] 7450 #[doc = ""] 7451 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7452 pub const BLEND_COLOR: u32 = 32773u64 as u32; 7453 #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER` const."] 7454 #[doc = ""] 7455 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7456 pub const ARRAY_BUFFER: u32 = 34962u64 as u32; 7457 #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER` const."] 7458 #[doc = ""] 7459 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7460 pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32; 7461 #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER_BINDING` const."] 7462 #[doc = ""] 7463 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7464 pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32; 7465 #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const."] 7466 #[doc = ""] 7467 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7468 pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32; 7469 #[doc = "The `WebGL2RenderingContext.STREAM_DRAW` const."] 7470 #[doc = ""] 7471 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7472 pub const STREAM_DRAW: u32 = 35040u64 as u32; 7473 #[doc = "The `WebGL2RenderingContext.STATIC_DRAW` const."] 7474 #[doc = ""] 7475 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7476 pub const STATIC_DRAW: u32 = 35044u64 as u32; 7477 #[doc = "The `WebGL2RenderingContext.DYNAMIC_DRAW` const."] 7478 #[doc = ""] 7479 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7480 pub const DYNAMIC_DRAW: u32 = 35048u64 as u32; 7481 #[doc = "The `WebGL2RenderingContext.BUFFER_SIZE` const."] 7482 #[doc = ""] 7483 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7484 pub const BUFFER_SIZE: u32 = 34660u64 as u32; 7485 #[doc = "The `WebGL2RenderingContext.BUFFER_USAGE` const."] 7486 #[doc = ""] 7487 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7488 pub const BUFFER_USAGE: u32 = 34661u64 as u32; 7489 #[doc = "The `WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB` const."] 7490 #[doc = ""] 7491 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7492 pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32; 7493 #[doc = "The `WebGL2RenderingContext.FRONT` const."] 7494 #[doc = ""] 7495 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7496 pub const FRONT: u32 = 1028u64 as u32; 7497 #[doc = "The `WebGL2RenderingContext.BACK` const."] 7498 #[doc = ""] 7499 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7500 pub const BACK: u32 = 1029u64 as u32; 7501 #[doc = "The `WebGL2RenderingContext.FRONT_AND_BACK` const."] 7502 #[doc = ""] 7503 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7504 pub const FRONT_AND_BACK: u32 = 1032u64 as u32; 7505 #[doc = "The `WebGL2RenderingContext.CULL_FACE` const."] 7506 #[doc = ""] 7507 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7508 pub const CULL_FACE: u32 = 2884u64 as u32; 7509 #[doc = "The `WebGL2RenderingContext.BLEND` const."] 7510 #[doc = ""] 7511 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7512 pub const BLEND: u32 = 3042u64 as u32; 7513 #[doc = "The `WebGL2RenderingContext.DITHER` const."] 7514 #[doc = ""] 7515 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7516 pub const DITHER: u32 = 3024u64 as u32; 7517 #[doc = "The `WebGL2RenderingContext.STENCIL_TEST` const."] 7518 #[doc = ""] 7519 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7520 pub const STENCIL_TEST: u32 = 2960u64 as u32; 7521 #[doc = "The `WebGL2RenderingContext.DEPTH_TEST` const."] 7522 #[doc = ""] 7523 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7524 pub const DEPTH_TEST: u32 = 2929u64 as u32; 7525 #[doc = "The `WebGL2RenderingContext.SCISSOR_TEST` const."] 7526 #[doc = ""] 7527 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7528 pub const SCISSOR_TEST: u32 = 3089u64 as u32; 7529 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FILL` const."] 7530 #[doc = ""] 7531 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7532 pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32; 7533 #[doc = "The `WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const."] 7534 #[doc = ""] 7535 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7536 pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32; 7537 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE` const."] 7538 #[doc = ""] 7539 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7540 pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32; 7541 #[doc = "The `WebGL2RenderingContext.NO_ERROR` const."] 7542 #[doc = ""] 7543 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7544 pub const NO_ERROR: u32 = 0i64 as u32; 7545 #[doc = "The `WebGL2RenderingContext.INVALID_ENUM` const."] 7546 #[doc = ""] 7547 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7548 pub const INVALID_ENUM: u32 = 1280u64 as u32; 7549 #[doc = "The `WebGL2RenderingContext.INVALID_VALUE` const."] 7550 #[doc = ""] 7551 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7552 pub const INVALID_VALUE: u32 = 1281u64 as u32; 7553 #[doc = "The `WebGL2RenderingContext.INVALID_OPERATION` const."] 7554 #[doc = ""] 7555 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7556 pub const INVALID_OPERATION: u32 = 1282u64 as u32; 7557 #[doc = "The `WebGL2RenderingContext.OUT_OF_MEMORY` const."] 7558 #[doc = ""] 7559 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7560 pub const OUT_OF_MEMORY: u32 = 1285u64 as u32; 7561 #[doc = "The `WebGL2RenderingContext.CW` const."] 7562 #[doc = ""] 7563 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7564 pub const CW: u32 = 2304u64 as u32; 7565 #[doc = "The `WebGL2RenderingContext.CCW` const."] 7566 #[doc = ""] 7567 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7568 pub const CCW: u32 = 2305u64 as u32; 7569 #[doc = "The `WebGL2RenderingContext.LINE_WIDTH` const."] 7570 #[doc = ""] 7571 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7572 pub const LINE_WIDTH: u32 = 2849u64 as u32; 7573 #[doc = "The `WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE` const."] 7574 #[doc = ""] 7575 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7576 pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32; 7577 #[doc = "The `WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE` const."] 7578 #[doc = ""] 7579 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7580 pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32; 7581 #[doc = "The `WebGL2RenderingContext.CULL_FACE_MODE` const."] 7582 #[doc = ""] 7583 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7584 pub const CULL_FACE_MODE: u32 = 2885u64 as u32; 7585 #[doc = "The `WebGL2RenderingContext.FRONT_FACE` const."] 7586 #[doc = ""] 7587 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7588 pub const FRONT_FACE: u32 = 2886u64 as u32; 7589 #[doc = "The `WebGL2RenderingContext.DEPTH_RANGE` const."] 7590 #[doc = ""] 7591 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7592 pub const DEPTH_RANGE: u32 = 2928u64 as u32; 7593 #[doc = "The `WebGL2RenderingContext.DEPTH_WRITEMASK` const."] 7594 #[doc = ""] 7595 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7596 pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32; 7597 #[doc = "The `WebGL2RenderingContext.DEPTH_CLEAR_VALUE` const."] 7598 #[doc = ""] 7599 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7600 pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32; 7601 #[doc = "The `WebGL2RenderingContext.DEPTH_FUNC` const."] 7602 #[doc = ""] 7603 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7604 pub const DEPTH_FUNC: u32 = 2932u64 as u32; 7605 #[doc = "The `WebGL2RenderingContext.STENCIL_CLEAR_VALUE` const."] 7606 #[doc = ""] 7607 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7608 pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32; 7609 #[doc = "The `WebGL2RenderingContext.STENCIL_FUNC` const."] 7610 #[doc = ""] 7611 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7612 pub const STENCIL_FUNC: u32 = 2962u64 as u32; 7613 #[doc = "The `WebGL2RenderingContext.STENCIL_FAIL` const."] 7614 #[doc = ""] 7615 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7616 pub const STENCIL_FAIL: u32 = 2964u64 as u32; 7617 #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL` const."] 7618 #[doc = ""] 7619 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7620 pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32; 7621 #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS` const."] 7622 #[doc = ""] 7623 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7624 pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32; 7625 #[doc = "The `WebGL2RenderingContext.STENCIL_REF` const."] 7626 #[doc = ""] 7627 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7628 pub const STENCIL_REF: u32 = 2967u64 as u32; 7629 #[doc = "The `WebGL2RenderingContext.STENCIL_VALUE_MASK` const."] 7630 #[doc = ""] 7631 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7632 pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32; 7633 #[doc = "The `WebGL2RenderingContext.STENCIL_WRITEMASK` const."] 7634 #[doc = ""] 7635 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7636 pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32; 7637 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FUNC` const."] 7638 #[doc = ""] 7639 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7640 pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32; 7641 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FAIL` const."] 7642 #[doc = ""] 7643 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7644 pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32; 7645 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const."] 7646 #[doc = ""] 7647 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7648 pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32; 7649 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const."] 7650 #[doc = ""] 7651 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7652 pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32; 7653 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_REF` const."] 7654 #[doc = ""] 7655 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7656 pub const STENCIL_BACK_REF: u32 = 36003u64 as u32; 7657 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK` const."] 7658 #[doc = ""] 7659 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7660 pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32; 7661 #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_WRITEMASK` const."] 7662 #[doc = ""] 7663 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7664 pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32; 7665 #[doc = "The `WebGL2RenderingContext.VIEWPORT` const."] 7666 #[doc = ""] 7667 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7668 pub const VIEWPORT: u32 = 2978u64 as u32; 7669 #[doc = "The `WebGL2RenderingContext.SCISSOR_BOX` const."] 7670 #[doc = ""] 7671 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7672 pub const SCISSOR_BOX: u32 = 3088u64 as u32; 7673 #[doc = "The `WebGL2RenderingContext.COLOR_CLEAR_VALUE` const."] 7674 #[doc = ""] 7675 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7676 pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32; 7677 #[doc = "The `WebGL2RenderingContext.COLOR_WRITEMASK` const."] 7678 #[doc = ""] 7679 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7680 pub const COLOR_WRITEMASK: u32 = 3107u64 as u32; 7681 #[doc = "The `WebGL2RenderingContext.UNPACK_ALIGNMENT` const."] 7682 #[doc = ""] 7683 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7684 pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32; 7685 #[doc = "The `WebGL2RenderingContext.PACK_ALIGNMENT` const."] 7686 #[doc = ""] 7687 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7688 pub const PACK_ALIGNMENT: u32 = 3333u64 as u32; 7689 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_SIZE` const."] 7690 #[doc = ""] 7691 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7692 pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32; 7693 #[doc = "The `WebGL2RenderingContext.MAX_VIEWPORT_DIMS` const."] 7694 #[doc = ""] 7695 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7696 pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32; 7697 #[doc = "The `WebGL2RenderingContext.SUBPIXEL_BITS` const."] 7698 #[doc = ""] 7699 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7700 pub const SUBPIXEL_BITS: u32 = 3408u64 as u32; 7701 #[doc = "The `WebGL2RenderingContext.RED_BITS` const."] 7702 #[doc = ""] 7703 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7704 pub const RED_BITS: u32 = 3410u64 as u32; 7705 #[doc = "The `WebGL2RenderingContext.GREEN_BITS` const."] 7706 #[doc = ""] 7707 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7708 pub const GREEN_BITS: u32 = 3411u64 as u32; 7709 #[doc = "The `WebGL2RenderingContext.BLUE_BITS` const."] 7710 #[doc = ""] 7711 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7712 pub const BLUE_BITS: u32 = 3412u64 as u32; 7713 #[doc = "The `WebGL2RenderingContext.ALPHA_BITS` const."] 7714 #[doc = ""] 7715 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7716 pub const ALPHA_BITS: u32 = 3413u64 as u32; 7717 #[doc = "The `WebGL2RenderingContext.DEPTH_BITS` const."] 7718 #[doc = ""] 7719 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7720 pub const DEPTH_BITS: u32 = 3414u64 as u32; 7721 #[doc = "The `WebGL2RenderingContext.STENCIL_BITS` const."] 7722 #[doc = ""] 7723 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7724 pub const STENCIL_BITS: u32 = 3415u64 as u32; 7725 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_UNITS` const."] 7726 #[doc = ""] 7727 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7728 pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32; 7729 #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FACTOR` const."] 7730 #[doc = ""] 7731 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7732 pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32; 7733 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D` const."] 7734 #[doc = ""] 7735 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7736 pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32; 7737 #[doc = "The `WebGL2RenderingContext.SAMPLE_BUFFERS` const."] 7738 #[doc = ""] 7739 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7740 pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32; 7741 #[doc = "The `WebGL2RenderingContext.SAMPLES` const."] 7742 #[doc = ""] 7743 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7744 pub const SAMPLES: u32 = 32937u64 as u32; 7745 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE` const."] 7746 #[doc = ""] 7747 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7748 pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32; 7749 #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT` const."] 7750 #[doc = ""] 7751 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7752 pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32; 7753 #[doc = "The `WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS` const."] 7754 #[doc = ""] 7755 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7756 pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32; 7757 #[doc = "The `WebGL2RenderingContext.DONT_CARE` const."] 7758 #[doc = ""] 7759 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7760 pub const DONT_CARE: u32 = 4352u64 as u32; 7761 #[doc = "The `WebGL2RenderingContext.FASTEST` const."] 7762 #[doc = ""] 7763 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7764 pub const FASTEST: u32 = 4353u64 as u32; 7765 #[doc = "The `WebGL2RenderingContext.NICEST` const."] 7766 #[doc = ""] 7767 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7768 pub const NICEST: u32 = 4354u64 as u32; 7769 #[doc = "The `WebGL2RenderingContext.GENERATE_MIPMAP_HINT` const."] 7770 #[doc = ""] 7771 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7772 pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32; 7773 #[doc = "The `WebGL2RenderingContext.BYTE` const."] 7774 #[doc = ""] 7775 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7776 pub const BYTE: u32 = 5120u64 as u32; 7777 #[doc = "The `WebGL2RenderingContext.UNSIGNED_BYTE` const."] 7778 #[doc = ""] 7779 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7780 pub const UNSIGNED_BYTE: u32 = 5121u64 as u32; 7781 #[doc = "The `WebGL2RenderingContext.SHORT` const."] 7782 #[doc = ""] 7783 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7784 pub const SHORT: u32 = 5122u64 as u32; 7785 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT` const."] 7786 #[doc = ""] 7787 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7788 pub const UNSIGNED_SHORT: u32 = 5123u64 as u32; 7789 #[doc = "The `WebGL2RenderingContext.INT` const."] 7790 #[doc = ""] 7791 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7792 pub const INT: u32 = 5124u64 as u32; 7793 #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT` const."] 7794 #[doc = ""] 7795 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7796 pub const UNSIGNED_INT: u32 = 5125u64 as u32; 7797 #[doc = "The `WebGL2RenderingContext.FLOAT` const."] 7798 #[doc = ""] 7799 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7800 pub const FLOAT: u32 = 5126u64 as u32; 7801 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT` const."] 7802 #[doc = ""] 7803 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7804 pub const DEPTH_COMPONENT: u32 = 6402u64 as u32; 7805 #[doc = "The `WebGL2RenderingContext.ALPHA` const."] 7806 #[doc = ""] 7807 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7808 pub const ALPHA: u32 = 6406u64 as u32; 7809 #[doc = "The `WebGL2RenderingContext.RGB` const."] 7810 #[doc = ""] 7811 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7812 pub const RGB: u32 = 6407u64 as u32; 7813 #[doc = "The `WebGL2RenderingContext.RGBA` const."] 7814 #[doc = ""] 7815 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7816 pub const RGBA: u32 = 6408u64 as u32; 7817 #[doc = "The `WebGL2RenderingContext.LUMINANCE` const."] 7818 #[doc = ""] 7819 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7820 pub const LUMINANCE: u32 = 6409u64 as u32; 7821 #[doc = "The `WebGL2RenderingContext.LUMINANCE_ALPHA` const."] 7822 #[doc = ""] 7823 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7824 pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32; 7825 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4` const."] 7826 #[doc = ""] 7827 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7828 pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32; 7829 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1` const."] 7830 #[doc = ""] 7831 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7832 pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32; 7833 #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5` const."] 7834 #[doc = ""] 7835 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7836 pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32; 7837 #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER` const."] 7838 #[doc = ""] 7839 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7840 pub const FRAGMENT_SHADER: u32 = 35632u64 as u32; 7841 #[doc = "The `WebGL2RenderingContext.VERTEX_SHADER` const."] 7842 #[doc = ""] 7843 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7844 pub const VERTEX_SHADER: u32 = 35633u64 as u32; 7845 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_ATTRIBS` const."] 7846 #[doc = ""] 7847 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7848 pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32; 7849 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const."] 7850 #[doc = ""] 7851 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7852 pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32; 7853 #[doc = "The `WebGL2RenderingContext.MAX_VARYING_VECTORS` const."] 7854 #[doc = ""] 7855 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7856 pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32; 7857 #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const."] 7858 #[doc = ""] 7859 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7860 pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32; 7861 #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const."] 7862 #[doc = ""] 7863 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7864 pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32; 7865 #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS` const."] 7866 #[doc = ""] 7867 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7868 pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32; 7869 #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const."] 7870 #[doc = ""] 7871 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7872 pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32; 7873 #[doc = "The `WebGL2RenderingContext.SHADER_TYPE` const."] 7874 #[doc = ""] 7875 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7876 pub const SHADER_TYPE: u32 = 35663u64 as u32; 7877 #[doc = "The `WebGL2RenderingContext.DELETE_STATUS` const."] 7878 #[doc = ""] 7879 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7880 pub const DELETE_STATUS: u32 = 35712u64 as u32; 7881 #[doc = "The `WebGL2RenderingContext.LINK_STATUS` const."] 7882 #[doc = ""] 7883 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7884 pub const LINK_STATUS: u32 = 35714u64 as u32; 7885 #[doc = "The `WebGL2RenderingContext.VALIDATE_STATUS` const."] 7886 #[doc = ""] 7887 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7888 pub const VALIDATE_STATUS: u32 = 35715u64 as u32; 7889 #[doc = "The `WebGL2RenderingContext.ATTACHED_SHADERS` const."] 7890 #[doc = ""] 7891 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7892 pub const ATTACHED_SHADERS: u32 = 35717u64 as u32; 7893 #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORMS` const."] 7894 #[doc = ""] 7895 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7896 pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32; 7897 #[doc = "The `WebGL2RenderingContext.ACTIVE_ATTRIBUTES` const."] 7898 #[doc = ""] 7899 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7900 pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32; 7901 #[doc = "The `WebGL2RenderingContext.SHADING_LANGUAGE_VERSION` const."] 7902 #[doc = ""] 7903 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7904 pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32; 7905 #[doc = "The `WebGL2RenderingContext.CURRENT_PROGRAM` const."] 7906 #[doc = ""] 7907 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7908 pub const CURRENT_PROGRAM: u32 = 35725u64 as u32; 7909 #[doc = "The `WebGL2RenderingContext.NEVER` const."] 7910 #[doc = ""] 7911 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7912 pub const NEVER: u32 = 512u64 as u32; 7913 #[doc = "The `WebGL2RenderingContext.LESS` const."] 7914 #[doc = ""] 7915 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7916 pub const LESS: u32 = 513u64 as u32; 7917 #[doc = "The `WebGL2RenderingContext.EQUAL` const."] 7918 #[doc = ""] 7919 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7920 pub const EQUAL: u32 = 514u64 as u32; 7921 #[doc = "The `WebGL2RenderingContext.LEQUAL` const."] 7922 #[doc = ""] 7923 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7924 pub const LEQUAL: u32 = 515u64 as u32; 7925 #[doc = "The `WebGL2RenderingContext.GREATER` const."] 7926 #[doc = ""] 7927 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7928 pub const GREATER: u32 = 516u64 as u32; 7929 #[doc = "The `WebGL2RenderingContext.NOTEQUAL` const."] 7930 #[doc = ""] 7931 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7932 pub const NOTEQUAL: u32 = 517u64 as u32; 7933 #[doc = "The `WebGL2RenderingContext.GEQUAL` const."] 7934 #[doc = ""] 7935 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7936 pub const GEQUAL: u32 = 518u64 as u32; 7937 #[doc = "The `WebGL2RenderingContext.ALWAYS` const."] 7938 #[doc = ""] 7939 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7940 pub const ALWAYS: u32 = 519u64 as u32; 7941 #[doc = "The `WebGL2RenderingContext.KEEP` const."] 7942 #[doc = ""] 7943 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7944 pub const KEEP: u32 = 7680u64 as u32; 7945 #[doc = "The `WebGL2RenderingContext.REPLACE` const."] 7946 #[doc = ""] 7947 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7948 pub const REPLACE: u32 = 7681u64 as u32; 7949 #[doc = "The `WebGL2RenderingContext.INCR` const."] 7950 #[doc = ""] 7951 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7952 pub const INCR: u32 = 7682u64 as u32; 7953 #[doc = "The `WebGL2RenderingContext.DECR` const."] 7954 #[doc = ""] 7955 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7956 pub const DECR: u32 = 7683u64 as u32; 7957 #[doc = "The `WebGL2RenderingContext.INVERT` const."] 7958 #[doc = ""] 7959 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7960 pub const INVERT: u32 = 5386u64 as u32; 7961 #[doc = "The `WebGL2RenderingContext.INCR_WRAP` const."] 7962 #[doc = ""] 7963 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7964 pub const INCR_WRAP: u32 = 34055u64 as u32; 7965 #[doc = "The `WebGL2RenderingContext.DECR_WRAP` const."] 7966 #[doc = ""] 7967 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7968 pub const DECR_WRAP: u32 = 34056u64 as u32; 7969 #[doc = "The `WebGL2RenderingContext.VENDOR` const."] 7970 #[doc = ""] 7971 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7972 pub const VENDOR: u32 = 7936u64 as u32; 7973 #[doc = "The `WebGL2RenderingContext.RENDERER` const."] 7974 #[doc = ""] 7975 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7976 pub const RENDERER: u32 = 7937u64 as u32; 7977 #[doc = "The `WebGL2RenderingContext.VERSION` const."] 7978 #[doc = ""] 7979 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7980 pub const VERSION: u32 = 7938u64 as u32; 7981 #[doc = "The `WebGL2RenderingContext.NEAREST` const."] 7982 #[doc = ""] 7983 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7984 pub const NEAREST: u32 = 9728u64 as u32; 7985 #[doc = "The `WebGL2RenderingContext.LINEAR` const."] 7986 #[doc = ""] 7987 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7988 pub const LINEAR: u32 = 9729u64 as u32; 7989 #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST` const."] 7990 #[doc = ""] 7991 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7992 pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32; 7993 #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST` const."] 7994 #[doc = ""] 7995 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 7996 pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32; 7997 #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR` const."] 7998 #[doc = ""] 7999 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8000 pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32; 8001 #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR` const."] 8002 #[doc = ""] 8003 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8004 pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32; 8005 #[doc = "The `WebGL2RenderingContext.TEXTURE_MAG_FILTER` const."] 8006 #[doc = ""] 8007 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8008 pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32; 8009 #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_FILTER` const."] 8010 #[doc = ""] 8011 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8012 pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32; 8013 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_S` const."] 8014 #[doc = ""] 8015 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8016 pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32; 8017 #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_T` const."] 8018 #[doc = ""] 8019 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8020 pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32; 8021 #[doc = "The `WebGL2RenderingContext.TEXTURE_2D` const."] 8022 #[doc = ""] 8023 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8024 pub const TEXTURE_2D: u32 = 3553u64 as u32; 8025 #[doc = "The `WebGL2RenderingContext.TEXTURE` const."] 8026 #[doc = ""] 8027 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8028 pub const TEXTURE: u32 = 5890u64 as u32; 8029 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP` const."] 8030 #[doc = ""] 8031 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8032 pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32; 8033 #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP` const."] 8034 #[doc = ""] 8035 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8036 pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32; 8037 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const."] 8038 #[doc = ""] 8039 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8040 pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32; 8041 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const."] 8042 #[doc = ""] 8043 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8044 pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32; 8045 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const."] 8046 #[doc = ""] 8047 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8048 pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32; 8049 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const."] 8050 #[doc = ""] 8051 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8052 pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32; 8053 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const."] 8054 #[doc = ""] 8055 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8056 pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32; 8057 #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const."] 8058 #[doc = ""] 8059 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8060 pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32; 8061 #[doc = "The `WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const."] 8062 #[doc = ""] 8063 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8064 pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32; 8065 #[doc = "The `WebGL2RenderingContext.TEXTURE0` const."] 8066 #[doc = ""] 8067 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8068 pub const TEXTURE0: u32 = 33984u64 as u32; 8069 #[doc = "The `WebGL2RenderingContext.TEXTURE1` const."] 8070 #[doc = ""] 8071 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8072 pub const TEXTURE1: u32 = 33985u64 as u32; 8073 #[doc = "The `WebGL2RenderingContext.TEXTURE2` const."] 8074 #[doc = ""] 8075 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8076 pub const TEXTURE2: u32 = 33986u64 as u32; 8077 #[doc = "The `WebGL2RenderingContext.TEXTURE3` const."] 8078 #[doc = ""] 8079 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8080 pub const TEXTURE3: u32 = 33987u64 as u32; 8081 #[doc = "The `WebGL2RenderingContext.TEXTURE4` const."] 8082 #[doc = ""] 8083 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8084 pub const TEXTURE4: u32 = 33988u64 as u32; 8085 #[doc = "The `WebGL2RenderingContext.TEXTURE5` const."] 8086 #[doc = ""] 8087 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8088 pub const TEXTURE5: u32 = 33989u64 as u32; 8089 #[doc = "The `WebGL2RenderingContext.TEXTURE6` const."] 8090 #[doc = ""] 8091 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8092 pub const TEXTURE6: u32 = 33990u64 as u32; 8093 #[doc = "The `WebGL2RenderingContext.TEXTURE7` const."] 8094 #[doc = ""] 8095 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8096 pub const TEXTURE7: u32 = 33991u64 as u32; 8097 #[doc = "The `WebGL2RenderingContext.TEXTURE8` const."] 8098 #[doc = ""] 8099 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8100 pub const TEXTURE8: u32 = 33992u64 as u32; 8101 #[doc = "The `WebGL2RenderingContext.TEXTURE9` const."] 8102 #[doc = ""] 8103 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8104 pub const TEXTURE9: u32 = 33993u64 as u32; 8105 #[doc = "The `WebGL2RenderingContext.TEXTURE10` const."] 8106 #[doc = ""] 8107 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8108 pub const TEXTURE10: u32 = 33994u64 as u32; 8109 #[doc = "The `WebGL2RenderingContext.TEXTURE11` const."] 8110 #[doc = ""] 8111 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8112 pub const TEXTURE11: u32 = 33995u64 as u32; 8113 #[doc = "The `WebGL2RenderingContext.TEXTURE12` const."] 8114 #[doc = ""] 8115 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8116 pub const TEXTURE12: u32 = 33996u64 as u32; 8117 #[doc = "The `WebGL2RenderingContext.TEXTURE13` const."] 8118 #[doc = ""] 8119 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8120 pub const TEXTURE13: u32 = 33997u64 as u32; 8121 #[doc = "The `WebGL2RenderingContext.TEXTURE14` const."] 8122 #[doc = ""] 8123 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8124 pub const TEXTURE14: u32 = 33998u64 as u32; 8125 #[doc = "The `WebGL2RenderingContext.TEXTURE15` const."] 8126 #[doc = ""] 8127 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8128 pub const TEXTURE15: u32 = 33999u64 as u32; 8129 #[doc = "The `WebGL2RenderingContext.TEXTURE16` const."] 8130 #[doc = ""] 8131 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8132 pub const TEXTURE16: u32 = 34000u64 as u32; 8133 #[doc = "The `WebGL2RenderingContext.TEXTURE17` const."] 8134 #[doc = ""] 8135 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8136 pub const TEXTURE17: u32 = 34001u64 as u32; 8137 #[doc = "The `WebGL2RenderingContext.TEXTURE18` const."] 8138 #[doc = ""] 8139 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8140 pub const TEXTURE18: u32 = 34002u64 as u32; 8141 #[doc = "The `WebGL2RenderingContext.TEXTURE19` const."] 8142 #[doc = ""] 8143 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8144 pub const TEXTURE19: u32 = 34003u64 as u32; 8145 #[doc = "The `WebGL2RenderingContext.TEXTURE20` const."] 8146 #[doc = ""] 8147 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8148 pub const TEXTURE20: u32 = 34004u64 as u32; 8149 #[doc = "The `WebGL2RenderingContext.TEXTURE21` const."] 8150 #[doc = ""] 8151 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8152 pub const TEXTURE21: u32 = 34005u64 as u32; 8153 #[doc = "The `WebGL2RenderingContext.TEXTURE22` const."] 8154 #[doc = ""] 8155 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8156 pub const TEXTURE22: u32 = 34006u64 as u32; 8157 #[doc = "The `WebGL2RenderingContext.TEXTURE23` const."] 8158 #[doc = ""] 8159 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8160 pub const TEXTURE23: u32 = 34007u64 as u32; 8161 #[doc = "The `WebGL2RenderingContext.TEXTURE24` const."] 8162 #[doc = ""] 8163 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8164 pub const TEXTURE24: u32 = 34008u64 as u32; 8165 #[doc = "The `WebGL2RenderingContext.TEXTURE25` const."] 8166 #[doc = ""] 8167 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8168 pub const TEXTURE25: u32 = 34009u64 as u32; 8169 #[doc = "The `WebGL2RenderingContext.TEXTURE26` const."] 8170 #[doc = ""] 8171 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8172 pub const TEXTURE26: u32 = 34010u64 as u32; 8173 #[doc = "The `WebGL2RenderingContext.TEXTURE27` const."] 8174 #[doc = ""] 8175 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8176 pub const TEXTURE27: u32 = 34011u64 as u32; 8177 #[doc = "The `WebGL2RenderingContext.TEXTURE28` const."] 8178 #[doc = ""] 8179 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8180 pub const TEXTURE28: u32 = 34012u64 as u32; 8181 #[doc = "The `WebGL2RenderingContext.TEXTURE29` const."] 8182 #[doc = ""] 8183 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8184 pub const TEXTURE29: u32 = 34013u64 as u32; 8185 #[doc = "The `WebGL2RenderingContext.TEXTURE30` const."] 8186 #[doc = ""] 8187 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8188 pub const TEXTURE30: u32 = 34014u64 as u32; 8189 #[doc = "The `WebGL2RenderingContext.TEXTURE31` const."] 8190 #[doc = ""] 8191 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8192 pub const TEXTURE31: u32 = 34015u64 as u32; 8193 #[doc = "The `WebGL2RenderingContext.ACTIVE_TEXTURE` const."] 8194 #[doc = ""] 8195 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8196 pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32; 8197 #[doc = "The `WebGL2RenderingContext.REPEAT` const."] 8198 #[doc = ""] 8199 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8200 pub const REPEAT: u32 = 10497u64 as u32; 8201 #[doc = "The `WebGL2RenderingContext.CLAMP_TO_EDGE` const."] 8202 #[doc = ""] 8203 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8204 pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32; 8205 #[doc = "The `WebGL2RenderingContext.MIRRORED_REPEAT` const."] 8206 #[doc = ""] 8207 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8208 pub const MIRRORED_REPEAT: u32 = 33648u64 as u32; 8209 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC2` const."] 8210 #[doc = ""] 8211 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8212 pub const FLOAT_VEC2: u32 = 35664u64 as u32; 8213 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC3` const."] 8214 #[doc = ""] 8215 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8216 pub const FLOAT_VEC3: u32 = 35665u64 as u32; 8217 #[doc = "The `WebGL2RenderingContext.FLOAT_VEC4` const."] 8218 #[doc = ""] 8219 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8220 pub const FLOAT_VEC4: u32 = 35666u64 as u32; 8221 #[doc = "The `WebGL2RenderingContext.INT_VEC2` const."] 8222 #[doc = ""] 8223 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8224 pub const INT_VEC2: u32 = 35667u64 as u32; 8225 #[doc = "The `WebGL2RenderingContext.INT_VEC3` const."] 8226 #[doc = ""] 8227 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8228 pub const INT_VEC3: u32 = 35668u64 as u32; 8229 #[doc = "The `WebGL2RenderingContext.INT_VEC4` const."] 8230 #[doc = ""] 8231 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8232 pub const INT_VEC4: u32 = 35669u64 as u32; 8233 #[doc = "The `WebGL2RenderingContext.BOOL` const."] 8234 #[doc = ""] 8235 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8236 pub const BOOL: u32 = 35670u64 as u32; 8237 #[doc = "The `WebGL2RenderingContext.BOOL_VEC2` const."] 8238 #[doc = ""] 8239 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8240 pub const BOOL_VEC2: u32 = 35671u64 as u32; 8241 #[doc = "The `WebGL2RenderingContext.BOOL_VEC3` const."] 8242 #[doc = ""] 8243 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8244 pub const BOOL_VEC3: u32 = 35672u64 as u32; 8245 #[doc = "The `WebGL2RenderingContext.BOOL_VEC4` const."] 8246 #[doc = ""] 8247 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8248 pub const BOOL_VEC4: u32 = 35673u64 as u32; 8249 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2` const."] 8250 #[doc = ""] 8251 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8252 pub const FLOAT_MAT2: u32 = 35674u64 as u32; 8253 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3` const."] 8254 #[doc = ""] 8255 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8256 pub const FLOAT_MAT3: u32 = 35675u64 as u32; 8257 #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4` const."] 8258 #[doc = ""] 8259 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8260 pub const FLOAT_MAT4: u32 = 35676u64 as u32; 8261 #[doc = "The `WebGL2RenderingContext.SAMPLER_2D` const."] 8262 #[doc = ""] 8263 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8264 pub const SAMPLER_2D: u32 = 35678u64 as u32; 8265 #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE` const."] 8266 #[doc = ""] 8267 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8268 pub const SAMPLER_CUBE: u32 = 35680u64 as u32; 8269 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const."] 8270 #[doc = ""] 8271 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8272 pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32; 8273 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const."] 8274 #[doc = ""] 8275 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8276 pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32; 8277 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const."] 8278 #[doc = ""] 8279 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8280 pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32; 8281 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const."] 8282 #[doc = ""] 8283 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8284 pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32; 8285 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const."] 8286 #[doc = ""] 8287 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8288 pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32; 8289 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const."] 8290 #[doc = ""] 8291 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8292 pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32; 8293 #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const."] 8294 #[doc = ""] 8295 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8296 pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32; 8297 #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const."] 8298 #[doc = ""] 8299 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8300 pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32; 8301 #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const."] 8302 #[doc = ""] 8303 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8304 pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32; 8305 #[doc = "The `WebGL2RenderingContext.COMPILE_STATUS` const."] 8306 #[doc = ""] 8307 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8308 pub const COMPILE_STATUS: u32 = 35713u64 as u32; 8309 #[doc = "The `WebGL2RenderingContext.LOW_FLOAT` const."] 8310 #[doc = ""] 8311 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8312 pub const LOW_FLOAT: u32 = 36336u64 as u32; 8313 #[doc = "The `WebGL2RenderingContext.MEDIUM_FLOAT` const."] 8314 #[doc = ""] 8315 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8316 pub const MEDIUM_FLOAT: u32 = 36337u64 as u32; 8317 #[doc = "The `WebGL2RenderingContext.HIGH_FLOAT` const."] 8318 #[doc = ""] 8319 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8320 pub const HIGH_FLOAT: u32 = 36338u64 as u32; 8321 #[doc = "The `WebGL2RenderingContext.LOW_INT` const."] 8322 #[doc = ""] 8323 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8324 pub const LOW_INT: u32 = 36339u64 as u32; 8325 #[doc = "The `WebGL2RenderingContext.MEDIUM_INT` const."] 8326 #[doc = ""] 8327 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8328 pub const MEDIUM_INT: u32 = 36340u64 as u32; 8329 #[doc = "The `WebGL2RenderingContext.HIGH_INT` const."] 8330 #[doc = ""] 8331 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8332 pub const HIGH_INT: u32 = 36341u64 as u32; 8333 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER` const."] 8334 #[doc = ""] 8335 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8336 pub const FRAMEBUFFER: u32 = 36160u64 as u32; 8337 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER` const."] 8338 #[doc = ""] 8339 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8340 pub const RENDERBUFFER: u32 = 36161u64 as u32; 8341 #[doc = "The `WebGL2RenderingContext.RGBA4` const."] 8342 #[doc = ""] 8343 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8344 pub const RGBA4: u32 = 32854u64 as u32; 8345 #[doc = "The `WebGL2RenderingContext.RGB5_A1` const."] 8346 #[doc = ""] 8347 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8348 pub const RGB5_A1: u32 = 32855u64 as u32; 8349 #[doc = "The `WebGL2RenderingContext.RGB565` const."] 8350 #[doc = ""] 8351 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8352 pub const RGB565: u32 = 36194u64 as u32; 8353 #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT16` const."] 8354 #[doc = ""] 8355 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8356 pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32; 8357 #[doc = "The `WebGL2RenderingContext.STENCIL_INDEX8` const."] 8358 #[doc = ""] 8359 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8360 pub const STENCIL_INDEX8: u32 = 36168u64 as u32; 8361 #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL` const."] 8362 #[doc = ""] 8363 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8364 pub const DEPTH_STENCIL: u32 = 34041u64 as u32; 8365 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_WIDTH` const."] 8366 #[doc = ""] 8367 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8368 pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32; 8369 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_HEIGHT` const."] 8370 #[doc = ""] 8371 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8372 pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32; 8373 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const."] 8374 #[doc = ""] 8375 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8376 pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32; 8377 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_RED_SIZE` const."] 8378 #[doc = ""] 8379 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8380 pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32; 8381 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE` const."] 8382 #[doc = ""] 8383 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8384 pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32; 8385 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE` const."] 8386 #[doc = ""] 8387 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8388 pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32; 8389 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE` const."] 8390 #[doc = ""] 8391 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8392 pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32; 8393 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE` const."] 8394 #[doc = ""] 8395 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8396 pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32; 8397 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE` const."] 8398 #[doc = ""] 8399 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8400 pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32; 8401 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const."] 8402 #[doc = ""] 8403 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8404 pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32; 8405 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const."] 8406 #[doc = ""] 8407 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8408 pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32; 8409 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const."] 8410 #[doc = ""] 8411 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8412 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32; 8413 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const."] 8414 #[doc = ""] 8415 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8416 pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32; 8417 #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT0` const."] 8418 #[doc = ""] 8419 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8420 pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32; 8421 #[doc = "The `WebGL2RenderingContext.DEPTH_ATTACHMENT` const."] 8422 #[doc = ""] 8423 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8424 pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32; 8425 #[doc = "The `WebGL2RenderingContext.STENCIL_ATTACHMENT` const."] 8426 #[doc = ""] 8427 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8428 pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32; 8429 #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT` const."] 8430 #[doc = ""] 8431 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8432 pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32; 8433 #[doc = "The `WebGL2RenderingContext.NONE` const."] 8434 #[doc = ""] 8435 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8436 pub const NONE: u32 = 0i64 as u32; 8437 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_COMPLETE` const."] 8438 #[doc = ""] 8439 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8440 pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32; 8441 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const."] 8442 #[doc = ""] 8443 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8444 pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32; 8445 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const."] 8446 #[doc = ""] 8447 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8448 pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32; 8449 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const."] 8450 #[doc = ""] 8451 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8452 pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32; 8453 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED` const."] 8454 #[doc = ""] 8455 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8456 pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32; 8457 #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_BINDING` const."] 8458 #[doc = ""] 8459 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8460 pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32; 8461 #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BINDING` const."] 8462 #[doc = ""] 8463 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8464 pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32; 8465 #[doc = "The `WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE` const."] 8466 #[doc = ""] 8467 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8468 pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32; 8469 #[doc = "The `WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION` const."] 8470 #[doc = ""] 8471 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8472 pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32; 8473 #[doc = "The `WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL` const."] 8474 #[doc = ""] 8475 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8476 pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32; 8477 #[doc = "The `WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const."] 8478 #[doc = ""] 8479 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8480 pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32; 8481 #[doc = "The `WebGL2RenderingContext.CONTEXT_LOST_WEBGL` const."] 8482 #[doc = ""] 8483 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8484 pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32; 8485 #[doc = "The `WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const."] 8486 #[doc = ""] 8487 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8488 pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32; 8489 #[doc = "The `WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL` const."] 8490 #[doc = ""] 8491 #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"] 8492 pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32; 8493 } 8494