1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
#[allow(unused_imports)] use crate::*; pub const VERTEX_ARRAY_BINDING_OES: f32 = 0x85B5 as f32; extern "C" { fn oesvertexarrayobject_create_vertex_array_o_e_s(instance: DOMReference) -> DOMReference; } pub fn create_vertex_array_o_e_s(instance: DOMReference) -> DOMReference { unsafe { oesvertexarrayobject_create_vertex_array_o_e_s(instance) } } extern "C" { fn oesvertexarrayobject_delete_vertex_array_o_e_s( instance: DOMReference, delete_vertex_array_o_e_s: DOMReference, ); } pub fn delete_vertex_array_o_e_s(instance: DOMReference, array_object: DOMReference) { unsafe { oesvertexarrayobject_delete_vertex_array_o_e_s(instance, array_object) } } extern "C" { fn oesvertexarrayobject_is_vertex_array_o_e_s( instance: DOMReference, is_vertex_array_o_e_s: DOMReference, ) -> i32; } pub fn is_vertex_array_o_e_s(instance: DOMReference, array_object: DOMReference) -> bool { unsafe { 0 != oesvertexarrayobject_is_vertex_array_o_e_s(instance, array_object) } } extern "C" { fn oesvertexarrayobject_bind_vertex_array_o_e_s( instance: DOMReference, bind_vertex_array_o_e_s: DOMReference, ); } pub fn bind_vertex_array_o_e_s(instance: DOMReference, array_object: DOMReference) { unsafe { oesvertexarrayobject_bind_vertex_array_o_e_s(instance, array_object) } }