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