Skip to main content

engage/generated/unity_engine/
rendertexturedescriptor.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendertexturedescriptor-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendertexturedescriptor/RenderTextureDescriptor.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct RenderTextureDescriptor {
17        pub graphics_format: crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat,
18        pub depth_buffer_bits: i32,
19        pub flags: crate::unity_engine::rendertexturecreationflags::RenderTextureCreationFlags,
20    }
21    impl ::unity::ClassIdentity for RenderTextureDescriptor {
22        const NAME: &'static str = "RenderTextureDescriptor";
23        const NAMESPACE: &'static str = "UnityEngine";
24
25        fn class() -> ::unity::Class {
26            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
27            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
28        }
29    }
30    impl ::unity::IlType for RenderTextureDescriptor {
31        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
32            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
33        }
34    }
35    impl RenderTextureDescriptor {
36        #[inline]
37        pub fn depth_format_bits() -> ::unity::Array<i32> {
38            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
39            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "depthFormatBits");
40            ::unity::static_field_get_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset)
41        }
42
43        #[inline]
44        pub fn set_depth_format_bits(value: ::unity::Array<i32>) {
45            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
46            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "depthFormatBits");
47            ::unity::static_field_set_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset, value);
48        }
49    }
50}
51
52#[cfg(feature = "unity_engine-rendertexturedescriptor-types")]
53pub use __types::*;
54
55#[cfg(feature = "unity_engine-rendertexturedescriptor")]
56impl RenderTextureDescriptor {
57    #[doc = "`.cctor()` overload"]
58    pub fn cctor() -> () {
59        unsafe {
60            ::unity::il2cpp_call!((::unity::module_base()+0x2f87f90usize)as*mut u8,();
61            )
62        }
63    }
64}
65
66#[cfg(feature = "unity_engine-rendertexturedescriptor")]
67impl RenderTextureDescriptor {
68    #[doc = "`get_width()` overload"]
69    pub fn get_width(&mut self) -> i32 {
70        unsafe {
71            ::unity::il2cpp_call!((::unity::module_base()+0x2f87a90usize)as*mut u8,i32;
72(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
73        }
74    }
75
76    #[doc = "`set_width(i32)` overload"]
77    pub fn set_width(&mut self, value: impl ::core::convert::Into<i32>) -> () {
78        unsafe {
79            ::unity::il2cpp_call!((::unity::module_base()+0x2f87aa0usize)as*mut u8,();
80(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(i32)::core::convert::Into::into(value))
81        }
82    }
83
84    #[doc = "`get_height()` overload"]
85    pub fn get_height(&mut self) -> i32 {
86        unsafe {
87            ::unity::il2cpp_call!((::unity::module_base()+0x2f87ab0usize)as*mut u8,i32;
88(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
89        }
90    }
91
92    #[doc = "`set_height(i32)` overload"]
93    pub fn set_height(&mut self, value: impl ::core::convert::Into<i32>) -> () {
94        unsafe {
95            ::unity::il2cpp_call!((::unity::module_base()+0x2f87ac0usize)as*mut u8,();
96(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(i32)::core::convert::Into::into(value))
97        }
98    }
99
100    #[doc = "`get_msaaSamples()` overload"]
101    pub fn get_msaa_samples(&mut self) -> i32 {
102        unsafe {
103            ::unity::il2cpp_call!((::unity::module_base()+0x2f87ad0usize)as*mut u8,i32;
104(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
105        }
106    }
107
108    #[doc = "`set_msaaSamples(i32)` overload"]
109    pub fn set_msaa_samples(&mut self, value: impl ::core::convert::Into<i32>) -> () {
110        unsafe {
111            ::unity::il2cpp_call!((::unity::module_base()+0x2f87ae0usize)as*mut u8,();
112(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(i32)::core::convert::Into::into(value))
113        }
114    }
115
116    #[doc = "`get_volumeDepth()` overload"]
117    pub fn get_volume_depth(&mut self) -> i32 {
118        unsafe {
119            ::unity::il2cpp_call!((::unity::module_base()+0x2f87af0usize)as*mut u8,i32;
120(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
121        }
122    }
123
124    #[doc = "`set_volumeDepth(i32)` overload"]
125    pub fn set_volume_depth(&mut self, value: impl ::core::convert::Into<i32>) -> () {
126        unsafe {
127            ::unity::il2cpp_call!((::unity::module_base()+0x2f87b00usize)as*mut u8,();
128(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(i32)::core::convert::Into::into(value))
129        }
130    }
131
132    #[doc = "`get_mipCount()` overload"]
133    pub fn get_mip_count(&mut self) -> i32 {
134        unsafe {
135            ::unity::il2cpp_call!((::unity::module_base()+0x2f87b10usize)as*mut u8,i32;
136(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
137        }
138    }
139
140    #[doc = "`set_mipCount(i32)` overload"]
141    pub fn set_mip_count(&mut self, value: impl ::core::convert::Into<i32>) -> () {
142        unsafe {
143            ::unity::il2cpp_call!((::unity::module_base()+0x2f87b20usize)as*mut u8,();
144(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(i32)::core::convert::Into::into(value))
145        }
146    }
147
148    #[doc = "`get_graphicsFormat()` overload"]
149    pub fn get_graphics_format(&mut self) -> crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat {
150        unsafe {
151            ::unity::il2cpp_call!((::unity::module_base()+0x2f87160usize)as*mut u8,crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat;
152(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
153        }
154    }
155
156    #[doc = "`set_graphicsFormat(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)` overload"]
157    pub fn set_graphics_format(
158        &mut self,
159        value: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
160    ) -> () {
161        unsafe {
162            ::unity::il2cpp_call!((::unity::module_base()+0x2f87b30usize)as*mut u8,();
163(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(value))
164        }
165    }
166
167    #[doc = "`set_stencilFormat(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)` overload"]
168    pub fn set_stencil_format(
169        &mut self,
170        value: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
171    ) -> () {
172        unsafe {
173            ::unity::il2cpp_call!((::unity::module_base()+0x2f87ba0usize)as*mut u8,();
174(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(value))
175        }
176    }
177
178    #[doc = "`get_colorFormat()` overload"]
179    pub fn get_color_format(&mut self) -> crate::unity_engine::rendertextureformat::RenderTextureFormat {
180        unsafe {
181            ::unity::il2cpp_call!((::unity::module_base()+0x2f87bb0usize)as*mut u8,crate::unity_engine::rendertextureformat::RenderTextureFormat;
182(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
183        }
184    }
185
186    #[doc = "`set_colorFormat(crate::unity_engine::rendertextureformat::RenderTextureFormat)` overload"]
187    pub fn set_color_format(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>) -> () {
188        unsafe {
189            ::unity::il2cpp_call!((::unity::module_base()+0x2f87bc0usize)as*mut u8,();
190(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(value))
191        }
192    }
193
194    #[doc = "`get_sRGB()` overload"]
195    pub fn get_s_rgb(&mut self) -> bool {
196        unsafe {
197            ::unity::il2cpp_call!((::unity::module_base()+0x2f87c30usize)as*mut u8,bool;
198(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
199        }
200    }
201
202    #[doc = "`set_sRGB(bool)` overload"]
203    pub fn set_s_rgb(&mut self, value: impl ::core::convert::Into<bool>) -> () {
204        unsafe {
205            ::unity::il2cpp_call!((::unity::module_base()+0x2f87c40usize)as*mut u8,();
206(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(bool)::core::convert::Into::into(value))
207        }
208    }
209
210    #[doc = "`get_depthBufferBits()` overload"]
211    pub fn get_depth_buffer_bits(&mut self) -> i32 {
212        unsafe {
213            ::unity::il2cpp_call!((::unity::module_base()+0x2f87170usize)as*mut u8,i32;
214(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
215        }
216    }
217
218    #[doc = "`set_depthBufferBits(i32)` overload"]
219    pub fn set_depth_buffer_bits(&mut self, value: impl ::core::convert::Into<i32>) -> () {
220        unsafe {
221            ::unity::il2cpp_call!((::unity::module_base()+0x2f87ca0usize)as*mut u8,();
222(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(i32)::core::convert::Into::into(value))
223        }
224    }
225
226    #[doc = "`get_dimension()` overload"]
227    pub fn get_dimension(&mut self) -> crate::unity_engine::rendering::texturedimension::TextureDimension {
228        unsafe {
229            ::unity::il2cpp_call!((::unity::module_base()+0x2f87cd0usize)as*mut u8,crate::unity_engine::rendering::texturedimension::TextureDimension;
230(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
231        }
232    }
233
234    #[doc = "`set_dimension(crate::unity_engine::rendering::texturedimension::TextureDimension)` overload"]
235    pub fn set_dimension(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::texturedimension::TextureDimension>) -> () {
236        unsafe {
237            ::unity::il2cpp_call!((::unity::module_base()+0x2f87ce0usize)as*mut u8,();
238(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(crate::unity_engine::rendering::texturedimension::TextureDimension)::core::convert::Into::into(value))
239        }
240    }
241
242    #[doc = "`set_shadowSamplingMode(crate::unity_engine::rendering::shadowsamplingmode::ShadowSamplingMode)` overload"]
243    pub fn set_shadow_sampling_mode(
244        &mut self,
245        value: impl ::core::convert::Into<crate::unity_engine::rendering::shadowsamplingmode::ShadowSamplingMode>,
246    ) -> () {
247        unsafe {
248            ::unity::il2cpp_call!((::unity::module_base()+0x2f87cf0usize)as*mut u8,();
249(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(crate::unity_engine::rendering::shadowsamplingmode::ShadowSamplingMode)::core::convert::Into::into(value))
250        }
251    }
252
253    #[doc = "`get_vrUsage()` overload"]
254    pub fn get_vr_usage(&mut self) -> crate::unity_engine::vrtextureusage::VRTextureUsage {
255        unsafe {
256            ::unity::il2cpp_call!((::unity::module_base()+0x2f87d00usize)as*mut u8,crate::unity_engine::vrtextureusage::VRTextureUsage;
257(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
258        }
259    }
260
261    #[doc = "`set_vrUsage(crate::unity_engine::vrtextureusage::VRTextureUsage)` overload"]
262    pub fn set_vr_usage(&mut self, value: impl ::core::convert::Into<crate::unity_engine::vrtextureusage::VRTextureUsage>) -> () {
263        unsafe {
264            ::unity::il2cpp_call!((::unity::module_base()+0x2f87d10usize)as*mut u8,();
265(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(crate::unity_engine::vrtextureusage::VRTextureUsage)::core::convert::Into::into(value))
266        }
267    }
268
269    #[doc = "`set_memoryless(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)` overload"]
270    pub fn set_memoryless(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>) -> () {
271        unsafe {
272            ::unity::il2cpp_call!((::unity::module_base()+0x2f87d20usize)as*mut u8,();
273(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(value))
274        }
275    }
276
277    #[doc = "`.ctor(i32, i32)` overload"]
278    pub fn ctor(&mut self, width: impl ::core::convert::Into<i32>, height: impl ::core::convert::Into<i32>) -> () {
279        unsafe {
280            ::unity::il2cpp_call!((::unity::module_base()+0x2f87d30usize)as*mut u8,();
281(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height))
282        }
283    }
284
285    #[doc = "`.ctor(i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32)` overload"]
286    pub fn ctor_2(
287        &mut self,
288        width: impl ::core::convert::Into<i32>,
289        height: impl ::core::convert::Into<i32>,
290        color_format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
291        depth_buffer_bits: impl ::core::convert::Into<i32>,
292    ) -> () {
293        unsafe {
294            ::unity::il2cpp_call!((::unity::module_base()+0x2f87440usize)as*mut u8,();
295(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(color_format),(i32)::core::convert::Into::into(depth_buffer_bits))
296        }
297    }
298
299    #[doc = "`.ctor(i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, i32, i32)` overload"]
300    pub fn ctor_3(
301        &mut self,
302        width: impl ::core::convert::Into<i32>,
303        height: impl ::core::convert::Into<i32>,
304        color_format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
305        depth_buffer_bits: impl ::core::convert::Into<i32>,
306        mip_count: impl ::core::convert::Into<i32>,
307    ) -> () {
308        unsafe {
309            ::unity::il2cpp_call!((::unity::module_base()+0x2f87e20usize)as*mut u8,();
310(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(color_format),(i32)::core::convert::Into::into(depth_buffer_bits),(i32)::core::convert::Into::into(mip_count))
311        }
312    }
313
314    #[doc = "`.ctor(i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, i32)` overload"]
315    pub fn ctor_4(
316        &mut self,
317        width: impl ::core::convert::Into<i32>,
318        height: impl ::core::convert::Into<i32>,
319        color_format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
320        depth_buffer_bits: impl ::core::convert::Into<i32>,
321        mip_count: impl ::core::convert::Into<i32>,
322    ) -> () {
323        unsafe {
324            ::unity::il2cpp_call!((::unity::module_base()+0x2f86d50usize)as*mut u8,();
325(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(color_format),(i32)::core::convert::Into::into(depth_buffer_bits),(i32)::core::convert::Into::into(mip_count))
326        }
327    }
328
329    #[doc = "`SetOrClearRenderTextureCreationFlag(bool, crate::unity_engine::rendertexturecreationflags::RenderTextureCreationFlags)` overload"]
330    pub fn set_or_clear_render_texture_creation_flag(
331        &mut self,
332        value: impl ::core::convert::Into<bool>,
333        flag: impl ::core::convert::Into<crate::unity_engine::rendertexturecreationflags::RenderTextureCreationFlags>,
334    ) -> () {
335        unsafe {
336            ::unity::il2cpp_call!((::unity::module_base()+0x2f87b80usize)as*mut u8,();
337(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(bool)::core::convert::Into::into(value),(crate::unity_engine::rendertexturecreationflags::RenderTextureCreationFlags)::core::convert::Into::into(flag))
338        }
339    }
340
341    #[doc = "`set_useMipMap(bool)` overload"]
342    pub fn set_use_mip_map(&mut self, value: impl ::core::convert::Into<bool>) -> () {
343        unsafe {
344            ::unity::il2cpp_call!((::unity::module_base()+0x2f87f00usize)as*mut u8,();
345(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(bool)::core::convert::Into::into(value))
346        }
347    }
348
349    #[doc = "`set_autoGenerateMips(bool)` overload"]
350    pub fn set_auto_generate_mips(&mut self, value: impl ::core::convert::Into<bool>) -> () {
351        unsafe {
352            ::unity::il2cpp_call!((::unity::module_base()+0x2f87f20usize)as*mut u8,();
353(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(bool)::core::convert::Into::into(value))
354        }
355    }
356
357    #[doc = "`set_enableRandomWrite(bool)` overload"]
358    pub fn set_enable_random_write(&mut self, value: impl ::core::convert::Into<bool>) -> () {
359        unsafe {
360            ::unity::il2cpp_call!((::unity::module_base()+0x2f87f40usize)as*mut u8,();
361(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(bool)::core::convert::Into::into(value))
362        }
363    }
364
365    #[doc = "`set_bindMS(bool)` overload"]
366    pub fn set_bind_ms(&mut self, value: impl ::core::convert::Into<bool>) -> () {
367        unsafe {
368            ::unity::il2cpp_call!((::unity::module_base()+0x2f87f60usize)as*mut u8,();
369(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(bool)::core::convert::Into::into(value))
370        }
371    }
372
373    #[doc = "`set_createdFromScript(bool)` overload"]
374    pub fn set_created_from_script(&mut self, value: impl ::core::convert::Into<bool>) -> () {
375        unsafe {
376            ::unity::il2cpp_call!((::unity::module_base()+0x2f872c0usize)as*mut u8,();
377(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(bool)::core::convert::Into::into(value))
378        }
379    }
380
381    #[doc = "`get_useDynamicScale()` overload"]
382    pub fn get_use_dynamic_scale(&mut self) -> bool {
383        unsafe {
384            ::unity::il2cpp_call!((::unity::module_base()+0x2f87f80usize)as*mut u8,bool;
385(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor)
386        }
387    }
388
389    #[doc = "`set_useDynamicScale(bool)` overload"]
390    pub fn set_use_dynamic_scale(&mut self, value: impl ::core::convert::Into<bool>) -> () {
391        unsafe {
392            ::unity::il2cpp_call!((::unity::module_base()+0x2f87550usize)as*mut u8,();
393(*mut RenderTextureDescriptor)self as*mut RenderTextureDescriptor,(bool)::core::convert::Into::into(value))
394        }
395    }
396}
397
398#[cfg(feature = "unity_engine-rendertexturedescriptor")]
399impl RenderTextureDescriptor {
400    pub fn get_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
401        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
402    }
403
404    pub fn set_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
405        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
406    }
407
408    pub fn get_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
409        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
410    }
411
412    pub fn set_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
413        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
414    }
415
416    pub fn get_msaa_samples_method_info() -> &'static ::unity::il2cpp::MethodInfo {
417        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
418    }
419
420    pub fn set_msaa_samples_method_info() -> &'static ::unity::il2cpp::MethodInfo {
421        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
422    }
423
424    pub fn get_volume_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
425        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
426    }
427
428    pub fn set_volume_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
429        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
430    }
431
432    pub fn get_mip_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
433        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
434    }
435
436    pub fn set_mip_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
437        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
438    }
439
440    pub fn get_graphics_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
441        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
442    }
443
444    pub fn set_graphics_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
445        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
446    }
447
448    pub fn set_stencil_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
449        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
450    }
451
452    pub fn get_color_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
453        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
454    }
455
456    pub fn set_color_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
457        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
458    }
459
460    pub fn get_s_rgb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
461        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
462    }
463
464    pub fn set_s_rgb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
465        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
466    }
467
468    pub fn get_depth_buffer_bits_method_info() -> &'static ::unity::il2cpp::MethodInfo {
469        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
470    }
471
472    pub fn set_depth_buffer_bits_method_info() -> &'static ::unity::il2cpp::MethodInfo {
473        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
474    }
475
476    pub fn get_dimension_method_info() -> &'static ::unity::il2cpp::MethodInfo {
477        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
478    }
479
480    pub fn set_dimension_method_info() -> &'static ::unity::il2cpp::MethodInfo {
481        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
482    }
483
484    pub fn set_shadow_sampling_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
485        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
486    }
487
488    pub fn get_vr_usage_method_info() -> &'static ::unity::il2cpp::MethodInfo {
489        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
490    }
491
492    pub fn set_vr_usage_method_info() -> &'static ::unity::il2cpp::MethodInfo {
493        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
494    }
495
496    pub fn set_memoryless_method_info() -> &'static ::unity::il2cpp::MethodInfo {
497        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
498    }
499
500    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
501        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
502    }
503
504    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
505        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
506    }
507
508    pub fn ctor_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
509        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
510    }
511
512    pub fn ctor_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
513        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
514    }
515
516    pub fn set_or_clear_render_texture_creation_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
517        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
518    }
519
520    pub fn set_use_mip_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
521        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
522    }
523
524    pub fn set_auto_generate_mips_method_info() -> &'static ::unity::il2cpp::MethodInfo {
525        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
526    }
527
528    pub fn set_enable_random_write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
529        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
530    }
531
532    pub fn set_bind_ms_method_info() -> &'static ::unity::il2cpp::MethodInfo {
533        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
534    }
535
536    pub fn set_created_from_script_method_info() -> &'static ::unity::il2cpp::MethodInfo {
537        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
538    }
539
540    pub fn get_use_dynamic_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
541        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
542    }
543
544    pub fn set_use_dynamic_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
545        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
546    }
547
548    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
549        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
550    }
551}
552
553#[cfg(feature = "unity_engine-rendertexturedescriptor")]
554#[doc(hidden)]
555pub mod prelude {
556    pub use super::RenderTextureDescriptor;
557    #[cfg(feature = "system-object")]
558    pub use crate::system::object::IObjectMethods;
559    #[cfg(feature = "system-valuetype")]
560    pub use crate::system::valuetype::IValueTypeMethods;
561    pub use crate::system::{object::IObject, valuetype::IValueType};
562}