1#[cfg(feature = "unity_engine-experimental-rendering-universal-ipixelperfectcamera_interface-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/experimental/rendering/universal/ipixelperfectcamera_interface/IPixelPerfectCamera_Interface.md"))]
10 #[::unity::class(namespace = "UnityEngine.Experimental.Rendering.Universal", name = "IPixelPerfectCamera")]
11 pub struct IPixelPerfectCamera_Interface {}
12}
13
14#[cfg(feature = "unity_engine-experimental-rendering-universal-ipixelperfectcamera_interface-types")]
15pub use __types::*;
16
17#[cfg(feature = "unity_engine-experimental-rendering-universal-ipixelperfectcamera_interface")]
18pub trait IIPixelPerfectCamera_InterfaceMethods: IIPixelPerfectCamera_Interface {
19 #[doc = "`get_assetsPPU()` overload"]
20 fn get_assets_ppu(self) -> i32 {
21 unsafe {
22 let __receiver =
23 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
24 {
25 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
26 let __vi = *__vt.get(0usize).unwrap_or_else(|| {
27 panic!(
28 "unity: virtual slot {}
29 out of range (vtable len {}
30) on the runtime class behind {}
31 (method `{}
32`)",
33 0usize,
34 __vt.len(),
35 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
36 "get_assetsPPU",
37 )
38 });
39 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
40 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
41 __inner(__receiver, __mi)
42 }
43 }
44 }
45 #[doc = "`set_assetsPPU(i32)` overload"]
46 fn set_assets_ppu(self, value: impl ::core::convert::Into<i32>) -> () {
47 unsafe {
48 let __receiver =
49 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
50 {
51 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
52 let __vi = *__vt.get(1usize).unwrap_or_else(|| {
53 panic!(
54 "unity: virtual slot {}
55 out of range (vtable len {}
56) on the runtime class behind {}
57 (method `{}
58`)",
59 1usize,
60 __vt.len(),
61 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
62 "set_assetsPPU",
63 )
64 });
65 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, i32, ::unity::OptionalMethod) -> () =
66 ::core::mem::transmute(__vi.method_ptr);
67 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
68 __inner(__receiver, ::core::convert::Into::into(value), __mi)
69 }
70 }
71 }
72 #[doc = "`get_refResolutionX()` overload"]
73 fn get_ref_resolution_x(self) -> i32 {
74 unsafe {
75 let __receiver =
76 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
77 {
78 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
79 let __vi = *__vt.get(2usize).unwrap_or_else(|| {
80 panic!(
81 "unity: virtual slot {}
82 out of range (vtable len {}
83) on the runtime class behind {}
84 (method `{}
85`)",
86 2usize,
87 __vt.len(),
88 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
89 "get_refResolutionX",
90 )
91 });
92 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
93 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
94 __inner(__receiver, __mi)
95 }
96 }
97 }
98 #[doc = "`set_refResolutionX(i32)` overload"]
99 fn set_ref_resolution_x(self, value: impl ::core::convert::Into<i32>) -> () {
100 unsafe {
101 let __receiver =
102 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
103 {
104 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
105 let __vi = *__vt.get(3usize).unwrap_or_else(|| {
106 panic!(
107 "unity: virtual slot {}
108 out of range (vtable len {}
109) on the runtime class behind {}
110 (method `{}
111`)",
112 3usize,
113 __vt.len(),
114 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
115 "set_refResolutionX",
116 )
117 });
118 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, i32, ::unity::OptionalMethod) -> () =
119 ::core::mem::transmute(__vi.method_ptr);
120 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
121 __inner(__receiver, ::core::convert::Into::into(value), __mi)
122 }
123 }
124 }
125 #[doc = "`get_refResolutionY()` overload"]
126 fn get_ref_resolution_y(self) -> i32 {
127 unsafe {
128 let __receiver =
129 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
130 {
131 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
132 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
133 panic!(
134 "unity: virtual slot {}
135 out of range (vtable len {}
136) on the runtime class behind {}
137 (method `{}
138`)",
139 4usize,
140 __vt.len(),
141 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
142 "get_refResolutionY",
143 )
144 });
145 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
146 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
147 __inner(__receiver, __mi)
148 }
149 }
150 }
151 #[doc = "`set_refResolutionY(i32)` overload"]
152 fn set_ref_resolution_y(self, value: impl ::core::convert::Into<i32>) -> () {
153 unsafe {
154 let __receiver =
155 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
156 {
157 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
158 let __vi = *__vt.get(5usize).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 5usize,
166 __vt.len(),
167 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
168 "set_refResolutionY",
169 )
170 });
171 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, i32, ::unity::OptionalMethod) -> () =
172 ::core::mem::transmute(__vi.method_ptr);
173 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
174 __inner(__receiver, ::core::convert::Into::into(value), __mi)
175 }
176 }
177 }
178 #[doc = "`get_upscaleRT()` overload"]
179 fn get_upscale_rt(self) -> bool {
180 unsafe {
181 let __receiver =
182 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
183 {
184 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
185 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
186 panic!(
187 "unity: virtual slot {}
188 out of range (vtable len {}
189) on the runtime class behind {}
190 (method `{}
191`)",
192 6usize,
193 __vt.len(),
194 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
195 "get_upscaleRT",
196 )
197 });
198 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
199 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
200 __inner(__receiver, __mi)
201 }
202 }
203 }
204 #[doc = "`set_upscaleRT(bool)` overload"]
205 fn set_upscale_rt(self, value: impl ::core::convert::Into<bool>) -> () {
206 unsafe {
207 let __receiver =
208 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209 {
210 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
211 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
212 panic!(
213 "unity: virtual slot {}
214 out of range (vtable len {}
215) on the runtime class behind {}
216 (method `{}
217`)",
218 7usize,
219 __vt.len(),
220 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
221 "set_upscaleRT",
222 )
223 });
224 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, bool, ::unity::OptionalMethod) -> () =
225 ::core::mem::transmute(__vi.method_ptr);
226 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
227 __inner(__receiver, ::core::convert::Into::into(value), __mi)
228 }
229 }
230 }
231 #[doc = "`get_pixelSnapping()` overload"]
232 fn get_pixel_snapping(self) -> bool {
233 unsafe {
234 let __receiver =
235 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
236 {
237 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
238 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
239 panic!(
240 "unity: virtual slot {}
241 out of range (vtable len {}
242) on the runtime class behind {}
243 (method `{}
244`)",
245 8usize,
246 __vt.len(),
247 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
248 "get_pixelSnapping",
249 )
250 });
251 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
252 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
253 __inner(__receiver, __mi)
254 }
255 }
256 }
257 #[doc = "`set_pixelSnapping(bool)` overload"]
258 fn set_pixel_snapping(self, value: impl ::core::convert::Into<bool>) -> () {
259 unsafe {
260 let __receiver =
261 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
262 {
263 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
264 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
265 panic!(
266 "unity: virtual slot {}
267 out of range (vtable len {}
268) on the runtime class behind {}
269 (method `{}
270`)",
271 9usize,
272 __vt.len(),
273 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
274 "set_pixelSnapping",
275 )
276 });
277 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, bool, ::unity::OptionalMethod) -> () =
278 ::core::mem::transmute(__vi.method_ptr);
279 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
280 __inner(__receiver, ::core::convert::Into::into(value), __mi)
281 }
282 }
283 }
284 #[doc = "`get_cropFrameX()` overload"]
285 fn get_crop_frame_x(self) -> bool {
286 unsafe {
287 let __receiver =
288 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
289 {
290 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
291 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
292 panic!(
293 "unity: virtual slot {}
294 out of range (vtable len {}
295) on the runtime class behind {}
296 (method `{}
297`)",
298 10usize,
299 __vt.len(),
300 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
301 "get_cropFrameX",
302 )
303 });
304 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
305 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
306 __inner(__receiver, __mi)
307 }
308 }
309 }
310 #[doc = "`set_cropFrameX(bool)` overload"]
311 fn set_crop_frame_x(self, value: impl ::core::convert::Into<bool>) -> () {
312 unsafe {
313 let __receiver =
314 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
315 {
316 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
317 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
318 panic!(
319 "unity: virtual slot {}
320 out of range (vtable len {}
321) on the runtime class behind {}
322 (method `{}
323`)",
324 11usize,
325 __vt.len(),
326 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
327 "set_cropFrameX",
328 )
329 });
330 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, bool, ::unity::OptionalMethod) -> () =
331 ::core::mem::transmute(__vi.method_ptr);
332 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
333 __inner(__receiver, ::core::convert::Into::into(value), __mi)
334 }
335 }
336 }
337 #[doc = "`get_cropFrameY()` overload"]
338 fn get_crop_frame_y(self) -> bool {
339 unsafe {
340 let __receiver =
341 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342 {
343 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
344 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
345 panic!(
346 "unity: virtual slot {}
347 out of range (vtable len {}
348) on the runtime class behind {}
349 (method `{}
350`)",
351 12usize,
352 __vt.len(),
353 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
354 "get_cropFrameY",
355 )
356 });
357 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
358 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
359 __inner(__receiver, __mi)
360 }
361 }
362 }
363 #[doc = "`set_cropFrameY(bool)` overload"]
364 fn set_crop_frame_y(self, value: impl ::core::convert::Into<bool>) -> () {
365 unsafe {
366 let __receiver =
367 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368 {
369 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
370 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
371 panic!(
372 "unity: virtual slot {}
373 out of range (vtable len {}
374) on the runtime class behind {}
375 (method `{}
376`)",
377 13usize,
378 __vt.len(),
379 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
380 "set_cropFrameY",
381 )
382 });
383 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, bool, ::unity::OptionalMethod) -> () =
384 ::core::mem::transmute(__vi.method_ptr);
385 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
386 __inner(__receiver, ::core::convert::Into::into(value), __mi)
387 }
388 }
389 }
390 #[doc = "`get_stretchFill()` overload"]
391 fn get_stretch_fill(self) -> bool {
392 unsafe {
393 let __receiver =
394 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
395 {
396 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
397 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
398 panic!(
399 "unity: virtual slot {}
400 out of range (vtable len {}
401) on the runtime class behind {}
402 (method `{}
403`)",
404 14usize,
405 __vt.len(),
406 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
407 "get_stretchFill",
408 )
409 });
410 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
411 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
412 __inner(__receiver, __mi)
413 }
414 }
415 }
416 #[doc = "`set_stretchFill(bool)` overload"]
417 fn set_stretch_fill(self, value: impl ::core::convert::Into<bool>) -> () {
418 unsafe {
419 let __receiver =
420 <IPixelPerfectCamera_Interface as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
421 {
422 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
423 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
424 panic!(
425 "unity: virtual slot {}
426 out of range (vtable len {}
427) on the runtime class behind {}
428 (method `{}
429`)",
430 15usize,
431 __vt.len(),
432 <IPixelPerfectCamera_Interface as ::unity::ClassIdentity>::NAME,
433 "set_stretchFill",
434 )
435 });
436 let __inner: extern "C" fn(IPixelPerfectCamera_Interface, bool, ::unity::OptionalMethod) -> () =
437 ::core::mem::transmute(__vi.method_ptr);
438 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
439 __inner(__receiver, ::core::convert::Into::into(value), __mi)
440 }
441 }
442 }
443}
444
445#[cfg(feature = "unity_engine-experimental-rendering-universal-ipixelperfectcamera_interface")]
446impl<__T: IIPixelPerfectCamera_Interface> IIPixelPerfectCamera_InterfaceMethods for __T {}
447
448#[cfg(feature = "unity_engine-experimental-rendering-universal-ipixelperfectcamera_interface")]
449impl IPixelPerfectCamera_Interface {
450 pub fn get_assets_ppu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
451 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
452 }
453
454 pub fn set_assets_ppu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
455 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
456 }
457
458 pub fn get_ref_resolution_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
459 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
460 }
461
462 pub fn set_ref_resolution_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
463 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
464 }
465
466 pub fn get_ref_resolution_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
467 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
468 }
469
470 pub fn set_ref_resolution_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
471 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
472 }
473
474 pub fn get_upscale_rt_method_info() -> &'static ::unity::il2cpp::MethodInfo {
475 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
476 }
477
478 pub fn set_upscale_rt_method_info() -> &'static ::unity::il2cpp::MethodInfo {
479 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
480 }
481
482 pub fn get_pixel_snapping_method_info() -> &'static ::unity::il2cpp::MethodInfo {
483 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
484 }
485
486 pub fn set_pixel_snapping_method_info() -> &'static ::unity::il2cpp::MethodInfo {
487 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
488 }
489
490 pub fn get_crop_frame_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
491 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
492 }
493
494 pub fn set_crop_frame_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
495 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
496 }
497
498 pub fn get_crop_frame_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
499 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
500 }
501
502 pub fn set_crop_frame_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
503 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
504 }
505
506 pub fn get_stretch_fill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
507 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
508 }
509
510 pub fn set_stretch_fill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
511 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
512 }
513}
514
515#[cfg(feature = "unity_engine-experimental-rendering-universal-ipixelperfectcamera_interface")]
516impl IPixelPerfectCamera_Interface {
517 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `get_assetsPPU`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
518 pub unsafe fn get_assets_ppu(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
519 let __mi = Self::get_assets_ppu_method_info();
520 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
521 __inner(this.into(), ::core::option::Option::None)
522 }
523
524 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `set_assetsPPU`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
525 pub unsafe fn set_assets_ppu(this: impl ::core::convert::Into<::unity::IlInstance>, value: i32) -> () {
526 let __mi = Self::set_assets_ppu_method_info();
527 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
528 __inner(this.into(), value, ::core::option::Option::None)
529 }
530
531 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `get_refResolutionX`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
532 pub unsafe fn get_ref_resolution_x(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
533 let __mi = Self::get_ref_resolution_x_method_info();
534 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
535 __inner(this.into(), ::core::option::Option::None)
536 }
537
538 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `set_refResolutionX`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
539 pub unsafe fn set_ref_resolution_x(this: impl ::core::convert::Into<::unity::IlInstance>, value: i32) -> () {
540 let __mi = Self::set_ref_resolution_x_method_info();
541 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
542 __inner(this.into(), value, ::core::option::Option::None)
543 }
544
545 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `get_refResolutionY`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
546 pub unsafe fn get_ref_resolution_y(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
547 let __mi = Self::get_ref_resolution_y_method_info();
548 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
549 __inner(this.into(), ::core::option::Option::None)
550 }
551
552 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `set_refResolutionY`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
553 pub unsafe fn set_ref_resolution_y(this: impl ::core::convert::Into<::unity::IlInstance>, value: i32) -> () {
554 let __mi = Self::set_ref_resolution_y_method_info();
555 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
556 __inner(this.into(), value, ::core::option::Option::None)
557 }
558
559 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `get_upscaleRT`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
560 pub unsafe fn get_upscale_rt(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
561 let __mi = Self::get_upscale_rt_method_info();
562 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
563 __inner(this.into(), ::core::option::Option::None)
564 }
565
566 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `set_upscaleRT`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
567 pub unsafe fn set_upscale_rt(this: impl ::core::convert::Into<::unity::IlInstance>, value: bool) -> () {
568 let __mi = Self::set_upscale_rt_method_info();
569 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
570 __inner(this.into(), value, ::core::option::Option::None)
571 }
572
573 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `get_pixelSnapping`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
574 pub unsafe fn get_pixel_snapping(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
575 let __mi = Self::get_pixel_snapping_method_info();
576 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
577 __inner(this.into(), ::core::option::Option::None)
578 }
579
580 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `set_pixelSnapping`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
581 pub unsafe fn set_pixel_snapping(this: impl ::core::convert::Into<::unity::IlInstance>, value: bool) -> () {
582 let __mi = Self::set_pixel_snapping_method_info();
583 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
584 __inner(this.into(), value, ::core::option::Option::None)
585 }
586
587 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `get_cropFrameX`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
588 pub unsafe fn get_crop_frame_x(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
589 let __mi = Self::get_crop_frame_x_method_info();
590 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
591 __inner(this.into(), ::core::option::Option::None)
592 }
593
594 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `set_cropFrameX`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
595 pub unsafe fn set_crop_frame_x(this: impl ::core::convert::Into<::unity::IlInstance>, value: bool) -> () {
596 let __mi = Self::set_crop_frame_x_method_info();
597 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
598 __inner(this.into(), value, ::core::option::Option::None)
599 }
600
601 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `get_cropFrameY`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
602 pub unsafe fn get_crop_frame_y(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
603 let __mi = Self::get_crop_frame_y_method_info();
604 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
605 __inner(this.into(), ::core::option::Option::None)
606 }
607
608 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `set_cropFrameY`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
609 pub unsafe fn set_crop_frame_y(this: impl ::core::convert::Into<::unity::IlInstance>, value: bool) -> () {
610 let __mi = Self::set_crop_frame_y_method_info();
611 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
612 __inner(this.into(), value, ::core::option::Option::None)
613 }
614
615 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `get_stretchFill`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
616 pub unsafe fn get_stretch_fill(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
617 let __mi = Self::get_stretch_fill_method_info();
618 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
619 __inner(this.into(), ::core::option::Option::None)
620 }
621
622 #[doc = "Direct (non-virtual) call to `IPixelPerfectCamera_Interface`'s own `set_stretchFill`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
623 pub unsafe fn set_stretch_fill(this: impl ::core::convert::Into<::unity::IlInstance>, value: bool) -> () {
624 let __mi = Self::set_stretch_fill_method_info();
625 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
626 __inner(this.into(), value, ::core::option::Option::None)
627 }
628}
629
630#[cfg(feature = "unity_engine-experimental-rendering-universal-ipixelperfectcamera_interface")]
631#[doc(hidden)]
632pub mod prelude {
633 pub use super::{IIPixelPerfectCamera_Interface, IIPixelPerfectCamera_InterfaceMethods, IPixelPerfectCamera_Interface};
634}