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