Skip to main content

engage/generated/unity_engine/rendering/look_dev/
idataprovider.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-look_dev-idataprovider-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8
9    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/look_dev/idataprovider/IDataProvider.md"))]
10    #[::unity::class(namespace = "UnityEngine.Rendering.LookDev", name = "IDataProvider")]
11    pub struct IDataProvider {}
12}
13
14#[cfg(feature = "unity_engine-rendering-look_dev-idataprovider-types")]
15pub use __types::*;
16
17#[cfg(feature = "unity_engine-rendering-look_dev-idataprovider")]
18pub trait IIDataProviderMethods: IIDataProvider {
19    #[doc = "`FirstInitScene(crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface)` overload"]
20    fn first_init_scene(
21        self,
22        stage: impl ::core::convert::Into<crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface>,
23    ) -> () {
24        unsafe {
25            let __receiver = <IDataProvider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
26            {
27                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
28                let __vi = *__vt.get(0usize).unwrap_or_else(|| {
29                    panic!(
30                        "unity: virtual slot {}
31 out of range (vtable len {}
32) on the runtime class behind {}
33 (method `{}
34`)",
35                        0usize,
36                        __vt.len(),
37                        <IDataProvider as ::unity::ClassIdentity>::NAME,
38                        "FirstInitScene",
39                    )
40                });
41                let __inner: extern "C" fn(
42                    IDataProvider,
43                    crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
44                    ::unity::OptionalMethod,
45                ) -> () = ::core::mem::transmute(__vi.method_ptr);
46                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
47                __inner(__receiver, ::core::convert::Into::into(stage), __mi)
48            }
49        }
50    }
51    #[doc = "`UpdateSky(crate::unity_engine::camera::Camera, crate::unity_engine::rendering::look_dev::sky::Sky, crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface)` overload"]
52    fn update_sky(
53        self,
54        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
55        sky: impl ::core::convert::Into<crate::unity_engine::rendering::look_dev::sky::Sky>,
56        stage: impl ::core::convert::Into<crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface>,
57    ) -> () {
58        unsafe {
59            let __receiver = <IDataProvider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
60            {
61                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
62                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
63                    panic!(
64                        "unity: virtual slot {}
65 out of range (vtable len {}
66) on the runtime class behind {}
67 (method `{}
68`)",
69                        1usize,
70                        __vt.len(),
71                        <IDataProvider as ::unity::ClassIdentity>::NAME,
72                        "UpdateSky",
73                    )
74                });
75                let __inner: extern "C" fn(
76                    IDataProvider,
77                    crate::unity_engine::camera::Camera,
78                    crate::unity_engine::rendering::look_dev::sky::Sky,
79                    crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
80                    ::unity::OptionalMethod,
81                ) -> () = ::core::mem::transmute(__vi.method_ptr);
82                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
83                __inner(
84                    __receiver,
85                    ::core::convert::Into::into(camera),
86                    ::core::convert::Into::into(sky),
87                    ::core::convert::Into::into(stage),
88                    __mi,
89                )
90            }
91        }
92    }
93    #[doc = "`get_supportedDebugModes()` overload"]
94    fn get_supported_debug_modes(self) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::Il2CppString> {
95        unsafe {
96            let __receiver = <IDataProvider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97            {
98                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
99                let __vi = *__vt.get(2usize).unwrap_or_else(|| {
100                    panic!(
101                        "unity: virtual slot {}
102 out of range (vtable len {}
103) on the runtime class behind {}
104 (method `{}
105`)",
106                        2usize,
107                        __vt.len(),
108                        <IDataProvider as ::unity::ClassIdentity>::NAME,
109                        "get_supportedDebugModes",
110                    )
111                });
112                let __inner: extern "C" fn(
113                    IDataProvider,
114                    ::unity::OptionalMethod,
115                )
116                    -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::Il2CppString> =
117                    ::core::mem::transmute(__vi.method_ptr);
118                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
119                __inner(__receiver, __mi)
120            }
121        }
122    }
123    #[doc = "`UpdateDebugMode(i32)` overload"]
124    fn update_debug_mode(self, debug_index: impl ::core::convert::Into<i32>) -> () {
125        unsafe {
126            let __receiver = <IDataProvider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            {
128                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
129                let __vi = *__vt.get(3usize).unwrap_or_else(|| {
130                    panic!(
131                        "unity: virtual slot {}
132 out of range (vtable len {}
133) on the runtime class behind {}
134 (method `{}
135`)",
136                        3usize,
137                        __vt.len(),
138                        <IDataProvider as ::unity::ClassIdentity>::NAME,
139                        "UpdateDebugMode",
140                    )
141                });
142                let __inner: extern "C" fn(IDataProvider, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
143                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
144                __inner(__receiver, ::core::convert::Into::into(debug_index), __mi)
145            }
146        }
147    }
148    #[doc = "`GetShadowMask(*mutcrate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface)` overload"]
149    fn get_shadow_mask(
150        self,
151        stage: impl ::core::convert::Into<crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface>,
152    ) -> crate::unity_engine::rendertexture::RenderTexture {
153        unsafe {
154            let __receiver = <IDataProvider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendertexture::RenderTexture>::uninit();
156            {
157                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
158                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
159                    panic!(
160                        "unity: virtual slot {}
161 out of range (vtable len {}
162) on the runtime class behind {}
163 (method `{}
164`)",
165                        4usize,
166                        __vt.len(),
167                        <IDataProvider as ::unity::ClassIdentity>::NAME,
168                        "GetShadowMask",
169                    )
170                });
171                let __inner: extern "C" fn(
172                    IDataProvider,
173                    *mut crate::unity_engine::rendertexture::RenderTexture,
174                    crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
175                    ::unity::OptionalMethod,
176                ) -> () = ::core::mem::transmute(__vi.method_ptr);
177                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
178                __inner(__receiver, __out_0.as_mut_ptr(), ::core::convert::Into::into(stage), __mi)
179            };
180            __out_0.assume_init()
181        }
182    }
183    #[doc = "`OnBeginRendering(crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface)` overload"]
184    fn on_begin_rendering(
185        self,
186        stage: impl ::core::convert::Into<crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface>,
187    ) -> () {
188        unsafe {
189            let __receiver = <IDataProvider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
190            {
191                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
192                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
193                    panic!(
194                        "unity: virtual slot {}
195 out of range (vtable len {}
196) on the runtime class behind {}
197 (method `{}
198`)",
199                        5usize,
200                        __vt.len(),
201                        <IDataProvider as ::unity::ClassIdentity>::NAME,
202                        "OnBeginRendering",
203                    )
204                });
205                let __inner: extern "C" fn(
206                    IDataProvider,
207                    crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
208                    ::unity::OptionalMethod,
209                ) -> () = ::core::mem::transmute(__vi.method_ptr);
210                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
211                __inner(__receiver, ::core::convert::Into::into(stage), __mi)
212            }
213        }
214    }
215    #[doc = "`OnEndRendering(crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface)` overload"]
216    fn on_end_rendering(
217        self,
218        stage: impl ::core::convert::Into<crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface>,
219    ) -> () {
220        unsafe {
221            let __receiver = <IDataProvider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
222            {
223                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
224                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
225                    panic!(
226                        "unity: virtual slot {}
227 out of range (vtable len {}
228) on the runtime class behind {}
229 (method `{}
230`)",
231                        6usize,
232                        __vt.len(),
233                        <IDataProvider as ::unity::ClassIdentity>::NAME,
234                        "OnEndRendering",
235                    )
236                });
237                let __inner: extern "C" fn(
238                    IDataProvider,
239                    crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
240                    ::unity::OptionalMethod,
241                ) -> () = ::core::mem::transmute(__vi.method_ptr);
242                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
243                __inner(__receiver, ::core::convert::Into::into(stage), __mi)
244            }
245        }
246    }
247    #[doc = "`Cleanup(crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface)` overload"]
248    fn cleanup(self, sri: impl ::core::convert::Into<crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface>) -> () {
249        unsafe {
250            let __receiver = <IDataProvider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
251            {
252                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
253                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
254                    panic!(
255                        "unity: virtual slot {}
256 out of range (vtable len {}
257) on the runtime class behind {}
258 (method `{}
259`)",
260                        7usize,
261                        __vt.len(),
262                        <IDataProvider as ::unity::ClassIdentity>::NAME,
263                        "Cleanup",
264                    )
265                });
266                let __inner: extern "C" fn(
267                    IDataProvider,
268                    crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
269                    ::unity::OptionalMethod,
270                ) -> () = ::core::mem::transmute(__vi.method_ptr);
271                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
272                __inner(__receiver, ::core::convert::Into::into(sri), __mi)
273            }
274        }
275    }
276}
277
278#[cfg(feature = "unity_engine-rendering-look_dev-idataprovider")]
279impl<__T: IIDataProvider> IIDataProviderMethods for __T {}
280
281#[cfg(feature = "unity_engine-rendering-look_dev-idataprovider")]
282impl IDataProvider {
283    pub fn first_init_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
285    }
286
287    pub fn update_sky_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
289    }
290
291    pub fn get_supported_debug_modes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
293    }
294
295    pub fn update_debug_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
297    }
298
299    pub fn get_shadow_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
300        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
301    }
302
303    pub fn on_begin_rendering_method_info() -> &'static ::unity::il2cpp::MethodInfo {
304        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
305    }
306
307    pub fn on_end_rendering_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
309    }
310
311    pub fn cleanup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
312        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
313    }
314}
315
316#[cfg(feature = "unity_engine-rendering-look_dev-idataprovider")]
317impl IDataProvider {
318    #[doc = "Direct (non-virtual) call to `IDataProvider`'s own `FirstInitScene`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
319    pub unsafe fn first_init_scene(
320        this: impl ::core::convert::Into<::unity::IlInstance>,
321        stage: crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
322    ) -> () {
323        let __mi = Self::first_init_scene_method_info();
324        let __inner: extern "C" fn(
325            ::unity::IlInstance,
326            crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
327            ::unity::OptionalMethod,
328        ) -> () = ::core::mem::transmute(__mi.method_ptr);
329        __inner(this.into(), stage, ::core::option::Option::None)
330    }
331
332    #[doc = "Direct (non-virtual) call to `IDataProvider`'s own `UpdateSky`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
333    pub unsafe fn update_sky(
334        this: impl ::core::convert::Into<::unity::IlInstance>,
335        camera: crate::unity_engine::camera::Camera,
336        sky: crate::unity_engine::rendering::look_dev::sky::Sky,
337        stage: crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
338    ) -> () {
339        let __mi = Self::update_sky_method_info();
340        let __inner: extern "C" fn(
341            ::unity::IlInstance,
342            crate::unity_engine::camera::Camera,
343            crate::unity_engine::rendering::look_dev::sky::Sky,
344            crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
345            ::unity::OptionalMethod,
346        ) -> () = ::core::mem::transmute(__mi.method_ptr);
347        __inner(this.into(), camera, sky, stage, ::core::option::Option::None)
348    }
349
350    #[doc = "Direct (non-virtual) call to `IDataProvider`'s own `get_supportedDebugModes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
351    pub unsafe fn get_supported_debug_modes(
352        this: impl ::core::convert::Into<::unity::IlInstance>,
353    ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::Il2CppString> {
354        let __mi = Self::get_supported_debug_modes_method_info();
355        let __inner: extern "C" fn(
356            ::unity::IlInstance,
357            ::unity::OptionalMethod,
358        ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::Il2CppString> = ::core::mem::transmute(__mi.method_ptr);
359        __inner(this.into(), ::core::option::Option::None)
360    }
361
362    #[doc = "Direct (non-virtual) call to `IDataProvider`'s own `UpdateDebugMode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
363    pub unsafe fn update_debug_mode(this: impl ::core::convert::Into<::unity::IlInstance>, debug_index: i32) -> () {
364        let __mi = Self::update_debug_mode_method_info();
365        let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
366        __inner(this.into(), debug_index, ::core::option::Option::None)
367    }
368
369    #[doc = "Direct (non-virtual) call to `IDataProvider`'s own `GetShadowMask`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
370    pub unsafe fn get_shadow_mask(
371        this: impl ::core::convert::Into<::unity::IlInstance>,
372        output: *mut crate::unity_engine::rendertexture::RenderTexture,
373        stage: crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
374    ) -> () {
375        let __mi = Self::get_shadow_mask_method_info();
376        let __inner: extern "C" fn(
377            ::unity::IlInstance,
378            *mut crate::unity_engine::rendertexture::RenderTexture,
379            crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
380            ::unity::OptionalMethod,
381        ) -> () = ::core::mem::transmute(__mi.method_ptr);
382        __inner(this.into(), output, stage, ::core::option::Option::None)
383    }
384
385    #[doc = "Direct (non-virtual) call to `IDataProvider`'s own `OnBeginRendering`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
386    pub unsafe fn on_begin_rendering(
387        this: impl ::core::convert::Into<::unity::IlInstance>,
388        stage: crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
389    ) -> () {
390        let __mi = Self::on_begin_rendering_method_info();
391        let __inner: extern "C" fn(
392            ::unity::IlInstance,
393            crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
394            ::unity::OptionalMethod,
395        ) -> () = ::core::mem::transmute(__mi.method_ptr);
396        __inner(this.into(), stage, ::core::option::Option::None)
397    }
398
399    #[doc = "Direct (non-virtual) call to `IDataProvider`'s own `OnEndRendering`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
400    pub unsafe fn on_end_rendering(
401        this: impl ::core::convert::Into<::unity::IlInstance>,
402        stage: crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
403    ) -> () {
404        let __mi = Self::on_end_rendering_method_info();
405        let __inner: extern "C" fn(
406            ::unity::IlInstance,
407            crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
408            ::unity::OptionalMethod,
409        ) -> () = ::core::mem::transmute(__mi.method_ptr);
410        __inner(this.into(), stage, ::core::option::Option::None)
411    }
412
413    #[doc = "Direct (non-virtual) call to `IDataProvider`'s own `Cleanup`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
414    pub unsafe fn cleanup(
415        this: impl ::core::convert::Into<::unity::IlInstance>,
416        sri: crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
417    ) -> () {
418        let __mi = Self::cleanup_method_info();
419        let __inner: extern "C" fn(
420            ::unity::IlInstance,
421            crate::unity_engine::rendering::look_dev::stageruntimeinterface::StageRuntimeInterface,
422            ::unity::OptionalMethod,
423        ) -> () = ::core::mem::transmute(__mi.method_ptr);
424        __inner(this.into(), sri, ::core::option::Option::None)
425    }
426}
427
428#[cfg(feature = "unity_engine-rendering-look_dev-idataprovider")]
429#[doc(hidden)]
430pub mod prelude {
431    pub use super::{IDataProvider, IIDataProvider, IIDataProviderMethods};
432}