Skip to main content

engage/generated/unity_engine/rendering/
cameraevent.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-cameraevent-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        r#enum::{Enum, IEnum},
11        valuetype::{IValueType, ValueType},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/cameraevent/CameraEvent.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct CameraEvent {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for CameraEvent {
21        const NAME: &'static str = "CameraEvent";
22        const NAMESPACE: &'static str = "UnityEngine.Rendering";
23
24        fn class() -> ::unity::Class {
25            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27        }
28    }
29    impl ::unity::IlType for CameraEvent {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl CameraEvent {
35        pub fn before_depth_texture() -> Self {
36            Self { value: 0 }
37        }
38
39        pub fn after_depth_texture() -> Self {
40            Self { value: 1 }
41        }
42
43        pub fn before_depth_normals_texture() -> Self {
44            Self { value: 2 }
45        }
46
47        pub fn after_depth_normals_texture() -> Self {
48            Self { value: 3 }
49        }
50
51        pub fn before_g_buffer() -> Self {
52            Self { value: 4 }
53        }
54
55        pub fn after_g_buffer() -> Self {
56            Self { value: 5 }
57        }
58
59        pub fn before_lighting() -> Self {
60            Self { value: 6 }
61        }
62
63        pub fn after_lighting() -> Self {
64            Self { value: 7 }
65        }
66
67        pub fn before_final_pass() -> Self {
68            Self { value: 8 }
69        }
70
71        pub fn after_final_pass() -> Self {
72            Self { value: 9 }
73        }
74
75        pub fn before_forward_opaque() -> Self {
76            Self { value: 10 }
77        }
78
79        pub fn after_forward_opaque() -> Self {
80            Self { value: 11 }
81        }
82
83        pub fn before_image_effects_opaque() -> Self {
84            Self { value: 12 }
85        }
86
87        pub fn after_image_effects_opaque() -> Self {
88            Self { value: 13 }
89        }
90
91        pub fn before_skybox() -> Self {
92            Self { value: 14 }
93        }
94
95        pub fn after_skybox() -> Self {
96            Self { value: 15 }
97        }
98
99        pub fn before_forward_alpha() -> Self {
100            Self { value: 16 }
101        }
102
103        pub fn after_forward_alpha() -> Self {
104            Self { value: 17 }
105        }
106
107        pub fn before_image_effects() -> Self {
108            Self { value: 18 }
109        }
110
111        pub fn after_image_effects() -> Self {
112            Self { value: 19 }
113        }
114
115        pub fn after_everything() -> Self {
116            Self { value: 20 }
117        }
118
119        pub fn before_reflections() -> Self {
120            Self { value: 21 }
121        }
122
123        pub fn after_reflections() -> Self {
124            Self { value: 22 }
125        }
126
127        pub fn before_halo_and_lens_flares() -> Self {
128            Self { value: 23 }
129        }
130
131        pub fn after_halo_and_lens_flares() -> Self {
132            Self { value: 24 }
133        }
134    }
135}
136
137#[cfg(feature = "unity_engine-rendering-cameraevent-types")]
138pub use __types::*;
139
140#[cfg(feature = "unity_engine-rendering-cameraevent")]
141#[doc(hidden)]
142pub mod prelude {
143    pub use super::CameraEvent;
144    #[cfg(feature = "system-object")]
145    pub use crate::system::object::IObjectMethods;
146    #[cfg(feature = "system-enum")]
147    pub use crate::system::r#enum::IEnumMethods;
148    #[cfg(feature = "system-valuetype")]
149    pub use crate::system::valuetype::IValueTypeMethods;
150    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
151}