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 = WEBGL_draw_buffers , typescript_type = "WEBGL_draw_buffers")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `WebglDrawBuffers` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 13 pub type WebglDrawBuffers; 14 # [wasm_bindgen (method , structural , js_class = "WEBGL_draw_buffers" , js_name = drawBuffersWEBGL)] 15 #[doc = "The `drawBuffersWEBGL()` method."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] draw_buffers_webgl(this: &WebglDrawBuffers, buffers: &::wasm_bindgen::JsValue)20 pub fn draw_buffers_webgl(this: &WebglDrawBuffers, buffers: &::wasm_bindgen::JsValue); 21 } 22 impl WebglDrawBuffers { 23 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT0_WEBGL` const."] 24 #[doc = ""] 25 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 26 pub const COLOR_ATTACHMENT0_WEBGL: u32 = 36064u64 as u32; 27 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT1_WEBGL` const."] 28 #[doc = ""] 29 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 30 pub const COLOR_ATTACHMENT1_WEBGL: u32 = 36065u64 as u32; 31 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT2_WEBGL` const."] 32 #[doc = ""] 33 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 34 pub const COLOR_ATTACHMENT2_WEBGL: u32 = 36066u64 as u32; 35 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT3_WEBGL` const."] 36 #[doc = ""] 37 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 38 pub const COLOR_ATTACHMENT3_WEBGL: u32 = 36067u64 as u32; 39 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT4_WEBGL` const."] 40 #[doc = ""] 41 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 42 pub const COLOR_ATTACHMENT4_WEBGL: u32 = 36068u64 as u32; 43 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT5_WEBGL` const."] 44 #[doc = ""] 45 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 46 pub const COLOR_ATTACHMENT5_WEBGL: u32 = 36069u64 as u32; 47 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT6_WEBGL` const."] 48 #[doc = ""] 49 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 50 pub const COLOR_ATTACHMENT6_WEBGL: u32 = 36070u64 as u32; 51 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT7_WEBGL` const."] 52 #[doc = ""] 53 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 54 pub const COLOR_ATTACHMENT7_WEBGL: u32 = 36071u64 as u32; 55 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT8_WEBGL` const."] 56 #[doc = ""] 57 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 58 pub const COLOR_ATTACHMENT8_WEBGL: u32 = 36072u64 as u32; 59 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT9_WEBGL` const."] 60 #[doc = ""] 61 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 62 pub const COLOR_ATTACHMENT9_WEBGL: u32 = 36073u64 as u32; 63 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT10_WEBGL` const."] 64 #[doc = ""] 65 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 66 pub const COLOR_ATTACHMENT10_WEBGL: u32 = 36074u64 as u32; 67 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT11_WEBGL` const."] 68 #[doc = ""] 69 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 70 pub const COLOR_ATTACHMENT11_WEBGL: u32 = 36075u64 as u32; 71 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT12_WEBGL` const."] 72 #[doc = ""] 73 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 74 pub const COLOR_ATTACHMENT12_WEBGL: u32 = 36076u64 as u32; 75 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT13_WEBGL` const."] 76 #[doc = ""] 77 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 78 pub const COLOR_ATTACHMENT13_WEBGL: u32 = 36077u64 as u32; 79 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT14_WEBGL` const."] 80 #[doc = ""] 81 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 82 pub const COLOR_ATTACHMENT14_WEBGL: u32 = 36078u64 as u32; 83 #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT15_WEBGL` const."] 84 #[doc = ""] 85 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 86 pub const COLOR_ATTACHMENT15_WEBGL: u32 = 36079u64 as u32; 87 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER0_WEBGL` const."] 88 #[doc = ""] 89 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 90 pub const DRAW_BUFFER0_WEBGL: u32 = 34853u64 as u32; 91 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER1_WEBGL` const."] 92 #[doc = ""] 93 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 94 pub const DRAW_BUFFER1_WEBGL: u32 = 34854u64 as u32; 95 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER2_WEBGL` const."] 96 #[doc = ""] 97 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 98 pub const DRAW_BUFFER2_WEBGL: u32 = 34855u64 as u32; 99 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER3_WEBGL` const."] 100 #[doc = ""] 101 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 102 pub const DRAW_BUFFER3_WEBGL: u32 = 34856u64 as u32; 103 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER4_WEBGL` const."] 104 #[doc = ""] 105 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 106 pub const DRAW_BUFFER4_WEBGL: u32 = 34857u64 as u32; 107 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER5_WEBGL` const."] 108 #[doc = ""] 109 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 110 pub const DRAW_BUFFER5_WEBGL: u32 = 34858u64 as u32; 111 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER6_WEBGL` const."] 112 #[doc = ""] 113 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 114 pub const DRAW_BUFFER6_WEBGL: u32 = 34859u64 as u32; 115 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER7_WEBGL` const."] 116 #[doc = ""] 117 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 118 pub const DRAW_BUFFER7_WEBGL: u32 = 34860u64 as u32; 119 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER8_WEBGL` const."] 120 #[doc = ""] 121 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 122 pub const DRAW_BUFFER8_WEBGL: u32 = 34861u64 as u32; 123 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER9_WEBGL` const."] 124 #[doc = ""] 125 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 126 pub const DRAW_BUFFER9_WEBGL: u32 = 34862u64 as u32; 127 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER10_WEBGL` const."] 128 #[doc = ""] 129 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 130 pub const DRAW_BUFFER10_WEBGL: u32 = 34863u64 as u32; 131 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER11_WEBGL` const."] 132 #[doc = ""] 133 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 134 pub const DRAW_BUFFER11_WEBGL: u32 = 34864u64 as u32; 135 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER12_WEBGL` const."] 136 #[doc = ""] 137 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 138 pub const DRAW_BUFFER12_WEBGL: u32 = 34865u64 as u32; 139 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER13_WEBGL` const."] 140 #[doc = ""] 141 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 142 pub const DRAW_BUFFER13_WEBGL: u32 = 34866u64 as u32; 143 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER14_WEBGL` const."] 144 #[doc = ""] 145 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 146 pub const DRAW_BUFFER14_WEBGL: u32 = 34867u64 as u32; 147 #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER15_WEBGL` const."] 148 #[doc = ""] 149 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 150 pub const DRAW_BUFFER15_WEBGL: u32 = 34868u64 as u32; 151 #[doc = "The `WEBGL_draw_buffers.MAX_COLOR_ATTACHMENTS_WEBGL` const."] 152 #[doc = ""] 153 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 154 pub const MAX_COLOR_ATTACHMENTS_WEBGL: u32 = 36063u64 as u32; 155 #[doc = "The `WEBGL_draw_buffers.MAX_DRAW_BUFFERS_WEBGL` const."] 156 #[doc = ""] 157 #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"] 158 pub const MAX_DRAW_BUFFERS_WEBGL: u32 = 34852u64 as u32; 159 } 160