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 = OES_vertex_array_object , typescript_type = "OES_vertex_array_object")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `OesVertexArrayObject` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`*"]
13     pub type OesVertexArrayObject;
14     #[cfg(feature = "WebGlVertexArrayObject")]
15     # [wasm_bindgen (method , structural , js_class = "OES_vertex_array_object" , js_name = bindVertexArrayOES)]
16     #[doc = "The `bindVertexArrayOES()` method."]
17     #[doc = ""]
18     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES)"]
19     #[doc = ""]
20     #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`, `WebGlVertexArrayObject`*"]
bind_vertex_array_oes( this: &OesVertexArrayObject, array_object: Option<&WebGlVertexArrayObject>, )21     pub fn bind_vertex_array_oes(
22         this: &OesVertexArrayObject,
23         array_object: Option<&WebGlVertexArrayObject>,
24     );
25     #[cfg(feature = "WebGlVertexArrayObject")]
26     # [wasm_bindgen (method , structural , js_class = "OES_vertex_array_object" , js_name = createVertexArrayOES)]
27     #[doc = "The `createVertexArrayOES()` method."]
28     #[doc = ""]
29     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)"]
30     #[doc = ""]
31     #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`, `WebGlVertexArrayObject`*"]
create_vertex_array_oes(this: &OesVertexArrayObject) -> Option<WebGlVertexArrayObject>32     pub fn create_vertex_array_oes(this: &OesVertexArrayObject) -> Option<WebGlVertexArrayObject>;
33     #[cfg(feature = "WebGlVertexArrayObject")]
34     # [wasm_bindgen (method , structural , js_class = "OES_vertex_array_object" , js_name = deleteVertexArrayOES)]
35     #[doc = "The `deleteVertexArrayOES()` method."]
36     #[doc = ""]
37     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)"]
38     #[doc = ""]
39     #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`, `WebGlVertexArrayObject`*"]
delete_vertex_array_oes( this: &OesVertexArrayObject, array_object: Option<&WebGlVertexArrayObject>, )40     pub fn delete_vertex_array_oes(
41         this: &OesVertexArrayObject,
42         array_object: Option<&WebGlVertexArrayObject>,
43     );
44     #[cfg(feature = "WebGlVertexArrayObject")]
45     # [wasm_bindgen (method , structural , js_class = "OES_vertex_array_object" , js_name = isVertexArrayOES)]
46     #[doc = "The `isVertexArrayOES()` method."]
47     #[doc = ""]
48     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object/isVertexArrayOES)"]
49     #[doc = ""]
50     #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`, `WebGlVertexArrayObject`*"]
is_vertex_array_oes( this: &OesVertexArrayObject, array_object: Option<&WebGlVertexArrayObject>, ) -> bool51     pub fn is_vertex_array_oes(
52         this: &OesVertexArrayObject,
53         array_object: Option<&WebGlVertexArrayObject>,
54     ) -> bool;
55 }
56 impl OesVertexArrayObject {
57     #[doc = "The `OES_vertex_array_object.VERTEX_ARRAY_BINDING_OES` const."]
58     #[doc = ""]
59     #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`*"]
60     pub const VERTEX_ARRAY_BINDING_OES: u32 = 34229u64 as u32;
61 }
62