1#[cfg(feature = "unity_engine-rendering-universal-xrpass-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 delegate::{Delegate, IDelegate},
10 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
11 object::{IObject, Object},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/universal/xrpass/XRPass_CustomMirrorView.md"))]
15 #[::unity::class(namespace = "UnityEngine.Rendering.Universal", name = "XRPass.CustomMirrorView")]
16 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
17 pub struct XRPass_CustomMirrorView {}
18
19 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/universal/xrpass/XRPass.md"))]
20 #[::unity::class(namespace = "UnityEngine.Rendering.Universal", name = "XRPass")]
21 #[parent(crate::system::object::Object)]
22 pub struct XRPass {
23 #[offset(16)]
24 #[rename(name = "views")]
25 pub views: crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::universal::xrview::XRView>,
26 #[static_field]
27 #[rename(name = "invalidRT")]
28 pub invalid_rt: crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
29 #[offset(1704)]
30 #[rename(name = "occlusionMeshMaterial")]
31 pub occlusion_mesh_material: crate::unity_engine::material::Material,
32 #[offset(1712)]
33 #[rename(name = "occlusionMeshCombined")]
34 pub occlusion_mesh_combined: crate::unity_engine::mesh::Mesh,
35 #[offset(1720)]
36 #[rename(name = "occlusionMeshCombinedHashCode")]
37 pub occlusion_mesh_combined_hash_code: i32,
38 #[offset(1728)]
39 #[rename(name = "customMirrorView")]
40 pub custom_mirror_view_field: crate::unity_engine::rendering::universal::xrpass::XRPass_CustomMirrorView,
41 #[static_field]
42 #[rename(name = "k_XRCustomMirrorTag")]
43 pub k_xr_custom_mirror_tag: ::unity::Il2CppString,
44 #[static_field]
45 #[rename(name = "_XRCustomMirrorProfilingSampler")]
46 pub xr_custom_mirror_profiling_sampler: crate::unity_engine::rendering::profilingsampler::ProfilingSampler,
47 #[static_field]
48 #[rename(name = "k_XROcclusionTag")]
49 pub k_xr_occlusion_tag: ::unity::Il2CppString,
50 #[static_field]
51 #[rename(name = "_XROcclusionProfilingSampler")]
52 pub xr_occlusion_profiling_sampler: crate::unity_engine::rendering::profilingsampler::ProfilingSampler,
53 #[offset(1736)]
54 #[rename(name = "stereoEyeIndices")]
55 pub stereo_eye_indices: ::unity::Array<crate::unity_engine::vector4::Vector4>,
56 #[offset(1744)]
57 #[rename(name = "stereoProjectionMatrix")]
58 pub stereo_projection_matrix: ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>,
59 #[offset(1752)]
60 #[rename(name = "stereoViewMatrix")]
61 pub stereo_view_matrix: ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>,
62 #[offset(1760)]
63 #[rename(name = "stereoCameraProjectionMatrix")]
64 pub stereo_camera_projection_matrix: ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>,
65 }
66}
67
68#[cfg(feature = "unity_engine-rendering-universal-xrpass-types")]
69pub use __types::*;
70
71#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
72pub trait IXRPass_CustomMirrorViewMethods: IXRPass_CustomMirrorView {
73 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
74 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
75 unsafe {
76 let __receiver =
77 <XRPass_CustomMirrorView as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
78 ::unity::il2cpp_call!((::unity::module_base()+0x2cbabf0usize)as*mut u8,();
79(XRPass_CustomMirrorView)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
80 }
81 }
82 #[doc = "`Invoke(crate::unity_engine::rendering::universal::xrpass::XRPass, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::rect::Rect)` overload"]
83 fn invoke(
84 self,
85 pass: impl ::core::convert::Into<crate::unity_engine::rendering::universal::xrpass::XRPass>,
86 cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
87 rt: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>,
88 viewport: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
89 ) -> () {
90 unsafe {
91 let __receiver =
92 <XRPass_CustomMirrorView as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
93 {
94 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
95 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
96 panic!(
97 "unity: virtual slot {}
98 out of range (vtable len {}
99) on the runtime class behind {}
100 (method `{}
101`)",
102 13usize,
103 __vt.len(),
104 <XRPass_CustomMirrorView as ::unity::ClassIdentity>::NAME,
105 "Invoke",
106 )
107 });
108 let __inner: extern "C" fn(
109 XRPass_CustomMirrorView,
110 crate::unity_engine::rendering::universal::xrpass::XRPass,
111 crate::unity_engine::rendering::commandbuffer::CommandBuffer,
112 crate::unity_engine::rendertexture::RenderTexture,
113 crate::unity_engine::rect::Rect,
114 ::unity::OptionalMethod,
115 ) -> () = ::core::mem::transmute(__vi.method_ptr);
116 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
117 __inner(
118 __receiver,
119 ::core::convert::Into::into(pass),
120 ::core::convert::Into::into(cmd),
121 ::core::convert::Into::into(rt),
122 ::core::convert::Into::into(viewport),
123 __mi,
124 )
125 }
126 }
127 }
128}
129
130#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
131impl<__T: IXRPass_CustomMirrorView> IXRPass_CustomMirrorViewMethods for __T {}
132
133#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
134impl XRPass_CustomMirrorView {
135 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
136 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
137 }
138
139 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
140 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
141 }
142}
143
144#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
145impl XRPass_CustomMirrorView {
146 #[doc = "Direct (non-virtual) call to `XRPass_CustomMirrorView`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
147 pub unsafe fn invoke(
148 this: impl ::core::convert::Into<::unity::IlInstance>,
149 pass: crate::unity_engine::rendering::universal::xrpass::XRPass,
150 cmd: crate::unity_engine::rendering::commandbuffer::CommandBuffer,
151 rt: crate::unity_engine::rendertexture::RenderTexture,
152 viewport: crate::unity_engine::rect::Rect,
153 ) -> () {
154 let __mi = Self::invoke_method_info();
155 let __inner: extern "C" fn(
156 ::unity::IlInstance,
157 crate::unity_engine::rendering::universal::xrpass::XRPass,
158 crate::unity_engine::rendering::commandbuffer::CommandBuffer,
159 crate::unity_engine::rendertexture::RenderTexture,
160 crate::unity_engine::rect::Rect,
161 ::unity::OptionalMethod,
162 ) -> () = ::core::mem::transmute(__mi.method_ptr);
163 __inner(this.into(), pass, cmd, rt, viewport, ::core::option::Option::None)
164 }
165}
166
167#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
168impl XRPass_CustomMirrorView {
169 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
170 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
171 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
172 panic!(
173 "{}
174::{}
175 failed to instantiate",
176 ::core::stringify!(XRPass_CustomMirrorView),
177 ::core::stringify!(new),
178 )
179 });
180 <Self as IXRPass_CustomMirrorViewMethods>::ctor(this, object, method);
181 this
182 }
183}
184
185#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
186impl XRPass {
187 #[doc = "`Create(crate::unity_engine::rendering::universal::xrpasscreateinfo::XRPassCreateInfo)` overload"]
188 pub fn create(
189 create_info: impl ::core::convert::Into<crate::unity_engine::rendering::universal::xrpasscreateinfo::XRPassCreateInfo>,
190 ) -> crate::unity_engine::rendering::universal::xrpass::XRPass {
191 unsafe {
192 ::unity::il2cpp_call!((::unity::module_base()+0x2cb14a0usize)as*mut u8,crate::unity_engine::rendering::universal::xrpass::XRPass;
193(crate::unity_engine::rendering::universal::xrpasscreateinfo::XRPassCreateInfo)::core::convert::Into::into(create_info))
194 }
195 }
196
197 #[doc = "`Create(crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass, i32, crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters, crate::unity_engine::material::Material)` overload"]
198 pub fn create_2(
199 xr_render_pass: impl ::core::convert::Into<crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass>,
200 multipass_id: impl ::core::convert::Into<i32>,
201 culling_parameters: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters>,
202 occlusion_mesh_material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
203 ) -> crate::unity_engine::rendering::universal::xrpass::XRPass {
204 unsafe {
205 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2d60usize)as*mut u8,crate::unity_engine::rendering::universal::xrpass::XRPass;
206(crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass)::core::convert::Into::into(xr_render_pass),(i32)::core::convert::Into::into(multipass_id),(crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters)::core::convert::Into::into(culling_parameters),(crate::unity_engine::material::Material)::core::convert::Into::into(occlusion_mesh_material))
207 }
208 }
209
210 #[doc = "`Release(crate::unity_engine::rendering::universal::xrpass::XRPass)` overload"]
211 pub fn release(xr_pass: impl ::core::convert::Into<crate::unity_engine::rendering::universal::xrpass::XRPass>) -> () {
212 unsafe {
213 ::unity::il2cpp_call!((::unity::module_base()+0x2cb3120usize)as*mut u8,();
214(crate::unity_engine::rendering::universal::xrpass::XRPass)::core::convert::Into::into(xr_pass))
215 }
216 }
217
218 #[doc = "`.cctor()` overload"]
219 pub fn cctor() -> () {
220 unsafe {
221 ::unity::il2cpp_call!((::unity::module_base()+0x2cb48a0usize)as*mut u8,();
222 )
223 }
224 }
225}
226
227#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
228pub trait IXRPassMethods: IXRPass {
229 #[doc = "`get_enabled()` overload"]
230 fn get_enabled(self) -> bool {
231 unsafe {
232 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233 ::unity::il2cpp_call!((::unity::module_base()+0x2ca9180usize)as*mut u8,bool;
234(XRPass)__receiver)
235 }
236 }
237 #[doc = "`get_xrSdkEnabled()` overload"]
238 fn get_xr_sdk_enabled(self) -> bool {
239 unsafe {
240 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1ea0usize)as*mut u8,bool;
242(XRPass)__receiver)
243 }
244 }
245 #[doc = "`set_xrSdkEnabled(bool)` overload"]
246 fn set_xr_sdk_enabled(self, value: impl ::core::convert::Into<bool>) -> () {
247 unsafe {
248 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
249 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1eb0usize)as*mut u8,();
250(XRPass)__receiver,(bool)::core::convert::Into::into(value))
251 }
252 }
253 #[doc = "`get_copyDepth()` overload"]
254 fn get_copy_depth(self) -> bool {
255 unsafe {
256 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
257 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1ec0usize)as*mut u8,bool;
258(XRPass)__receiver)
259 }
260 }
261 #[doc = "`set_copyDepth(bool)` overload"]
262 fn set_copy_depth(self, value: impl ::core::convert::Into<bool>) -> () {
263 unsafe {
264 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
265 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1ed0usize)as*mut u8,();
266(XRPass)__receiver,(bool)::core::convert::Into::into(value))
267 }
268 }
269 #[doc = "`get_multipassId()` overload"]
270 fn get_multipass_id(self) -> i32 {
271 unsafe {
272 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
273 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1ee0usize)as*mut u8,i32;
274(XRPass)__receiver)
275 }
276 }
277 #[doc = "`set_multipassId(i32)` overload"]
278 fn set_multipass_id(self, value: impl ::core::convert::Into<i32>) -> () {
279 unsafe {
280 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
281 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1ef0usize)as*mut u8,();
282(XRPass)__receiver,(i32)::core::convert::Into::into(value))
283 }
284 }
285 #[doc = "`get_cullingPassId()` overload"]
286 fn get_culling_pass_id(self) -> i32 {
287 unsafe {
288 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
289 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1f00usize)as*mut u8,i32;
290(XRPass)__receiver)
291 }
292 }
293 #[doc = "`set_cullingPassId(i32)` overload"]
294 fn set_culling_pass_id(self, value: impl ::core::convert::Into<i32>) -> () {
295 unsafe {
296 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
297 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1f10usize)as*mut u8,();
298(XRPass)__receiver,(i32)::core::convert::Into::into(value))
299 }
300 }
301 #[doc = "`get_renderTarget()` overload"]
302 fn get_render_target(self) -> crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier {
303 unsafe {
304 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
305 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1f20usize)as*mut u8,crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier;
306(XRPass)__receiver)
307 }
308 }
309 #[doc = "`set_renderTarget(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)` overload"]
310 fn set_render_target(
311 self,
312 value: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
313 ) -> () {
314 unsafe {
315 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
316 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1f40usize)as*mut u8,();
317(XRPass)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(value))
318 }
319 }
320 #[doc = "`get_renderTargetDesc()` overload"]
321 fn get_render_target_desc(self) -> crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor {
322 unsafe {
323 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
324 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1f60usize)as*mut u8,crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor;
325(XRPass)__receiver)
326 }
327 }
328 #[doc = "`set_renderTargetDesc(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
329 fn set_render_target_desc(self, value: impl ::core::convert::Into<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>) -> () {
330 unsafe {
331 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
332 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1f90usize)as*mut u8,();
333(XRPass)__receiver,(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)::core::convert::Into::into(value))
334 }
335 }
336 #[doc = "`get_renderTargetValid()` overload"]
337 fn get_render_target_valid(self) -> bool {
338 unsafe {
339 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
340 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1fb0usize)as*mut u8,bool;
341(XRPass)__receiver)
342 }
343 }
344 #[doc = "`get_renderTargetIsRenderTexture()` overload"]
345 fn get_render_target_is_render_texture(self) -> bool {
346 unsafe {
347 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
348 ::unity::il2cpp_call!((::unity::module_base()+0x2cb20a0usize)as*mut u8,bool;
349(XRPass)__receiver)
350 }
351 }
352 #[doc = "`set_renderTargetIsRenderTexture(bool)` overload"]
353 fn set_render_target_is_render_texture(self, value: impl ::core::convert::Into<bool>) -> () {
354 unsafe {
355 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356 ::unity::il2cpp_call!((::unity::module_base()+0x2cb20b0usize)as*mut u8,();
357(XRPass)__receiver,(bool)::core::convert::Into::into(value))
358 }
359 }
360 #[doc = "`GetProjMatrix(i32)` overload"]
361 fn get_proj_matrix(self, view_index: impl ::core::convert::Into<i32>) -> crate::unity_engine::matrix4x4::Matrix4x4 {
362 unsafe {
363 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
364 ::unity::il2cpp_call!((::unity::module_base()+0x2cb20c0usize)as*mut u8,crate::unity_engine::matrix4x4::Matrix4x4;
365(XRPass)__receiver,(i32)::core::convert::Into::into(view_index))
366 }
367 }
368 #[doc = "`GetViewMatrix(i32)` overload"]
369 fn get_view_matrix(self, view_index: impl ::core::convert::Into<i32>) -> crate::unity_engine::matrix4x4::Matrix4x4 {
370 unsafe {
371 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
372 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2150usize)as*mut u8,crate::unity_engine::matrix4x4::Matrix4x4;
373(XRPass)__receiver,(i32)::core::convert::Into::into(view_index))
374 }
375 }
376 #[doc = "`GetTextureArraySlice(i32)` overload"]
377 fn get_texture_array_slice(self, view_index: impl ::core::convert::Into<i32>) -> i32 {
378 unsafe {
379 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
380 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2200usize)as*mut u8,i32;
381(XRPass)__receiver,(i32)::core::convert::Into::into(view_index))
382 }
383 }
384 #[doc = "`GetViewport(i32)` overload"]
385 fn get_viewport(self, view_index: impl ::core::convert::Into<i32>) -> crate::unity_engine::rect::Rect {
386 unsafe {
387 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
388 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2270usize)as*mut u8,crate::unity_engine::rect::Rect;
389(XRPass)__receiver,(i32)::core::convert::Into::into(view_index))
390 }
391 }
392 #[doc = "`get_cullingParams()` overload"]
393 fn get_culling_params(self) -> crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters {
394 unsafe {
395 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
396 ::unity::il2cpp_call!((::unity::module_base()+0x2cb22f0usize)as*mut u8,crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters;
397(XRPass)__receiver)
398 }
399 }
400 #[doc = "`set_cullingParams(crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters)` overload"]
401 fn set_culling_params(
402 self,
403 value: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters>,
404 ) -> () {
405 unsafe {
406 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
407 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2300usize)as*mut u8,();
408(XRPass)__receiver,(crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters)::core::convert::Into::into(value))
409 }
410 }
411 #[doc = "`get_viewCount()` overload"]
412 fn get_view_count(self) -> i32 {
413 unsafe {
414 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
415 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2320usize)as*mut u8,i32;
416(XRPass)__receiver)
417 }
418 }
419 #[doc = "`get_singlePassEnabled()` overload"]
420 fn get_single_pass_enabled(self) -> bool {
421 unsafe {
422 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
423 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2370usize)as*mut u8,bool;
424(XRPass)__receiver)
425 }
426 }
427 #[doc = "`get_isOcclusionMeshSupported()` overload"]
428 fn get_is_occlusion_mesh_supported(self) -> bool {
429 unsafe {
430 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
431 ::unity::il2cpp_call!((::unity::module_base()+0x2cb23c0usize)as*mut u8,bool;
432(XRPass)__receiver)
433 }
434 }
435 #[doc = "`get_hasValidOcclusionMesh()` overload"]
436 fn get_has_valid_occlusion_mesh(self) -> bool {
437 unsafe {
438 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
439 ::unity::il2cpp_call!((::unity::module_base()+0x2cb24a0usize)as*mut u8,bool;
440(XRPass)__receiver)
441 }
442 }
443 #[doc = "`SetCustomMirrorView(crate::unity_engine::rendering::universal::xrpass::XRPass_CustomMirrorView)` overload"]
444 fn set_custom_mirror_view(
445 self,
446 callback: impl ::core::convert::Into<crate::unity_engine::rendering::universal::xrpass::XRPass_CustomMirrorView>,
447 ) -> () {
448 unsafe {
449 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
450 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2640usize)as*mut u8,();
451(XRPass)__receiver,(crate::unity_engine::rendering::universal::xrpass::XRPass_CustomMirrorView)::core::convert::Into::into(callback))
452 }
453 }
454 #[doc = "`UpdateView(i32, crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass, crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderParameter)` overload"]
455 fn update_view(
456 self,
457 view_id: impl ::core::convert::Into<i32>,
458 xr_sdk_render_pass: impl ::core::convert::Into<crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass>,
459 xr_sdk_render_parameter: impl ::core::convert::Into<crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderParameter>,
460 ) -> () {
461 unsafe {
462 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
463 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2650usize)as*mut u8,();
464(XRPass)__receiver,(i32)::core::convert::Into::into(view_id),(crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass)::core::convert::Into::into(xr_sdk_render_pass),(crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderParameter)::core::convert::Into::into(xr_sdk_render_parameter))
465 }
466 }
467 #[doc = "`UpdateView(i32, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::rect::Rect, i32)` overload"]
468 fn update_view_2(
469 self,
470 view_id: impl ::core::convert::Into<i32>,
471 proj: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
472 view: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
473 vp: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
474 texture_array_slice: impl ::core::convert::Into<i32>,
475 ) -> () {
476 unsafe {
477 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2900usize)as*mut u8,();
479(XRPass)__receiver,(i32)::core::convert::Into::into(view_id),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(proj),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(view),(crate::unity_engine::rect::Rect)::core::convert::Into::into(vp),(i32)::core::convert::Into::into(texture_array_slice))
480 }
481 }
482 #[doc = "`UpdateCullingParams(i32, crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters)` overload"]
483 fn update_culling_params(
484 self,
485 culling_pass_id: impl ::core::convert::Into<i32>,
486 culling_params: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters>,
487 ) -> () {
488 unsafe {
489 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
490 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2b40usize)as*mut u8,();
491(XRPass)__receiver,(i32)::core::convert::Into::into(culling_pass_id),(crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters)::core::convert::Into::into(culling_params))
492 }
493 }
494 #[doc = "`AddView(crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::rect::Rect, i32)` overload"]
495 fn add_view(
496 self,
497 proj: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
498 view: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
499 vp: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
500 texture_array_slice: impl ::core::convert::Into<i32>,
501 ) -> () {
502 unsafe {
503 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
504 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1860usize)as*mut u8,();
505(XRPass)__receiver,(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(proj),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(view),(crate::unity_engine::rect::Rect)::core::convert::Into::into(vp),(i32)::core::convert::Into::into(texture_array_slice))
506 }
507 }
508 #[doc = "`AddView(crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass, crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderParameter)` overload"]
509 fn add_view_2(
510 self,
511 xr_sdk_render_pass: impl ::core::convert::Into<crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass>,
512 xr_sdk_render_parameter: impl ::core::convert::Into<crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderParameter>,
513 ) -> () {
514 unsafe {
515 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
516 ::unity::il2cpp_call!((::unity::module_base()+0x2cb3040usize)as*mut u8,();
517(XRPass)__receiver,(crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass)::core::convert::Into::into(xr_sdk_render_pass),(crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderParameter)::core::convert::Into::into(xr_sdk_render_parameter))
518 }
519 }
520 #[doc = "`AddViewInternal(crate::unity_engine::rendering::universal::xrview::XRView)` overload"]
521 fn add_view_internal(self, xr_view: impl ::core::convert::Into<crate::unity_engine::rendering::universal::xrview::XRView>) -> () {
522 unsafe {
523 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
524 ::unity::il2cpp_call!((::unity::module_base()+0x2cb2b70usize)as*mut u8,();
525(XRPass)__receiver,(crate::unity_engine::rendering::universal::xrview::XRView)::core::convert::Into::into(xr_view))
526 }
527 }
528 #[doc = "`UpdateOcclusionMesh()` overload"]
529 fn update_occlusion_mesh(self) -> () {
530 unsafe {
531 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
532 ::unity::il2cpp_call!((::unity::module_base()+0x2cb31a0usize)as*mut u8,();
533(XRPass)__receiver)
534 }
535 }
536 #[doc = "`TryGetOcclusionMeshCombinedHashCode(*muti32)` overload"]
537 fn try_get_occlusion_mesh_combined_hash_code(self) -> (bool, i32) {
538 unsafe {
539 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
540 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
541 let __ret = {
542 ::unity::il2cpp_call!((::unity::module_base()+0x2cb3320usize)as*mut u8,bool;
543(XRPass)__receiver,(*mut i32)__out_0.as_mut_ptr())
544 };
545 (__ret, __out_0.assume_init())
546 }
547 }
548 #[doc = "`CreateOcclusionMeshCombined()` overload"]
549 fn create_occlusion_mesh_combined(self) -> () {
550 unsafe {
551 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
552 ::unity::il2cpp_call!((::unity::module_base()+0x2cb3480usize)as*mut u8,();
553(XRPass)__receiver)
554 }
555 }
556 #[doc = "`StartSinglePass(crate::unity_engine::rendering::commandbuffer::CommandBuffer)` overload"]
557 fn start_single_pass(self, cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>) -> () {
558 unsafe {
559 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
560 ::unity::il2cpp_call!((::unity::module_base()+0x2cb3800usize)as*mut u8,();
561(XRPass)__receiver,(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd))
562 }
563 }
564 #[doc = "`StopSinglePass(crate::unity_engine::rendering::commandbuffer::CommandBuffer)` overload"]
565 fn stop_single_pass(self, cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>) -> () {
566 unsafe {
567 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
568 ::unity::il2cpp_call!((::unity::module_base()+0x2cb3b10usize)as*mut u8,();
569(XRPass)__receiver,(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd))
570 }
571 }
572 #[doc = "`EndCamera(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::universal::cameradata::CameraData)` overload"]
573 fn end_camera(
574 self,
575 cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
576 camera_data: impl ::core::convert::Into<crate::unity_engine::rendering::universal::cameradata::CameraData>,
577 ) -> () {
578 unsafe {
579 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
580 ::unity::il2cpp_call!((::unity::module_base()+0x2ca96d0usize)as*mut u8,();
581(XRPass)__receiver,(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::universal::cameradata::CameraData)::core::convert::Into::into(camera_data))
582 }
583 }
584 #[doc = "`RenderOcclusionMesh(crate::unity_engine::rendering::commandbuffer::CommandBuffer)` overload"]
585 fn render_occlusion_mesh(self, cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>) -> () {
586 unsafe {
587 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
588 ::unity::il2cpp_call!((::unity::module_base()+0x2cb1af0usize)as*mut u8,();
589(XRPass)__receiver,(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd))
590 }
591 }
592 #[doc = "`UpdateGPUViewAndProjectionMatrices(crate::unity_engine::rendering::commandbuffer::CommandBuffer, *mutcrate::unity_engine::rendering::universal::cameradata::CameraData, bool)` overload"]
593 fn update_gpu_view_and_projection_matrices(
594 self,
595 cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
596 is_render_to_texture: impl ::core::convert::Into<bool>,
597 ) -> crate::unity_engine::rendering::universal::cameradata::CameraData {
598 unsafe {
599 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
600 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::universal::cameradata::CameraData>::uninit();
601 ::unity::il2cpp_call!((::unity::module_base()+0x2cb4070usize)as*mut u8,();
602(XRPass)__receiver,(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(*mut crate::unity_engine::rendering::universal::cameradata::CameraData)__out_0.as_mut_ptr(),(bool)::core::convert::Into::into(is_render_to_texture));
603 __out_0.assume_init()
604 }
605 }
606 #[doc = "`.ctor()` overload"]
607 fn ctor(self) -> () {
608 unsafe {
609 let __receiver = <XRPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
610 ::unity::il2cpp_call!((::unity::module_base()+0x2cb4710usize)as*mut u8,();
611(XRPass)__receiver)
612 }
613 }
614}
615
616#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
617impl<__T: IXRPass> IXRPassMethods for __T {}
618
619#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
620impl XRPass {
621 pub fn get_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
622 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
623 }
624
625 pub fn get_xr_sdk_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
626 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
627 }
628
629 pub fn set_xr_sdk_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
630 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
631 }
632
633 pub fn get_copy_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
634 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
635 }
636
637 pub fn set_copy_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
638 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
639 }
640
641 pub fn get_multipass_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
642 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
643 }
644
645 pub fn set_multipass_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
646 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
647 }
648
649 pub fn get_culling_pass_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
650 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
651 }
652
653 pub fn set_culling_pass_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
654 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
655 }
656
657 pub fn get_render_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
658 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
659 }
660
661 pub fn set_render_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
662 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
663 }
664
665 pub fn get_render_target_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
666 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
667 }
668
669 pub fn set_render_target_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
670 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
671 }
672
673 pub fn get_render_target_valid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
674 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
675 }
676
677 pub fn get_render_target_is_render_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
678 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
679 }
680
681 pub fn set_render_target_is_render_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
682 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
683 }
684
685 pub fn get_proj_matrix_method_info() -> &'static ::unity::il2cpp::MethodInfo {
686 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
687 }
688
689 pub fn get_view_matrix_method_info() -> &'static ::unity::il2cpp::MethodInfo {
690 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
691 }
692
693 pub fn get_texture_array_slice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
694 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
695 }
696
697 pub fn get_viewport_method_info() -> &'static ::unity::il2cpp::MethodInfo {
698 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
699 }
700
701 pub fn get_culling_params_method_info() -> &'static ::unity::il2cpp::MethodInfo {
702 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
703 }
704
705 pub fn set_culling_params_method_info() -> &'static ::unity::il2cpp::MethodInfo {
706 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
707 }
708
709 pub fn get_view_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
710 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
711 }
712
713 pub fn get_single_pass_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
714 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
715 }
716
717 pub fn get_is_occlusion_mesh_supported_method_info() -> &'static ::unity::il2cpp::MethodInfo {
718 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
719 }
720
721 pub fn get_has_valid_occlusion_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
722 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
723 }
724
725 pub fn set_custom_mirror_view_method_info() -> &'static ::unity::il2cpp::MethodInfo {
726 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
727 }
728
729 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
730 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
731 }
732
733 pub fn update_view_method_info() -> &'static ::unity::il2cpp::MethodInfo {
734 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
735 }
736
737 pub fn update_view_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
738 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
739 }
740
741 pub fn update_culling_params_method_info() -> &'static ::unity::il2cpp::MethodInfo {
742 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
743 }
744
745 pub fn add_view_method_info() -> &'static ::unity::il2cpp::MethodInfo {
746 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
747 }
748
749 pub fn create_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
750 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
751 }
752
753 pub fn add_view_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
754 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
755 }
756
757 pub fn release_method_info() -> &'static ::unity::il2cpp::MethodInfo {
758 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
759 }
760
761 pub fn add_view_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
762 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
763 }
764
765 pub fn update_occlusion_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
766 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
767 }
768
769 pub fn try_get_occlusion_mesh_combined_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
770 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
771 }
772
773 pub fn create_occlusion_mesh_combined_method_info() -> &'static ::unity::il2cpp::MethodInfo {
774 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
775 }
776
777 pub fn start_single_pass_method_info() -> &'static ::unity::il2cpp::MethodInfo {
778 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
779 }
780
781 pub fn stop_single_pass_method_info() -> &'static ::unity::il2cpp::MethodInfo {
782 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
783 }
784
785 pub fn end_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
786 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
787 }
788
789 pub fn render_occlusion_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
790 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
791 }
792
793 pub fn update_gpu_view_and_projection_matrices_method_info() -> &'static ::unity::il2cpp::MethodInfo {
794 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
795 }
796
797 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
798 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
799 }
800
801 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
802 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
803 }
804}
805
806#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
807impl XRPass {
808 #[doc = "`.ctor()` — no args"]
809 pub fn new() -> Self {
810 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
811 panic!(
812 "{}
813::{}
814 failed to instantiate",
815 ::core::stringify!(XRPass),
816 ::core::stringify!(new),
817 )
818 });
819 <Self as IXRPassMethods>::ctor(this);
820 this
821 }
822}
823
824#[cfg(feature = "unity_engine-rendering-universal-xrpass")]
825#[doc(hidden)]
826pub mod prelude {
827 pub use super::{IXRPass, IXRPassMethods, IXRPass_CustomMirrorView, IXRPass_CustomMirrorViewMethods, XRPass, XRPass_CustomMirrorView};
828 #[cfg(feature = "system-delegate")]
829 pub use crate::system::delegate::IDelegateMethods;
830 #[cfg(feature = "system-multicastdelegate")]
831 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
832 #[cfg(feature = "system-object")]
833 pub use crate::system::object::IObjectMethods;
834 pub use crate::system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject};
835}