Skip to main content

engage/generated/unity_engine/rendering/
volumeprofile.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-volumeprofile-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            object_2::{IObject_2, Object_2},
12            scriptableobject::{IScriptableObject, ScriptableObject},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/volumeprofile/VolumeProfile.md"))]
17    #[::unity::class(namespace = "UnityEngine.Rendering", name = "VolumeProfile")]
18    #[parent(crate::unity_engine::scriptableobject::ScriptableObject)]
19    pub struct VolumeProfile {
20        #[offset(24)]
21        #[rename(name = "components")]
22        pub components: crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volumecomponent::VolumeComponent>,
23        #[offset(32)]
24        #[rename(name = "isDirty")]
25        pub is_dirty: bool,
26    }
27}
28
29#[cfg(feature = "unity_engine-rendering-volumeprofile-types")]
30pub use __types::*;
31
32#[cfg(feature = "unity_engine-rendering-volumeprofile")]
33pub trait IVolumeProfileMethods: IVolumeProfile {
34    #[doc = "`OnEnable()` overload"]
35    fn on_enable(self) -> () {
36        unsafe {
37            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
38            ::unity::il2cpp_call!((::unity::module_base()+0x33e8980usize)as*mut u8,();
39(VolumeProfile)__receiver)
40        }
41    }
42    #[doc = "`Reset()` overload"]
43    fn reset(self) -> () {
44        unsafe {
45            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
46            ::unity::il2cpp_call!((::unity::module_base()+0x33e8ab0usize)as*mut u8,();
47(VolumeProfile)__receiver)
48        }
49    }
50    fn add<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(self, overrides: impl ::core::convert::Into<bool>) -> M0 {
51        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
52            ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<VolumeProfile as ::unity::ClassIdentity>::class(), "Add", 1));
53        #[allow(clippy::type_complexity)]
54        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
55            ::std::sync::OnceLock::new();
56        let _ = false;
57        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
58            ::core::result::Result::Ok(mi) => *mi,
59            ::core::result::Result::Err(e) => {
60                panic!(
61                    "method lookup failed: {}
62::{}
63: {}
64",
65                    <VolumeProfile as ::unity::ClassIdentity>::NAME,
66                    "Add",
67                    e
68                )
69            },
70        };
71        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
72        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
73        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
74            let mut __guard = __cache.lock().unwrap();
75            *__guard
76                .entry(__key)
77                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
78        };
79        unsafe {
80            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81            let __f: extern "C" fn(VolumeProfile, bool, ::unity::OptionalMethod) -> M0 = ::core::mem::transmute(__inflated.method_ptr);
82            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
83            __f(
84                __receiver,
85                ::core::convert::Into::into(overrides),
86                ::core::option::Option::Some(__mi_opaque),
87            )
88        }
89    }
90    #[doc = "`Add(::unity::SystemType, bool)` overload"]
91    fn add_2(
92        self,
93        r#type: impl ::core::convert::Into<::unity::SystemType>,
94        overrides: impl ::core::convert::Into<bool>,
95    ) -> crate::unity_engine::rendering::volumecomponent::VolumeComponent {
96        unsafe {
97            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98            ::unity::il2cpp_call!((::unity::module_base()+0x33e8ac0usize)as*mut u8,crate::unity_engine::rendering::volumecomponent::VolumeComponent;
99(VolumeProfile)__receiver,(::unity::SystemType)::core::convert::Into::into(r#type),(bool)::core::convert::Into::into(overrides))
100        }
101    }
102    fn remove<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(self) -> () {
103        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
104            ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<VolumeProfile as ::unity::ClassIdentity>::class(), "Remove", 0));
105        #[allow(clippy::type_complexity)]
106        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
107            ::std::sync::OnceLock::new();
108        let _ = false;
109        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
110            ::core::result::Result::Ok(mi) => *mi,
111            ::core::result::Result::Err(e) => {
112                panic!(
113                    "method lookup failed: {}
114::{}
115: {}
116",
117                    <VolumeProfile as ::unity::ClassIdentity>::NAME,
118                    "Remove",
119                    e
120                )
121            },
122        };
123        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
124        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
125        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
126            let mut __guard = __cache.lock().unwrap();
127            *__guard
128                .entry(__key)
129                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
130        };
131        unsafe {
132            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
133            let __f: extern "C" fn(VolumeProfile, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__inflated.method_ptr);
134            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
135            __f(__receiver, ::core::option::Option::Some(__mi_opaque))
136        }
137    }
138    #[doc = "`Remove(::unity::SystemType)` overload"]
139    fn remove_2(self, r#type: impl ::core::convert::Into<::unity::SystemType>) -> () {
140        unsafe {
141            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142            ::unity::il2cpp_call!((::unity::module_base()+0x33e8db0usize)as*mut u8,();
143(VolumeProfile)__receiver,(::unity::SystemType)::core::convert::Into::into(r#type))
144        }
145    }
146    fn has<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(self) -> bool {
147        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
148            ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<VolumeProfile as ::unity::ClassIdentity>::class(), "Has", 0));
149        #[allow(clippy::type_complexity)]
150        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
151            ::std::sync::OnceLock::new();
152        let _ = false;
153        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
154            ::core::result::Result::Ok(mi) => *mi,
155            ::core::result::Result::Err(e) => {
156                panic!(
157                    "method lookup failed: {}
158::{}
159: {}
160",
161                    <VolumeProfile as ::unity::ClassIdentity>::NAME,
162                    "Has",
163                    e
164                )
165            },
166        };
167        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
168        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
169        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
170            let mut __guard = __cache.lock().unwrap();
171            *__guard
172                .entry(__key)
173                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
174        };
175        unsafe {
176            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177            let __f: extern "C" fn(VolumeProfile, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__inflated.method_ptr);
178            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
179            __f(__receiver, ::core::option::Option::Some(__mi_opaque))
180        }
181    }
182    #[doc = "`Has(::unity::SystemType)` overload"]
183    fn has_2(self, r#type: impl ::core::convert::Into<::unity::SystemType>) -> bool {
184        unsafe {
185            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
186            ::unity::il2cpp_call!((::unity::module_base()+0x33e8c00usize)as*mut u8,bool;
187(VolumeProfile)__receiver,(::unity::SystemType)::core::convert::Into::into(r#type))
188        }
189    }
190    #[doc = "`HasSubclassOf(::unity::SystemType)` overload"]
191    fn has_subclass_of(self, r#type: impl ::core::convert::Into<::unity::SystemType>) -> bool {
192        unsafe {
193            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194            ::unity::il2cpp_call!((::unity::module_base()+0x33e8ed0usize)as*mut u8,bool;
195(VolumeProfile)__receiver,(::unity::SystemType)::core::convert::Into::into(r#type))
196        }
197    }
198    fn try_get<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(self, component: impl ::core::convert::Into<*mut M0>) -> bool {
199        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
200            ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<VolumeProfile as ::unity::ClassIdentity>::class(), "TryGet", 1));
201        #[allow(clippy::type_complexity)]
202        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
203            ::std::sync::OnceLock::new();
204        let _ = false;
205        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
206            ::core::result::Result::Ok(mi) => *mi,
207            ::core::result::Result::Err(e) => {
208                panic!(
209                    "method lookup failed: {}
210::{}
211: {}
212",
213                    <VolumeProfile as ::unity::ClassIdentity>::NAME,
214                    "TryGet",
215                    e
216                )
217            },
218        };
219        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
220        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
221        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
222            let mut __guard = __cache.lock().unwrap();
223            *__guard
224                .entry(__key)
225                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
226        };
227        unsafe {
228            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
229            let __f: extern "C" fn(VolumeProfile, *mut M0, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__inflated.method_ptr);
230            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
231            __f(
232                __receiver,
233                ::core::convert::Into::into(component),
234                ::core::option::Option::Some(__mi_opaque),
235            )
236        }
237    }
238    fn try_get_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
239        self,
240        r#type: impl ::core::convert::Into<::unity::SystemType>,
241        component: impl ::core::convert::Into<*mut M0>,
242    ) -> bool {
243        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
244            ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<VolumeProfile as ::unity::ClassIdentity>::class(), "TryGet", 2));
245        #[allow(clippy::type_complexity)]
246        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
247            ::std::sync::OnceLock::new();
248        let _ = false;
249        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
250            ::core::result::Result::Ok(mi) => *mi,
251            ::core::result::Result::Err(e) => {
252                panic!(
253                    "method lookup failed: {}
254::{}
255: {}
256",
257                    <VolumeProfile as ::unity::ClassIdentity>::NAME,
258                    "TryGet",
259                    e
260                )
261            },
262        };
263        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
264        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
265        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
266            let mut __guard = __cache.lock().unwrap();
267            *__guard
268                .entry(__key)
269                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
270        };
271        unsafe {
272            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
273            let __f: extern "C" fn(VolumeProfile, ::unity::SystemType, *mut M0, ::unity::OptionalMethod) -> bool =
274                ::core::mem::transmute(__inflated.method_ptr);
275            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
276            __f(
277                __receiver,
278                ::core::convert::Into::into(r#type),
279                ::core::convert::Into::into(component),
280                ::core::option::Option::Some(__mi_opaque),
281            )
282        }
283    }
284    fn try_get_subclass_of<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
285        self,
286        r#type: impl ::core::convert::Into<::unity::SystemType>,
287        component: impl ::core::convert::Into<*mut M0>,
288    ) -> bool {
289        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
290            ::unity::lookup::method_info_on_class(<VolumeProfile as ::unity::ClassIdentity>::class(), "TryGetSubclassOf", 2)
291        });
292        #[allow(clippy::type_complexity)]
293        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
294            ::std::sync::OnceLock::new();
295        let _ = false;
296        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
297            ::core::result::Result::Ok(mi) => *mi,
298            ::core::result::Result::Err(e) => {
299                panic!(
300                    "method lookup failed: {}
301::{}
302: {}
303",
304                    <VolumeProfile as ::unity::ClassIdentity>::NAME,
305                    "TryGetSubclassOf",
306                    e
307                )
308            },
309        };
310        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
311        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
312        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
313            let mut __guard = __cache.lock().unwrap();
314            *__guard
315                .entry(__key)
316                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
317        };
318        unsafe {
319            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320            let __f: extern "C" fn(VolumeProfile, ::unity::SystemType, *mut M0, ::unity::OptionalMethod) -> bool =
321                ::core::mem::transmute(__inflated.method_ptr);
322            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
323            __f(
324                __receiver,
325                ::core::convert::Into::into(r#type),
326                ::core::convert::Into::into(component),
327                ::core::option::Option::Some(__mi_opaque),
328            )
329        }
330    }
331    fn try_get_all_subclass_of<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
332        self,
333        r#type: impl ::core::convert::Into<::unity::SystemType>,
334        result: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<M0>>,
335    ) -> bool {
336        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
337            ::unity::lookup::method_info_on_class(<VolumeProfile as ::unity::ClassIdentity>::class(), "TryGetAllSubclassOf", 2)
338        });
339        #[allow(clippy::type_complexity)]
340        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
341            ::std::sync::OnceLock::new();
342        let _ = false;
343        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
344            ::core::result::Result::Ok(mi) => *mi,
345            ::core::result::Result::Err(e) => {
346                panic!(
347                    "method lookup failed: {}
348::{}
349: {}
350",
351                    <VolumeProfile as ::unity::ClassIdentity>::NAME,
352                    "TryGetAllSubclassOf",
353                    e
354                )
355            },
356        };
357        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
358        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
359        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
360            let mut __guard = __cache.lock().unwrap();
361            *__guard
362                .entry(__key)
363                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
364        };
365        unsafe {
366            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
367            let __f: extern "C" fn(
368                VolumeProfile,
369                ::unity::SystemType,
370                crate::system::collections::generic::list_1::List_1<M0>,
371                ::unity::OptionalMethod,
372            ) -> bool = ::core::mem::transmute(__inflated.method_ptr);
373            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
374            __f(
375                __receiver,
376                ::core::convert::Into::into(r#type),
377                ::core::convert::Into::into(result),
378                ::core::option::Option::Some(__mi_opaque),
379            )
380        }
381    }
382    #[doc = "`GetHashCode()` overload"]
383    fn get_hash_code(self) -> i32 {
384        unsafe {
385            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
386            {
387                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
388                let __vi = *__vt.get(2usize).unwrap_or_else(|| {
389                    panic!(
390                        "unity: virtual slot {}
391 out of range (vtable len {}
392) on the runtime class behind {}
393 (method `{}
394`)",
395                        2usize,
396                        __vt.len(),
397                        <VolumeProfile as ::unity::ClassIdentity>::NAME,
398                        "GetHashCode",
399                    )
400                });
401                let __inner: extern "C" fn(VolumeProfile, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
402                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
403                __inner(__receiver, __mi)
404            }
405        }
406    }
407    #[doc = "`GetComponentListHashCode()` overload"]
408    fn get_component_list_hash_code(self) -> i32 {
409        unsafe {
410            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
411            ::unity::il2cpp_call!((::unity::module_base()+0x33e9120usize)as*mut u8,i32;
412(VolumeProfile)__receiver)
413        }
414    }
415    #[doc = "`.ctor()` overload"]
416    fn ctor(self) -> () {
417        unsafe {
418            let __receiver = <VolumeProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
419            ::unity::il2cpp_call!((::unity::module_base()+0x33e91f0usize)as*mut u8,();
420(VolumeProfile)__receiver)
421        }
422    }
423}
424
425#[cfg(feature = "unity_engine-rendering-volumeprofile")]
426impl<__T: IVolumeProfile> IVolumeProfileMethods for __T {}
427
428#[cfg(feature = "unity_engine-rendering-volumeprofile")]
429impl VolumeProfile {
430    pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
432    }
433
434    pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
435        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
436    }
437
438    pub fn add_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
439        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
440    }
441
442    pub fn remove_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
443        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
444    }
445
446    pub fn has_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
447        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
448    }
449
450    pub fn has_subclass_of_method_info() -> &'static ::unity::il2cpp::MethodInfo {
451        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
452    }
453
454    pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
455        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
456    }
457
458    pub fn get_component_list_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
459        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
460    }
461
462    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
463        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
464    }
465}
466
467#[cfg(feature = "unity_engine-rendering-volumeprofile")]
468impl VolumeProfile {
469    #[doc = "Direct (non-virtual) call to `VolumeProfile`'s own `GetHashCode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
470    pub unsafe fn get_hash_code(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
471        let __mi = Self::get_hash_code_method_info();
472        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
473        __inner(this.into(), ::core::option::Option::None)
474    }
475}
476
477#[cfg(feature = "unity_engine-rendering-volumeprofile")]
478impl VolumeProfile {
479    #[doc = "`.ctor()` — no args"]
480    pub fn new() -> Self {
481        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
482            panic!(
483                "{}
484::{}
485 failed to instantiate",
486                ::core::stringify!(VolumeProfile),
487                ::core::stringify!(new),
488            )
489        });
490        <Self as IVolumeProfileMethods>::ctor(this);
491        this
492    }
493}
494
495#[cfg(feature = "unity_engine-rendering-volumeprofile")]
496#[doc(hidden)]
497pub mod prelude {
498    pub use super::{IVolumeProfile, IVolumeProfileMethods, VolumeProfile};
499    #[cfg(feature = "system-object")]
500    pub use crate::system::object::IObjectMethods;
501    #[cfg(feature = "unity_engine-object_2")]
502    pub use crate::unity_engine::object_2::IObject_2Methods;
503    #[cfg(feature = "unity_engine-scriptableobject")]
504    pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
505    pub use crate::{
506        system::object::IObject,
507        unity_engine::{object_2::IObject_2, scriptableobject::IScriptableObject},
508    };
509}