web_sys/features/
gen_WebGlShaderPrecisionFormat.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "::js_sys::Object",
9 js_name = "WebGLShaderPrecisionFormat",
10 typescript_type = "WebGLShaderPrecisionFormat"
11 )]
12 #[derive(Debug, Clone, PartialEq, Eq)]
13 #[doc = "The `WebGlShaderPrecisionFormat` class."]
14 #[doc = ""]
15 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat)"]
16 #[doc = ""]
17 #[doc = "*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*"]
18 pub type WebGlShaderPrecisionFormat;
19 #[wasm_bindgen(
20 method,
21 getter,
22 js_class = "WebGLShaderPrecisionFormat",
23 js_name = "rangeMin"
24 )]
25 #[doc = "Getter for the `rangeMin` field of this object."]
26 #[doc = ""]
27 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/rangeMin)"]
28 #[doc = ""]
29 #[doc = "*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*"]
30 pub fn range_min(this: &WebGlShaderPrecisionFormat) -> i32;
31 #[wasm_bindgen(
32 method,
33 getter,
34 js_class = "WebGLShaderPrecisionFormat",
35 js_name = "rangeMax"
36 )]
37 #[doc = "Getter for the `rangeMax` field of this object."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/rangeMax)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*"]
42 pub fn range_max(this: &WebGlShaderPrecisionFormat) -> i32;
43 #[wasm_bindgen(
44 method,
45 getter,
46 js_class = "WebGLShaderPrecisionFormat",
47 js_name = "precision"
48 )]
49 #[doc = "Getter for the `precision` field of this object."]
50 #[doc = ""]
51 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/precision)"]
52 #[doc = ""]
53 #[doc = "*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*"]
54 pub fn precision(this: &WebGlShaderPrecisionFormat) -> i32;
55}