Skip to main content

engage/generated/unity_engine/rendering/
xrgraphicsautomatedtests.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-xrgraphicsautomatedtests-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/xrgraphicsautomatedtests/XRGraphicsAutomatedTests.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering", name = "XRGraphicsAutomatedTests")]
12    #[parent(crate::system::object::Object)]
13    pub struct XRGraphicsAutomatedTests {
14        #[static_field]
15        #[rename(name = "running")]
16        pub running: bool,
17    }
18}
19
20#[cfg(feature = "unity_engine-rendering-xrgraphicsautomatedtests-types")]
21pub use __types::*;
22
23#[cfg(feature = "unity_engine-rendering-xrgraphicsautomatedtests")]
24impl XRGraphicsAutomatedTests {
25    #[doc = "`get_activatedFromCommandLine()` overload"]
26    pub fn get_activated_from_command_line() -> bool {
27        unsafe {
28            ::unity::il2cpp_call!((::unity::module_base()+0x33e9540usize)as*mut u8,bool;
29            )
30        }
31    }
32
33    #[doc = "`get_enabled()` overload"]
34    pub fn get_enabled() -> bool {
35        unsafe {
36            ::unity::il2cpp_call!((::unity::module_base()+0x33e9670usize)as*mut u8,bool;
37            )
38        }
39    }
40
41    #[doc = "`.cctor()` overload"]
42    pub fn cctor() -> () {
43        unsafe {
44            ::unity::il2cpp_call!((::unity::module_base()+0x33e96e0usize)as*mut u8,();
45            )
46        }
47    }
48}
49
50#[cfg(feature = "unity_engine-rendering-xrgraphicsautomatedtests")]
51impl XRGraphicsAutomatedTests {
52    pub fn get_activated_from_command_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
53        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
54    }
55
56    pub fn get_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
57        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
58    }
59
60    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
61        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
62    }
63}
64
65#[cfg(feature = "unity_engine-rendering-xrgraphicsautomatedtests")]
66#[doc(hidden)]
67pub mod prelude {
68    pub use super::{IXRGraphicsAutomatedTests, XRGraphicsAutomatedTests};
69    pub use crate::system::object::IObject;
70    #[cfg(feature = "system-object")]
71    pub use crate::system::object::IObjectMethods;
72}