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