1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = ANGLE_instanced_arrays , typescript_type = "ANGLE_instanced_arrays")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `AngleInstancedArrays` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
14 pub type AngleInstancedArrays;
15 # [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawArraysInstancedANGLE)]
16 #[doc = "The `drawArraysInstancedANGLE()` method."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawArraysInstancedANGLE)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
21 pub fn draw_arrays_instanced_angle(
22 this: &AngleInstancedArrays,
23 mode: u32,
24 first: i32,
25 count: i32,
26 primcount: i32,
27 );
28 # [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE)]
29 #[doc = "The `drawElementsInstancedANGLE()` method."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
34 pub fn draw_elements_instanced_angle_with_i32(
35 this: &AngleInstancedArrays,
36 mode: u32,
37 count: i32,
38 type_: u32,
39 offset: i32,
40 primcount: i32,
41 );
42 # [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE)]
43 #[doc = "The `drawElementsInstancedANGLE()` method."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
48 pub fn draw_elements_instanced_angle_with_f64(
49 this: &AngleInstancedArrays,
50 mode: u32,
51 count: i32,
52 type_: u32,
53 offset: f64,
54 primcount: i32,
55 );
56 # [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = vertexAttribDivisorANGLE)]
57 #[doc = "The `vertexAttribDivisorANGLE()` method."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/vertexAttribDivisorANGLE)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
62 pub fn vertex_attrib_divisor_angle(this: &AngleInstancedArrays, index: u32, divisor: u32);
63}
64impl AngleInstancedArrays {
65 #[doc = "The `ANGLE_instanced_arrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE` const."]
66 #[doc = ""]
67 #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
68 pub const VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: u32 = 35070u64 as u32;
69}
70