Skip to main content

engage/generated/unity_engine/rendering/universal/custom/
reflectionrenderer.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-universal-custom-reflectionrenderer-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::rendering::universal::scriptablerenderer::{IScriptableRenderer, ScriptableRenderer},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/universal/custom/reflectionrenderer/ReflectionRenderer.md"))]
14    #[::unity::class(namespace = "UnityEngine.Rendering.Universal.Custom", name = "ReflectionRenderer")]
15    #[parent(crate::unity_engine::rendering::universal::scriptablerenderer::ScriptableRenderer)]
16    pub struct ReflectionRenderer {
17        #[static_field]
18        #[rename(name = "k_DepthStencilBufferBits")]
19        pub k_depth_stencil_buffer_bits: i32,
20        #[static_field]
21        #[rename(name = "k_CreateCameraTextures")]
22        pub k_create_camera_textures: ::unity::Il2CppString,
23        #[static_field]
24        #[rename(name = "k_SubLightTag")]
25        pub k_sub_light_tag: ::unity::Il2CppString,
26        #[static_field]
27        #[rename(name = "k_SetupCustomRPConstants")]
28        pub k_setup_custom_rp_constants: ::unity::Il2CppString,
29        #[static_field]
30        #[rename(name = "s_CustomExposurePropID")]
31        pub s_custom_exposure_prop_id: i32,
32        #[static_field]
33        #[rename(name = "s_CustomLodFadeBiasPropID")]
34        pub s_custom_lod_fade_bias_prop_id: i32,
35        #[static_field]
36        #[rename(name = "s_CustomReflectionBaseYPropID")]
37        pub s_custom_reflection_base_y_prop_id: i32,
38        #[static_field]
39        #[rename(name = "s_CustomReflectionBaseYvPropID")]
40        pub s_custom_reflection_base_yv_prop_id: i32,
41        #[offset(144)]
42        #[rename(name = "m_CustomBaseOpaquePass")]
43        pub m_custom_base_opaque_pass: crate::unity_engine::rendering::universal::custom::internal::custombaseopaquepass::CustomBaseOpaquePass,
44        #[offset(152)]
45        #[rename(name = "m_CustomCharaOpaquePass")]
46        pub m_custom_chara_opaque_pass: crate::unity_engine::rendering::universal::custom::internal::customcharaopaquepass::CustomCharaOpaquePass,
47        #[offset(160)]
48        #[rename(name = "m_CustomSpecialReflectionPass")]
49        pub m_custom_special_reflection_pass:
50            crate::unity_engine::rendering::universal::custom::internal::customspecialreflectionpass::CustomSpecialReflectionPass,
51        #[offset(168)]
52        #[rename(name = "m_UseCustomBaseOpaquePass")]
53        pub m_use_custom_base_opaque_pass: bool,
54        #[offset(169)]
55        #[rename(name = "m_UseSpecialReflectionPass")]
56        pub m_use_special_reflection_pass: bool,
57        #[offset(176)]
58        #[rename(name = "m_ActiveCameraColorAttachment")]
59        pub m_active_camera_color_attachment: crate::unity_engine::rendering::universal::rendertargethandle::RenderTargetHandle,
60        #[offset(224)]
61        #[rename(name = "m_ActiveCameraDepthAttachment")]
62        pub m_active_camera_depth_attachment: crate::unity_engine::rendering::universal::rendertargethandle::RenderTargetHandle,
63        #[offset(272)]
64        #[rename(name = "m_ForwardLights")]
65        pub m_forward_lights: crate::unity_engine::rendering::universal::internal::forwardlights::ForwardLights,
66    }
67}
68
69#[cfg(feature = "unity_engine-rendering-universal-custom-reflectionrenderer-types")]
70pub use __types::*;
71
72#[cfg(feature = "unity_engine-rendering-universal-custom-reflectionrenderer")]
73impl ReflectionRenderer {
74    #[doc = "`get_reflectionBaseY()` overload"]
75    pub fn get_reflection_base_y() -> f32 {
76        unsafe {
77            ::unity::il2cpp_call!((::unity::module_base()+0x31a4d50usize)as*mut u8,f32;
78            )
79        }
80    }
81
82    #[doc = "`set_reflectionBaseY(f32)` overload"]
83    pub fn set_reflection_base_y(value: impl ::core::convert::Into<f32>) -> () {
84        unsafe {
85            ::unity::il2cpp_call!((::unity::module_base()+0x31a4dc0usize)as*mut u8,();
86(f32)::core::convert::Into::into(value))
87        }
88    }
89
90    #[doc = "`get_reflectionBaseY_Chara()` overload"]
91    pub fn get_reflection_base_y_chara() -> f32 {
92        unsafe {
93            ::unity::il2cpp_call!((::unity::module_base()+0x31a4e30usize)as*mut u8,f32;
94            )
95        }
96    }
97
98    #[doc = "`set_reflectionBaseY_Chara(f32)` overload"]
99    pub fn set_reflection_base_y_chara(value: impl ::core::convert::Into<f32>) -> () {
100        unsafe {
101            ::unity::il2cpp_call!((::unity::module_base()+0x31a4ea0usize)as*mut u8,();
102(f32)::core::convert::Into::into(value))
103        }
104    }
105
106    #[doc = "`get_reflectionBaseY_Map()` overload"]
107    pub fn get_reflection_base_y_map() -> f32 {
108        unsafe {
109            ::unity::il2cpp_call!((::unity::module_base()+0x31a4f10usize)as*mut u8,f32;
110            )
111        }
112    }
113
114    #[doc = "`set_reflectionBaseY_Map(f32)` overload"]
115    pub fn set_reflection_base_y_map(value: impl ::core::convert::Into<f32>) -> () {
116        unsafe {
117            ::unity::il2cpp_call!((::unity::module_base()+0x31a4f80usize)as*mut u8,();
118(f32)::core::convert::Into::into(value))
119        }
120    }
121
122    #[doc = "`.cctor()` overload"]
123    pub fn cctor() -> () {
124        unsafe {
125            ::unity::il2cpp_call!((::unity::module_base()+0x31a5d70usize)as*mut u8,();
126            )
127        }
128    }
129}
130
131#[cfg(feature = "unity_engine-rendering-universal-custom-reflectionrenderer")]
132pub trait IReflectionRendererMethods: IReflectionRenderer {
133    #[doc = "`.ctor(crate::unity_engine::rendering::universal::custom::reflectionrendererdata::ReflectionRendererData)` overload"]
134    fn ctor(
135        self,
136        data: impl ::core::convert::Into<crate::unity_engine::rendering::universal::custom::reflectionrendererdata::ReflectionRendererData>,
137    ) -> () {
138        unsafe {
139            let __receiver = <ReflectionRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
140            ::unity::il2cpp_call!((::unity::module_base()+0x31a4ff0usize)as*mut u8,();
141(ReflectionRenderer)__receiver,(crate::unity_engine::rendering::universal::custom::reflectionrendererdata::ReflectionRendererData)::core::convert::Into::into(data))
142        }
143    }
144    #[doc = "`GetSubLightTag()` overload"]
145    fn get_sub_light_tag(self) -> ::unity::Il2CppString {
146        unsafe {
147            let __receiver = <ReflectionRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
148            {
149                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
150                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
151                    panic!(
152                        "unity: virtual slot {}
153 out of range (vtable len {}
154) on the runtime class behind {}
155 (method `{}
156`)",
157                        10usize,
158                        __vt.len(),
159                        <ReflectionRenderer as ::unity::ClassIdentity>::NAME,
160                        "GetSubLightTag",
161                    )
162                });
163                let __inner: extern "C" fn(ReflectionRenderer, ::unity::OptionalMethod) -> ::unity::Il2CppString =
164                    ::core::mem::transmute(__vi.method_ptr);
165                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
166                __inner(__receiver, __mi)
167            }
168        }
169    }
170    #[doc = "`Dispose(bool)` overload"]
171    fn dispose(self, disposing: impl ::core::convert::Into<bool>) -> () {
172        unsafe {
173            let __receiver = <ReflectionRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174            {
175                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
176                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
177                    panic!(
178                        "unity: virtual slot {}
179 out of range (vtable len {}
180) on the runtime class behind {}
181 (method `{}
182`)",
183                        5usize,
184                        __vt.len(),
185                        <ReflectionRenderer as ::unity::ClassIdentity>::NAME,
186                        "Dispose",
187                    )
188                });
189                let __inner: extern "C" fn(ReflectionRenderer, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
190                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
191                __inner(__receiver, ::core::convert::Into::into(disposing), __mi)
192            }
193        }
194    }
195    #[doc = "`Setup(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, *mutcrate::unity_engine::rendering::universal::renderingdata::RenderingData)` overload"]
196    fn setup(
197        self,
198        context: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext>,
199    ) -> crate::unity_engine::rendering::universal::renderingdata::RenderingData {
200        unsafe {
201            let __receiver = <ReflectionRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
202            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::universal::renderingdata::RenderingData>::uninit();
203            {
204                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
205                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
206                    panic!(
207                        "unity: virtual slot {}
208 out of range (vtable len {}
209) on the runtime class behind {}
210 (method `{}
211`)",
212                        6usize,
213                        __vt.len(),
214                        <ReflectionRenderer as ::unity::ClassIdentity>::NAME,
215                        "Setup",
216                    )
217                });
218                let __inner: extern "C" fn(
219                    ReflectionRenderer,
220                    crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
221                    *mut crate::unity_engine::rendering::universal::renderingdata::RenderingData,
222                    ::unity::OptionalMethod,
223                ) -> () = ::core::mem::transmute(__vi.method_ptr);
224                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
225                __inner(__receiver, ::core::convert::Into::into(context), __out_0.as_mut_ptr(), __mi)
226            };
227            __out_0.assume_init()
228        }
229    }
230    #[doc = "`SetupLights(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, *mutcrate::unity_engine::rendering::universal::renderingdata::RenderingData)` overload"]
231    fn setup_lights(
232        self,
233        context: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext>,
234    ) -> crate::unity_engine::rendering::universal::renderingdata::RenderingData {
235        unsafe {
236            let __receiver = <ReflectionRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
237            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::universal::renderingdata::RenderingData>::uninit();
238            {
239                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
240                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
241                    panic!(
242                        "unity: virtual slot {}
243 out of range (vtable len {}
244) on the runtime class behind {}
245 (method `{}
246`)",
247                        7usize,
248                        __vt.len(),
249                        <ReflectionRenderer as ::unity::ClassIdentity>::NAME,
250                        "SetupLights",
251                    )
252                });
253                let __inner: extern "C" fn(
254                    ReflectionRenderer,
255                    crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
256                    *mut crate::unity_engine::rendering::universal::renderingdata::RenderingData,
257                    ::unity::OptionalMethod,
258                ) -> () = ::core::mem::transmute(__vi.method_ptr);
259                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
260                __inner(__receiver, ::core::convert::Into::into(context), __out_0.as_mut_ptr(), __mi)
261            };
262            __out_0.assume_init()
263        }
264    }
265    #[doc = "`SetupCullingParameters(*mutcrate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters, *mutcrate::unity_engine::rendering::universal::cameradata::CameraData)` overload"]
266    fn setup_culling_parameters(
267        self,
268    ) -> (
269        crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters,
270        crate::unity_engine::rendering::universal::cameradata::CameraData,
271    ) {
272        unsafe {
273            let __receiver = <ReflectionRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
274            let mut __out_0 =
275                ::core::mem::MaybeUninit::<crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters>::uninit();
276            let mut __out_1 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::universal::cameradata::CameraData>::uninit();
277            {
278                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
279                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
280                    panic!(
281                        "unity: virtual slot {}
282 out of range (vtable len {}
283) on the runtime class behind {}
284 (method `{}
285`)",
286                        8usize,
287                        __vt.len(),
288                        <ReflectionRenderer as ::unity::ClassIdentity>::NAME,
289                        "SetupCullingParameters",
290                    )
291                });
292                let __inner: extern "C" fn(
293                    ReflectionRenderer,
294                    *mut crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters,
295                    *mut crate::unity_engine::rendering::universal::cameradata::CameraData,
296                    ::unity::OptionalMethod,
297                ) -> () = ::core::mem::transmute(__vi.method_ptr);
298                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
299                __inner(__receiver, __out_0.as_mut_ptr(), __out_1.as_mut_ptr(), __mi)
300            };
301            (__out_0.assume_init(), __out_1.assume_init())
302        }
303    }
304    #[doc = "`FinishRendering(crate::unity_engine::rendering::commandbuffer::CommandBuffer)` overload"]
305    fn finish_rendering(self, cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>) -> () {
306        unsafe {
307            let __receiver = <ReflectionRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
308            {
309                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
310                let __vi = *__vt.get(9usize).unwrap_or_else(|| {
311                    panic!(
312                        "unity: virtual slot {}
313 out of range (vtable len {}
314) on the runtime class behind {}
315 (method `{}
316`)",
317                        9usize,
318                        __vt.len(),
319                        <ReflectionRenderer as ::unity::ClassIdentity>::NAME,
320                        "FinishRendering",
321                    )
322                });
323                let __inner: extern "C" fn(
324                    ReflectionRenderer,
325                    crate::unity_engine::rendering::commandbuffer::CommandBuffer,
326                    ::unity::OptionalMethod,
327                ) -> () = ::core::mem::transmute(__vi.method_ptr);
328                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
329                __inner(__receiver, ::core::convert::Into::into(cmd), __mi)
330            }
331        }
332    }
333}
334
335#[cfg(feature = "unity_engine-rendering-universal-custom-reflectionrenderer")]
336impl<__T: IReflectionRenderer> IReflectionRendererMethods for __T {}
337
338#[cfg(feature = "unity_engine-rendering-universal-custom-reflectionrenderer")]
339impl ReflectionRenderer {
340    pub fn get_reflection_base_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
341        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
342    }
343
344    pub fn set_reflection_base_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
345        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
346    }
347
348    pub fn get_reflection_base_y_chara_method_info() -> &'static ::unity::il2cpp::MethodInfo {
349        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
350    }
351
352    pub fn set_reflection_base_y_chara_method_info() -> &'static ::unity::il2cpp::MethodInfo {
353        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
354    }
355
356    pub fn get_reflection_base_y_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
357        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
358    }
359
360    pub fn set_reflection_base_y_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
361        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
362    }
363
364    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
365        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
366    }
367
368    pub fn get_sub_light_tag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
370    }
371
372    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
373        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
374    }
375
376    pub fn setup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
377        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
378    }
379
380    pub fn setup_lights_method_info() -> &'static ::unity::il2cpp::MethodInfo {
381        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
382    }
383
384    pub fn setup_culling_parameters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
385        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
386    }
387
388    pub fn finish_rendering_method_info() -> &'static ::unity::il2cpp::MethodInfo {
389        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
390    }
391
392    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
393        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
394    }
395}
396
397#[cfg(feature = "unity_engine-rendering-universal-custom-reflectionrenderer")]
398impl ReflectionRenderer {
399    #[doc = "Direct (non-virtual) call to `ReflectionRenderer`'s own `GetSubLightTag`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
400    pub unsafe fn get_sub_light_tag(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
401        let __mi = Self::get_sub_light_tag_method_info();
402        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
403        __inner(this.into(), ::core::option::Option::None)
404    }
405
406    #[doc = "Direct (non-virtual) call to `ReflectionRenderer`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
407    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>, disposing: bool) -> () {
408        let __mi = Self::dispose_method_info();
409        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
410        __inner(this.into(), disposing, ::core::option::Option::None)
411    }
412
413    #[doc = "Direct (non-virtual) call to `ReflectionRenderer`'s own `Setup`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
414    pub unsafe fn setup(
415        this: impl ::core::convert::Into<::unity::IlInstance>,
416        context: crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
417        rendering_data: *mut crate::unity_engine::rendering::universal::renderingdata::RenderingData,
418    ) -> () {
419        let __mi = Self::setup_method_info();
420        let __inner: extern "C" fn(
421            ::unity::IlInstance,
422            crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
423            *mut crate::unity_engine::rendering::universal::renderingdata::RenderingData,
424            ::unity::OptionalMethod,
425        ) -> () = ::core::mem::transmute(__mi.method_ptr);
426        __inner(this.into(), context, rendering_data, ::core::option::Option::None)
427    }
428
429    #[doc = "Direct (non-virtual) call to `ReflectionRenderer`'s own `SetupLights`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
430    pub unsafe fn setup_lights(
431        this: impl ::core::convert::Into<::unity::IlInstance>,
432        context: crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
433        rendering_data: *mut crate::unity_engine::rendering::universal::renderingdata::RenderingData,
434    ) -> () {
435        let __mi = Self::setup_lights_method_info();
436        let __inner: extern "C" fn(
437            ::unity::IlInstance,
438            crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
439            *mut crate::unity_engine::rendering::universal::renderingdata::RenderingData,
440            ::unity::OptionalMethod,
441        ) -> () = ::core::mem::transmute(__mi.method_ptr);
442        __inner(this.into(), context, rendering_data, ::core::option::Option::None)
443    }
444
445    #[doc = "Direct (non-virtual) call to `ReflectionRenderer`'s own `SetupCullingParameters`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
446    pub unsafe fn setup_culling_parameters(
447        this: impl ::core::convert::Into<::unity::IlInstance>,
448        culling_parameters: *mut crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters,
449        camera_data: *mut crate::unity_engine::rendering::universal::cameradata::CameraData,
450    ) -> () {
451        let __mi = Self::setup_culling_parameters_method_info();
452        let __inner: extern "C" fn(
453            ::unity::IlInstance,
454            *mut crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters,
455            *mut crate::unity_engine::rendering::universal::cameradata::CameraData,
456            ::unity::OptionalMethod,
457        ) -> () = ::core::mem::transmute(__mi.method_ptr);
458        __inner(this.into(), culling_parameters, camera_data, ::core::option::Option::None)
459    }
460
461    #[doc = "Direct (non-virtual) call to `ReflectionRenderer`'s own `FinishRendering`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
462    pub unsafe fn finish_rendering(
463        this: impl ::core::convert::Into<::unity::IlInstance>,
464        cmd: crate::unity_engine::rendering::commandbuffer::CommandBuffer,
465    ) -> () {
466        let __mi = Self::finish_rendering_method_info();
467        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::OptionalMethod) -> () =
468            ::core::mem::transmute(__mi.method_ptr);
469        __inner(this.into(), cmd, ::core::option::Option::None)
470    }
471}
472
473#[cfg(feature = "unity_engine-rendering-universal-custom-reflectionrenderer")]
474impl ReflectionRenderer {
475    #[doc = "`.ctor(crate::unity_engine::rendering::universal::custom::reflectionrendererdata::ReflectionRendererData)` — overload selector"]
476    pub fn new(data: crate::unity_engine::rendering::universal::custom::reflectionrendererdata::ReflectionRendererData) -> Self {
477        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
478            panic!(
479                "{}
480::{}
481 failed to instantiate",
482                ::core::stringify!(ReflectionRenderer),
483                ::core::stringify!(new),
484            )
485        });
486        <Self as IReflectionRendererMethods>::ctor(this, data);
487        this
488    }
489}
490
491#[cfg(feature = "unity_engine-rendering-universal-custom-reflectionrenderer")]
492#[doc(hidden)]
493pub mod prelude {
494    pub use super::{IReflectionRenderer, IReflectionRendererMethods, ReflectionRenderer};
495    #[cfg(feature = "system-object")]
496    pub use crate::system::object::IObjectMethods;
497    #[cfg(feature = "unity_engine-rendering-universal-scriptablerenderer")]
498    pub use crate::unity_engine::rendering::universal::scriptablerenderer::IScriptableRendererMethods;
499    pub use crate::{system::object::IObject, unity_engine::rendering::universal::scriptablerenderer::IScriptableRenderer};
500}