Skip to main content

engage/generated/unity_engine/
rendertexture.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendertexture-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            object_2::{IObject_2, Object_2},
12            texture::{ITexture, Texture},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendertexture/RenderTexture.md"))]
17    #[::unity::class(namespace = "UnityEngine", name = "RenderTexture")]
18    #[parent(crate::unity_engine::texture::Texture)]
19    pub struct RenderTexture {}
20}
21
22#[cfg(feature = "unity_engine-rendertexture-types")]
23pub use __types::*;
24
25#[cfg(feature = "unity_engine-rendertexture")]
26impl RenderTexture {
27    #[doc = "`GetActive()` overload"]
28    pub fn get_active() -> crate::unity_engine::rendertexture::RenderTexture {
29        unsafe {
30            ::unity::il2cpp_call!((::unity::module_base()+0x2f854c0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
31            )
32        }
33    }
34
35    #[doc = "`SetActive(crate::unity_engine::rendertexture::RenderTexture)` overload"]
36    pub fn set_active(rt: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>) -> () {
37        unsafe {
38            ::unity::il2cpp_call!((::unity::module_base()+0x2f85500usize)as*mut u8,();
39(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(rt))
40        }
41    }
42
43    #[doc = "`Internal_Create(crate::unity_engine::rendertexture::RenderTexture)` overload"]
44    pub fn internal_create(rt: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>) -> () {
45        unsafe {
46            ::unity::il2cpp_call!((::unity::module_base()+0x2f85cd0usize)as*mut u8,();
47(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(rt))
48        }
49    }
50
51    #[doc = "`SupportsStencil(crate::unity_engine::rendertexture::RenderTexture)` overload"]
52    pub fn supports_stencil(rt: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>) -> bool {
53        unsafe {
54            ::unity::il2cpp_call!((::unity::module_base()+0x2f85d20usize)as*mut u8,bool;
55(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(rt))
56        }
57    }
58
59    #[doc = "`GetTemporary_Internal(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
60    pub fn get_temporary_internal(
61        desc: impl ::core::convert::Into<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>,
62    ) -> crate::unity_engine::rendertexture::RenderTexture {
63        unsafe {
64            ::unity::il2cpp_call!((::unity::module_base()+0x2f85ef0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
65(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)::core::convert::Into::into(desc))
66        }
67    }
68
69    #[doc = "`ReleaseTemporary(crate::unity_engine::rendertexture::RenderTexture)` overload"]
70    pub fn release_temporary(temp: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>) -> () {
71        unsafe {
72            ::unity::il2cpp_call!((::unity::module_base()+0x2f85f90usize)as*mut u8,();
73(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(temp))
74        }
75    }
76
77    #[doc = "`ValidateRenderTextureDesc(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
78    pub fn validate_render_texture_desc(
79        desc: impl ::core::convert::Into<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>,
80    ) -> () {
81        unsafe {
82            ::unity::il2cpp_call!((::unity::module_base()+0x2f86220usize)as*mut u8,();
83(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)::core::convert::Into::into(desc))
84        }
85    }
86
87    #[doc = "`GetCompatibleFormat(crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)` overload"]
88    pub fn get_compatible_format(
89        render_texture_format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
90        read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
91    ) -> crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat {
92        unsafe {
93            ::unity::il2cpp_call!((::unity::module_base()+0x2f86f00usize)as*mut u8,crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat;
94(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(render_texture_format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write))
95        }
96    }
97
98    #[doc = "`GetTemporary(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
99    pub fn get_temporary(
100        desc: impl ::core::convert::Into<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>,
101    ) -> crate::unity_engine::rendertexture::RenderTexture {
102        unsafe {
103            ::unity::il2cpp_call!((::unity::module_base()+0x2f87210usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
104(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)::core::convert::Into::into(desc))
105        }
106    }
107
108    #[doc = "`GetTemporaryImpl(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, crate::unity_engine::vrtextureusage::VRTextureUsage, bool)` overload"]
109    pub fn get_temporary_impl(
110        width: impl ::core::convert::Into<i32>,
111        height: impl ::core::convert::Into<i32>,
112        depth_buffer: impl ::core::convert::Into<i32>,
113        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
114        anti_aliasing: impl ::core::convert::Into<i32>,
115        memoryless_mode: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>,
116        vr_usage: impl ::core::convert::Into<crate::unity_engine::vrtextureusage::VRTextureUsage>,
117        use_dynamic_scale: impl ::core::convert::Into<bool>,
118    ) -> crate::unity_engine::rendertexture::RenderTexture {
119        unsafe {
120            ::unity::il2cpp_call!((::unity::module_base()+0x2f872e0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
121(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(format),(i32)::core::convert::Into::into(anti_aliasing),(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(memoryless_mode),(crate::unity_engine::vrtextureusage::VRTextureUsage)::core::convert::Into::into(vr_usage),(bool)::core::convert::Into::into(use_dynamic_scale))
122        }
123    }
124
125    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, crate::unity_engine::vrtextureusage::VRTextureUsage, bool)` overload"]
126    pub fn get_temporary_2(
127        width: impl ::core::convert::Into<i32>,
128        height: impl ::core::convert::Into<i32>,
129        depth_buffer: impl ::core::convert::Into<i32>,
130        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
131        anti_aliasing: impl ::core::convert::Into<i32>,
132        memoryless_mode: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>,
133        vr_usage: impl ::core::convert::Into<crate::unity_engine::vrtextureusage::VRTextureUsage>,
134        use_dynamic_scale: impl ::core::convert::Into<bool>,
135    ) -> crate::unity_engine::rendertexture::RenderTexture {
136        unsafe {
137            ::unity::il2cpp_call!((::unity::module_base()+0x2f87570usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
138(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(format),(i32)::core::convert::Into::into(anti_aliasing),(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(memoryless_mode),(crate::unity_engine::vrtextureusage::VRTextureUsage)::core::convert::Into::into(vr_usage),(bool)::core::convert::Into::into(use_dynamic_scale))
139        }
140    }
141
142    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, crate::unity_engine::vrtextureusage::VRTextureUsage)` overload"]
143    pub fn get_temporary_3(
144        width: impl ::core::convert::Into<i32>,
145        height: impl ::core::convert::Into<i32>,
146        depth_buffer: impl ::core::convert::Into<i32>,
147        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
148        anti_aliasing: impl ::core::convert::Into<i32>,
149        memoryless_mode: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>,
150        vr_usage: impl ::core::convert::Into<crate::unity_engine::vrtextureusage::VRTextureUsage>,
151    ) -> crate::unity_engine::rendertexture::RenderTexture {
152        unsafe {
153            ::unity::il2cpp_call!((::unity::module_base()+0x2f87580usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
154(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(format),(i32)::core::convert::Into::into(anti_aliasing),(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(memoryless_mode),(crate::unity_engine::vrtextureusage::VRTextureUsage)::core::convert::Into::into(vr_usage))
155        }
156    }
157
158    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)` overload"]
159    pub fn get_temporary_4(
160        width: impl ::core::convert::Into<i32>,
161        height: impl ::core::convert::Into<i32>,
162        depth_buffer: impl ::core::convert::Into<i32>,
163        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
164        anti_aliasing: impl ::core::convert::Into<i32>,
165        memoryless_mode: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>,
166    ) -> crate::unity_engine::rendertexture::RenderTexture {
167        unsafe {
168            ::unity::il2cpp_call!((::unity::module_base()+0x2f875a0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
169(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(format),(i32)::core::convert::Into::into(anti_aliasing),(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(memoryless_mode))
170        }
171    }
172
173    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32)` overload"]
174    pub fn get_temporary_5(
175        width: impl ::core::convert::Into<i32>,
176        height: impl ::core::convert::Into<i32>,
177        depth_buffer: impl ::core::convert::Into<i32>,
178        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
179        anti_aliasing: impl ::core::convert::Into<i32>,
180    ) -> crate::unity_engine::rendertexture::RenderTexture {
181        unsafe {
182            ::unity::il2cpp_call!((::unity::module_base()+0x2f875d0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
183(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(format),(i32)::core::convert::Into::into(anti_aliasing))
184        }
185    }
186
187    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)` overload"]
188    pub fn get_temporary_6(
189        width: impl ::core::convert::Into<i32>,
190        height: impl ::core::convert::Into<i32>,
191        depth_buffer: impl ::core::convert::Into<i32>,
192        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
193    ) -> crate::unity_engine::rendertexture::RenderTexture {
194        unsafe {
195            ::unity::il2cpp_call!((::unity::module_base()+0x2f87600usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
196(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(format))
197        }
198    }
199
200    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, crate::unity_engine::vrtextureusage::VRTextureUsage, bool)` overload"]
201    pub fn get_temporary_7(
202        width: impl ::core::convert::Into<i32>,
203        height: impl ::core::convert::Into<i32>,
204        depth_buffer: impl ::core::convert::Into<i32>,
205        format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
206        read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
207        anti_aliasing: impl ::core::convert::Into<i32>,
208        memoryless_mode: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>,
209        vr_usage: impl ::core::convert::Into<crate::unity_engine::vrtextureusage::VRTextureUsage>,
210        use_dynamic_scale: impl ::core::convert::Into<bool>,
211    ) -> crate::unity_engine::rendertexture::RenderTexture {
212        unsafe {
213            ::unity::il2cpp_call!((::unity::module_base()+0x2f87630usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
214(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write),(i32)::core::convert::Into::into(anti_aliasing),(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(memoryless_mode),(crate::unity_engine::vrtextureusage::VRTextureUsage)::core::convert::Into::into(vr_usage),(bool)::core::convert::Into::into(use_dynamic_scale))
215        }
216    }
217
218    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, crate::unity_engine::vrtextureusage::VRTextureUsage)` overload"]
219    pub fn get_temporary_8(
220        width: impl ::core::convert::Into<i32>,
221        height: impl ::core::convert::Into<i32>,
222        depth_buffer: impl ::core::convert::Into<i32>,
223        format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
224        read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
225        anti_aliasing: impl ::core::convert::Into<i32>,
226        memoryless_mode: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>,
227        vr_usage: impl ::core::convert::Into<crate::unity_engine::vrtextureusage::VRTextureUsage>,
228    ) -> crate::unity_engine::rendertexture::RenderTexture {
229        unsafe {
230            ::unity::il2cpp_call!((::unity::module_base()+0x2f876b0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
231(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write),(i32)::core::convert::Into::into(anti_aliasing),(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(memoryless_mode),(crate::unity_engine::vrtextureusage::VRTextureUsage)::core::convert::Into::into(vr_usage))
232        }
233    }
234
235    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)` overload"]
236    pub fn get_temporary_9(
237        width: impl ::core::convert::Into<i32>,
238        height: impl ::core::convert::Into<i32>,
239        depth_buffer: impl ::core::convert::Into<i32>,
240        format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
241        read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
242        anti_aliasing: impl ::core::convert::Into<i32>,
243        memoryless_mode: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>,
244    ) -> crate::unity_engine::rendertexture::RenderTexture {
245        unsafe {
246            ::unity::il2cpp_call!((::unity::module_base()+0x2f87720usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
247(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write),(i32)::core::convert::Into::into(anti_aliasing),(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(memoryless_mode))
248        }
249    }
250
251    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32)` overload"]
252    pub fn get_temporary_10(
253        width: impl ::core::convert::Into<i32>,
254        height: impl ::core::convert::Into<i32>,
255        depth_buffer: impl ::core::convert::Into<i32>,
256        format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
257        read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
258        anti_aliasing: impl ::core::convert::Into<i32>,
259    ) -> crate::unity_engine::rendertexture::RenderTexture {
260        unsafe {
261            ::unity::il2cpp_call!((::unity::module_base()+0x2f877a0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
262(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write),(i32)::core::convert::Into::into(anti_aliasing))
263        }
264    }
265
266    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)` overload"]
267    pub fn get_temporary_11(
268        width: impl ::core::convert::Into<i32>,
269        height: impl ::core::convert::Into<i32>,
270        depth_buffer: impl ::core::convert::Into<i32>,
271        format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
272        read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
273    ) -> crate::unity_engine::rendertexture::RenderTexture {
274        unsafe {
275            ::unity::il2cpp_call!((::unity::module_base()+0x2f87810usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
276(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write))
277        }
278    }
279
280    #[doc = "`GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat)` overload"]
281    pub fn get_temporary_12(
282        width: impl ::core::convert::Into<i32>,
283        height: impl ::core::convert::Into<i32>,
284        depth_buffer: impl ::core::convert::Into<i32>,
285        format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
286    ) -> crate::unity_engine::rendertexture::RenderTexture {
287        unsafe {
288            ::unity::il2cpp_call!((::unity::module_base()+0x2f87880usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
289(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format))
290        }
291    }
292
293    #[doc = "`GetTemporary(i32, i32, i32)` overload"]
294    pub fn get_temporary_13(
295        width: impl ::core::convert::Into<i32>,
296        height: impl ::core::convert::Into<i32>,
297        depth_buffer: impl ::core::convert::Into<i32>,
298    ) -> crate::unity_engine::rendertexture::RenderTexture {
299        unsafe {
300            ::unity::il2cpp_call!((::unity::module_base()+0x2f878f0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
301(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer))
302        }
303    }
304
305    #[doc = "`GetTemporary(i32, i32)` overload"]
306    pub fn get_temporary_14(
307        width: impl ::core::convert::Into<i32>,
308        height: impl ::core::convert::Into<i32>,
309    ) -> crate::unity_engine::rendertexture::RenderTexture {
310        unsafe {
311            ::unity::il2cpp_call!((::unity::module_base()+0x2f87960usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
312(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height))
313        }
314    }
315
316    #[doc = "`get_enabled()` overload"]
317    pub fn get_enabled() -> bool {
318        unsafe {
319            ::unity::il2cpp_call!((::unity::module_base()+0x2f87a60usize)as*mut u8,bool;
320            )
321        }
322    }
323
324    #[doc = "`set_enabled(bool)` overload"]
325    pub fn set_enabled(value: impl ::core::convert::Into<bool>) -> () {
326        unsafe {
327            ::unity::il2cpp_call!((::unity::module_base()+0x2f87a70usize)as*mut u8,();
328(bool)::core::convert::Into::into(value))
329        }
330    }
331
332    #[doc = "`GetTemporary_Internal_Injected(*mutcrate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
333    pub fn get_temporary_internal_injected() -> (
334        crate::unity_engine::rendertexture::RenderTexture,
335        crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor,
336    ) {
337        unsafe {
338            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>::uninit();
339            let __ret = {
340                ::unity::il2cpp_call!((::unity::module_base()+0x2f85f40usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
341(*mut crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)__out_0.as_mut_ptr())
342            };
343            (__ret, __out_0.assume_init())
344        }
345    }
346}
347
348#[cfg(feature = "unity_engine-rendertexture")]
349pub trait IRenderTextureMethods: IRenderTexture {
350    #[doc = "`get_width()` overload"]
351    fn get_width(self) -> i32 {
352        unsafe {
353            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
354            {
355                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
356                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
357                    panic!(
358                        "unity: virtual slot {}
359 out of range (vtable len {}
360) on the runtime class behind {}
361 (method `{}
362`)",
363                        5usize,
364                        __vt.len(),
365                        <RenderTexture as ::unity::ClassIdentity>::NAME,
366                        "get_width",
367                    )
368                });
369                let __inner: extern "C" fn(RenderTexture, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
370                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
371                __inner(__receiver, __mi)
372            }
373        }
374    }
375    #[doc = "`set_width(i32)` overload"]
376    fn set_width(self, value: impl ::core::convert::Into<i32>) -> () {
377        unsafe {
378            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
379            {
380                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
381                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
382                    panic!(
383                        "unity: virtual slot {}
384 out of range (vtable len {}
385) on the runtime class behind {}
386 (method `{}
387`)",
388                        6usize,
389                        __vt.len(),
390                        <RenderTexture as ::unity::ClassIdentity>::NAME,
391                        "set_width",
392                    )
393                });
394                let __inner: extern "C" fn(RenderTexture, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
395                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
396                __inner(__receiver, ::core::convert::Into::into(value), __mi)
397            }
398        }
399    }
400    #[doc = "`get_height()` overload"]
401    fn get_height(self) -> i32 {
402        unsafe {
403            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
404            {
405                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
406                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
407                    panic!(
408                        "unity: virtual slot {}
409 out of range (vtable len {}
410) on the runtime class behind {}
411 (method `{}
412`)",
413                        7usize,
414                        __vt.len(),
415                        <RenderTexture as ::unity::ClassIdentity>::NAME,
416                        "get_height",
417                    )
418                });
419                let __inner: extern "C" fn(RenderTexture, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
420                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
421                __inner(__receiver, __mi)
422            }
423        }
424    }
425    #[doc = "`set_height(i32)` overload"]
426    fn set_height(self, value: impl ::core::convert::Into<i32>) -> () {
427        unsafe {
428            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
429            {
430                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
431                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
432                    panic!(
433                        "unity: virtual slot {}
434 out of range (vtable len {}
435) on the runtime class behind {}
436 (method `{}
437`)",
438                        8usize,
439                        __vt.len(),
440                        <RenderTexture as ::unity::ClassIdentity>::NAME,
441                        "set_height",
442                    )
443                });
444                let __inner: extern "C" fn(RenderTexture, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
445                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
446                __inner(__receiver, ::core::convert::Into::into(value), __mi)
447            }
448        }
449    }
450    #[doc = "`get_dimension()` overload"]
451    fn get_dimension(self) -> crate::unity_engine::rendering::texturedimension::TextureDimension {
452        unsafe {
453            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
454            {
455                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
456                let __vi = *__vt.get(9usize).unwrap_or_else(|| {
457                    panic!(
458                        "unity: virtual slot {}
459 out of range (vtable len {}
460) on the runtime class behind {}
461 (method `{}
462`)",
463                        9usize,
464                        __vt.len(),
465                        <RenderTexture as ::unity::ClassIdentity>::NAME,
466                        "get_dimension",
467                    )
468                });
469                let __inner: extern "C" fn(
470                    RenderTexture,
471                    ::unity::OptionalMethod,
472                ) -> crate::unity_engine::rendering::texturedimension::TextureDimension = ::core::mem::transmute(__vi.method_ptr);
473                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
474                __inner(__receiver, __mi)
475            }
476        }
477    }
478    #[doc = "`set_dimension(crate::unity_engine::rendering::texturedimension::TextureDimension)` overload"]
479    fn set_dimension(self, value: impl ::core::convert::Into<crate::unity_engine::rendering::texturedimension::TextureDimension>) -> () {
480        unsafe {
481            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
482            {
483                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
484                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
485                    panic!(
486                        "unity: virtual slot {}
487 out of range (vtable len {}
488) on the runtime class behind {}
489 (method `{}
490`)",
491                        10usize,
492                        __vt.len(),
493                        <RenderTexture as ::unity::ClassIdentity>::NAME,
494                        "set_dimension",
495                    )
496                });
497                let __inner: extern "C" fn(
498                    RenderTexture,
499                    crate::unity_engine::rendering::texturedimension::TextureDimension,
500                    ::unity::OptionalMethod,
501                ) -> () = ::core::mem::transmute(__vi.method_ptr);
502                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
503                __inner(__receiver, ::core::convert::Into::into(value), __mi)
504            }
505        }
506    }
507    #[doc = "`get_graphicsFormat()` overload"]
508    fn get_graphics_format(self) -> crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat {
509        unsafe {
510            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
511            ::unity::il2cpp_call!((::unity::module_base()+0x2f84c00usize)as*mut u8,crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat;
512(RenderTexture)__receiver)
513        }
514    }
515    #[doc = "`set_graphicsFormat(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)` overload"]
516    fn set_graphics_format(
517        self,
518        value: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
519    ) -> () {
520        unsafe {
521            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
522            ::unity::il2cpp_call!((::unity::module_base()+0x2f84c50usize)as*mut u8,();
523(RenderTexture)__receiver,(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(value))
524        }
525    }
526    #[doc = "`get_useMipMap()` overload"]
527    fn get_use_mip_map(self) -> bool {
528        unsafe {
529            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
530            ::unity::il2cpp_call!((::unity::module_base()+0x2f84ca0usize)as*mut u8,bool;
531(RenderTexture)__receiver)
532        }
533    }
534    #[doc = "`set_useMipMap(bool)` overload"]
535    fn set_use_mip_map(self, value: impl ::core::convert::Into<bool>) -> () {
536        unsafe {
537            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
538            ::unity::il2cpp_call!((::unity::module_base()+0x2f84cf0usize)as*mut u8,();
539(RenderTexture)__receiver,(bool)::core::convert::Into::into(value))
540        }
541    }
542    #[doc = "`get_sRGB()` overload"]
543    fn get_s_rgb(self) -> bool {
544        unsafe {
545            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
546            ::unity::il2cpp_call!((::unity::module_base()+0x2f84d40usize)as*mut u8,bool;
547(RenderTexture)__receiver)
548        }
549    }
550    #[doc = "`get_vrUsage()` overload"]
551    fn get_vr_usage(self) -> crate::unity_engine::vrtextureusage::VRTextureUsage {
552        unsafe {
553            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
554            ::unity::il2cpp_call!((::unity::module_base()+0x2f84d90usize)as*mut u8,crate::unity_engine::vrtextureusage::VRTextureUsage;
555(RenderTexture)__receiver)
556        }
557    }
558    #[doc = "`set_vrUsage(crate::unity_engine::vrtextureusage::VRTextureUsage)` overload"]
559    fn set_vr_usage(self, value: impl ::core::convert::Into<crate::unity_engine::vrtextureusage::VRTextureUsage>) -> () {
560        unsafe {
561            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
562            ::unity::il2cpp_call!((::unity::module_base()+0x2f84de0usize)as*mut u8,();
563(RenderTexture)__receiver,(crate::unity_engine::vrtextureusage::VRTextureUsage)::core::convert::Into::into(value))
564        }
565    }
566    #[doc = "`get_memorylessMode()` overload"]
567    fn get_memoryless_mode(self) -> crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless {
568        unsafe {
569            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
570            ::unity::il2cpp_call!((::unity::module_base()+0x2f84e30usize)as*mut u8,crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless;
571(RenderTexture)__receiver)
572        }
573    }
574    #[doc = "`set_memorylessMode(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)` overload"]
575    fn set_memoryless_mode(self, value: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>) -> () {
576        unsafe {
577            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
578            ::unity::il2cpp_call!((::unity::module_base()+0x2f84e80usize)as*mut u8,();
579(RenderTexture)__receiver,(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(value))
580        }
581    }
582    #[doc = "`get_format()` overload"]
583    fn get_format(self) -> crate::unity_engine::rendertextureformat::RenderTextureFormat {
584        unsafe {
585            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
586            ::unity::il2cpp_call!((::unity::module_base()+0x2f84ed0usize)as*mut u8,crate::unity_engine::rendertextureformat::RenderTextureFormat;
587(RenderTexture)__receiver)
588        }
589    }
590    #[doc = "`set_format(crate::unity_engine::rendertextureformat::RenderTextureFormat)` overload"]
591    fn set_format(self, value: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>) -> () {
592        unsafe {
593            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
594            ::unity::il2cpp_call!((::unity::module_base()+0x2f84f20usize)as*mut u8,();
595(RenderTexture)__receiver,(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(value))
596        }
597    }
598    #[doc = "`get_stencilFormat()` overload"]
599    fn get_stencil_format(self) -> crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat {
600        unsafe {
601            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
602            ::unity::il2cpp_call!((::unity::module_base()+0x2f84fb0usize)as*mut u8,crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat;
603(RenderTexture)__receiver)
604        }
605    }
606    #[doc = "`set_stencilFormat(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)` overload"]
607    fn set_stencil_format(
608        self,
609        value: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
610    ) -> () {
611        unsafe {
612            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
613            ::unity::il2cpp_call!((::unity::module_base()+0x2f85000usize)as*mut u8,();
614(RenderTexture)__receiver,(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(value))
615        }
616    }
617    #[doc = "`get_autoGenerateMips()` overload"]
618    fn get_auto_generate_mips(self) -> bool {
619        unsafe {
620            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
621            ::unity::il2cpp_call!((::unity::module_base()+0x2f85050usize)as*mut u8,bool;
622(RenderTexture)__receiver)
623        }
624    }
625    #[doc = "`set_autoGenerateMips(bool)` overload"]
626    fn set_auto_generate_mips(self, value: impl ::core::convert::Into<bool>) -> () {
627        unsafe {
628            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
629            ::unity::il2cpp_call!((::unity::module_base()+0x2f850a0usize)as*mut u8,();
630(RenderTexture)__receiver,(bool)::core::convert::Into::into(value))
631        }
632    }
633    #[doc = "`get_volumeDepth()` overload"]
634    fn get_volume_depth(self) -> i32 {
635        unsafe {
636            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
637            ::unity::il2cpp_call!((::unity::module_base()+0x2f850f0usize)as*mut u8,i32;
638(RenderTexture)__receiver)
639        }
640    }
641    #[doc = "`set_volumeDepth(i32)` overload"]
642    fn set_volume_depth(self, value: impl ::core::convert::Into<i32>) -> () {
643        unsafe {
644            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
645            ::unity::il2cpp_call!((::unity::module_base()+0x2f85140usize)as*mut u8,();
646(RenderTexture)__receiver,(i32)::core::convert::Into::into(value))
647        }
648    }
649    #[doc = "`get_antiAliasing()` overload"]
650    fn get_anti_aliasing(self) -> i32 {
651        unsafe {
652            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
653            ::unity::il2cpp_call!((::unity::module_base()+0x2f85190usize)as*mut u8,i32;
654(RenderTexture)__receiver)
655        }
656    }
657    #[doc = "`set_antiAliasing(i32)` overload"]
658    fn set_anti_aliasing(self, value: impl ::core::convert::Into<i32>) -> () {
659        unsafe {
660            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
661            ::unity::il2cpp_call!((::unity::module_base()+0x2f851e0usize)as*mut u8,();
662(RenderTexture)__receiver,(i32)::core::convert::Into::into(value))
663        }
664    }
665    #[doc = "`get_bindTextureMS()` overload"]
666    fn get_bind_texture_ms(self) -> bool {
667        unsafe {
668            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
669            ::unity::il2cpp_call!((::unity::module_base()+0x2f85230usize)as*mut u8,bool;
670(RenderTexture)__receiver)
671        }
672    }
673    #[doc = "`set_bindTextureMS(bool)` overload"]
674    fn set_bind_texture_ms(self, value: impl ::core::convert::Into<bool>) -> () {
675        unsafe {
676            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
677            ::unity::il2cpp_call!((::unity::module_base()+0x2f85280usize)as*mut u8,();
678(RenderTexture)__receiver,(bool)::core::convert::Into::into(value))
679        }
680    }
681    #[doc = "`get_enableRandomWrite()` overload"]
682    fn get_enable_random_write(self) -> bool {
683        unsafe {
684            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
685            ::unity::il2cpp_call!((::unity::module_base()+0x2f852d0usize)as*mut u8,bool;
686(RenderTexture)__receiver)
687        }
688    }
689    #[doc = "`set_enableRandomWrite(bool)` overload"]
690    fn set_enable_random_write(self, value: impl ::core::convert::Into<bool>) -> () {
691        unsafe {
692            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
693            ::unity::il2cpp_call!((::unity::module_base()+0x2f85320usize)as*mut u8,();
694(RenderTexture)__receiver,(bool)::core::convert::Into::into(value))
695        }
696    }
697    #[doc = "`get_useDynamicScale()` overload"]
698    fn get_use_dynamic_scale(self) -> bool {
699        unsafe {
700            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
701            ::unity::il2cpp_call!((::unity::module_base()+0x2f85370usize)as*mut u8,bool;
702(RenderTexture)__receiver)
703        }
704    }
705    #[doc = "`set_useDynamicScale(bool)` overload"]
706    fn set_use_dynamic_scale(self, value: impl ::core::convert::Into<bool>) -> () {
707        unsafe {
708            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
709            ::unity::il2cpp_call!((::unity::module_base()+0x2f853c0usize)as*mut u8,();
710(RenderTexture)__receiver,(bool)::core::convert::Into::into(value))
711        }
712    }
713    #[doc = "`GetIsPowerOfTwo()` overload"]
714    fn get_is_power_of_two(self) -> bool {
715        unsafe {
716            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
717            ::unity::il2cpp_call!((::unity::module_base()+0x2f85410usize)as*mut u8,bool;
718(RenderTexture)__receiver)
719        }
720    }
721    #[doc = "`set_isPowerOfTwo(bool)` overload"]
722    fn set_is_power_of_two(self, value: impl ::core::convert::Into<bool>) -> () {
723        unsafe {
724            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
725            ::unity::il2cpp_call!((::unity::module_base()+0x2f854b0usize)as*mut u8,();
726(RenderTexture)__receiver,(bool)::core::convert::Into::into(value))
727        }
728    }
729    #[doc = "`GetColorBuffer()` overload"]
730    fn get_color_buffer(self) -> crate::unity_engine::renderbuffer::RenderBuffer {
731        unsafe {
732            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
733            ::unity::il2cpp_call!((::unity::module_base()+0x2f855e0usize)as*mut u8,crate::unity_engine::renderbuffer::RenderBuffer;
734(RenderTexture)__receiver)
735        }
736    }
737    #[doc = "`GetDepthBuffer()` overload"]
738    fn get_depth_buffer(self) -> crate::unity_engine::renderbuffer::RenderBuffer {
739        unsafe {
740            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
741            ::unity::il2cpp_call!((::unity::module_base()+0x2f85690usize)as*mut u8,crate::unity_engine::renderbuffer::RenderBuffer;
742(RenderTexture)__receiver)
743        }
744    }
745    #[doc = "`GetNativeDepthBufferPtr()` overload"]
746    fn get_native_depth_buffer_ptr(self) -> ::unity::IntPtr {
747        unsafe {
748            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
749            ::unity::il2cpp_call!((::unity::module_base()+0x2f85800usize)as*mut u8, ::unity::IntPtr;
750(RenderTexture)__receiver)
751        }
752    }
753    #[doc = "`DiscardContents(bool, bool)` overload"]
754    fn discard_contents(self, discard_color: impl ::core::convert::Into<bool>, discard_depth: impl ::core::convert::Into<bool>) -> () {
755        unsafe {
756            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
757            ::unity::il2cpp_call!((::unity::module_base()+0x2f85850usize)as*mut u8,();
758(RenderTexture)__receiver,(bool)::core::convert::Into::into(discard_color),(bool)::core::convert::Into::into(discard_depth))
759        }
760    }
761    #[doc = "`MarkRestoreExpected()` overload"]
762    fn mark_restore_expected(self) -> () {
763        unsafe {
764            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
765            ::unity::il2cpp_call!((::unity::module_base()+0x2f858b0usize)as*mut u8,();
766(RenderTexture)__receiver)
767        }
768    }
769    #[doc = "`DiscardContents()` overload"]
770    fn discard_contents_2(self) -> () {
771        unsafe {
772            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
773            ::unity::il2cpp_call!((::unity::module_base()+0x2f85900usize)as*mut u8,();
774(RenderTexture)__receiver)
775        }
776    }
777    #[doc = "`ResolveAA()` overload"]
778    fn resolve_aa(self) -> () {
779        unsafe {
780            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
781            ::unity::il2cpp_call!((::unity::module_base()+0x2f85950usize)as*mut u8,();
782(RenderTexture)__receiver)
783        }
784    }
785    #[doc = "`ResolveAATo(crate::unity_engine::rendertexture::RenderTexture)` overload"]
786    fn resolve_aa_to(self, rt: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>) -> () {
787        unsafe {
788            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
789            ::unity::il2cpp_call!((::unity::module_base()+0x2f859a0usize)as*mut u8,();
790(RenderTexture)__receiver,(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(rt))
791        }
792    }
793    #[doc = "`ResolveAntiAliasedSurface()` overload"]
794    fn resolve_anti_aliased_surface(self) -> () {
795        unsafe {
796            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
797            ::unity::il2cpp_call!((::unity::module_base()+0x2f859f0usize)as*mut u8,();
798(RenderTexture)__receiver)
799        }
800    }
801    #[doc = "`ResolveAntiAliasedSurface(crate::unity_engine::rendertexture::RenderTexture)` overload"]
802    fn resolve_anti_aliased_surface_2(self, target: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>) -> () {
803        unsafe {
804            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
805            ::unity::il2cpp_call!((::unity::module_base()+0x2f85a40usize)as*mut u8,();
806(RenderTexture)__receiver,(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(target))
807        }
808    }
809    #[doc = "`SetGlobalShaderProperty(::unity::Il2CppString)` overload"]
810    fn set_global_shader_property(self, property_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
811        unsafe {
812            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
813            ::unity::il2cpp_call!((::unity::module_base()+0x2f85a90usize)as*mut u8,();
814(RenderTexture)__receiver,(::unity::Il2CppString)::core::convert::Into::into(property_name))
815        }
816    }
817    #[doc = "`Create()` overload"]
818    fn create(self) -> bool {
819        unsafe {
820            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
821            ::unity::il2cpp_call!((::unity::module_base()+0x2f85ae0usize)as*mut u8,bool;
822(RenderTexture)__receiver)
823        }
824    }
825    #[doc = "`Release()` overload"]
826    fn release(self) -> () {
827        unsafe {
828            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
829            ::unity::il2cpp_call!((::unity::module_base()+0x2f85b30usize)as*mut u8,();
830(RenderTexture)__receiver)
831        }
832    }
833    #[doc = "`IsCreated()` overload"]
834    fn is_created(self) -> bool {
835        unsafe {
836            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
837            ::unity::il2cpp_call!((::unity::module_base()+0x2f85b80usize)as*mut u8,bool;
838(RenderTexture)__receiver)
839        }
840    }
841    #[doc = "`GenerateMips()` overload"]
842    fn generate_mips(self) -> () {
843        unsafe {
844            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
845            ::unity::il2cpp_call!((::unity::module_base()+0x2f85bd0usize)as*mut u8,();
846(RenderTexture)__receiver)
847        }
848    }
849    #[doc = "`ConvertToEquirect(crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye)` overload"]
850    fn convert_to_equirect(
851        self,
852        equirect: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>,
853        eye: impl ::core::convert::Into<crate::unity_engine::camera::Camera_MonoOrStereoscopicEye>,
854    ) -> () {
855        unsafe {
856            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
857            ::unity::il2cpp_call!((::unity::module_base()+0x2f85c20usize)as*mut u8,();
858(RenderTexture)__receiver,(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(equirect),(crate::unity_engine::camera::Camera_MonoOrStereoscopicEye)::core::convert::Into::into(eye))
859        }
860    }
861    #[doc = "`SetSRGBReadWrite(bool)` overload"]
862    fn set_srgb_read_write(self, srgb: impl ::core::convert::Into<bool>) -> () {
863        unsafe {
864            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
865            ::unity::il2cpp_call!((::unity::module_base()+0x2f85c80usize)as*mut u8,();
866(RenderTexture)__receiver,(bool)::core::convert::Into::into(srgb))
867        }
868    }
869    #[doc = "`SetRenderTextureDescriptor(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
870    fn set_render_texture_descriptor(
871        self,
872        desc: impl ::core::convert::Into<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>,
873    ) -> () {
874        unsafe {
875            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
876            ::unity::il2cpp_call!((::unity::module_base()+0x2f85d70usize)as*mut u8,();
877(RenderTexture)__receiver,(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)::core::convert::Into::into(desc))
878        }
879    }
880    #[doc = "`GetDescriptor()` overload"]
881    fn get_descriptor(self) -> crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor {
882        unsafe {
883            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
884            ::unity::il2cpp_call!((::unity::module_base()+0x2f85e10usize)as*mut u8,crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor;
885(RenderTexture)__receiver)
886        }
887    }
888    #[doc = "`get_depth()` overload"]
889    fn get_depth(self) -> i32 {
890        unsafe {
891            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
892            ::unity::il2cpp_call!((::unity::module_base()+0x2f85fe0usize)as*mut u8,i32;
893(RenderTexture)__receiver)
894        }
895    }
896    #[doc = "`set_depth(i32)` overload"]
897    fn set_depth(self, value: impl ::core::convert::Into<i32>) -> () {
898        unsafe {
899            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
900            ::unity::il2cpp_call!((::unity::module_base()+0x2f86030usize)as*mut u8,();
901(RenderTexture)__receiver,(i32)::core::convert::Into::into(value))
902        }
903    }
904    #[doc = "`.ctor()` overload"]
905    fn ctor(self) -> () {
906        unsafe {
907            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
908            ::unity::il2cpp_call!((::unity::module_base()+0x2f86080usize)as*mut u8,();
909(RenderTexture)__receiver)
910        }
911    }
912    #[doc = "`.ctor(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
913    fn ctor_2(self, desc: impl ::core::convert::Into<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>) -> () {
914        unsafe {
915            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
916            ::unity::il2cpp_call!((::unity::module_base()+0x2f860f0usize)as*mut u8,();
917(RenderTexture)__receiver,(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)::core::convert::Into::into(desc))
918        }
919    }
920    #[doc = "`.ctor(crate::unity_engine::rendertexture::RenderTexture)` overload"]
921    fn ctor_3(self, texture_to_copy: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>) -> () {
922        unsafe {
923            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
924            ::unity::il2cpp_call!((::unity::module_base()+0x2f865b0usize)as*mut u8,();
925(RenderTexture)__receiver,(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(texture_to_copy))
926        }
927    }
928    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::defaultformat::DefaultFormat)` overload"]
929    fn ctor_4(
930        self,
931        width: impl ::core::convert::Into<i32>,
932        height: impl ::core::convert::Into<i32>,
933        depth: impl ::core::convert::Into<i32>,
934        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::defaultformat::DefaultFormat>,
935    ) -> () {
936        unsafe {
937            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
938            ::unity::il2cpp_call!((::unity::module_base()+0x2f868e0usize)as*mut u8,();
939(RenderTexture)__receiver,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth),(crate::unity_engine::experimental::rendering::defaultformat::DefaultFormat)::core::convert::Into::into(format))
940        }
941    }
942    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)` overload"]
943    fn ctor_5(
944        self,
945        width: impl ::core::convert::Into<i32>,
946        height: impl ::core::convert::Into<i32>,
947        depth: impl ::core::convert::Into<i32>,
948        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
949    ) -> () {
950        unsafe {
951            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
952            ::unity::il2cpp_call!((::unity::module_base()+0x2f86930usize)as*mut u8,();
953(RenderTexture)__receiver,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(format))
954        }
955    }
956    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32)` overload"]
957    fn ctor_6(
958        self,
959        width: impl ::core::convert::Into<i32>,
960        height: impl ::core::convert::Into<i32>,
961        depth: impl ::core::convert::Into<i32>,
962        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
963        mip_count: impl ::core::convert::Into<i32>,
964    ) -> () {
965        unsafe {
966            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
967            ::unity::il2cpp_call!((::unity::module_base()+0x2f86af0usize)as*mut u8,();
968(RenderTexture)__receiver,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(format),(i32)::core::convert::Into::into(mip_count))
969        }
970    }
971    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)` overload"]
972    fn ctor_7(
973        self,
974        width: impl ::core::convert::Into<i32>,
975        height: impl ::core::convert::Into<i32>,
976        depth: impl ::core::convert::Into<i32>,
977        format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
978        read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
979    ) -> () {
980        unsafe {
981            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
982            ::unity::il2cpp_call!((::unity::module_base()+0x2f86eb0usize)as*mut u8,();
983(RenderTexture)__receiver,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write))
984        }
985    }
986    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat)` overload"]
987    fn ctor_8(
988        self,
989        width: impl ::core::convert::Into<i32>,
990        height: impl ::core::convert::Into<i32>,
991        depth: impl ::core::convert::Into<i32>,
992        format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
993    ) -> () {
994        unsafe {
995            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
996            ::unity::il2cpp_call!((::unity::module_base()+0x2f87060usize)as*mut u8,();
997(RenderTexture)__receiver,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format))
998        }
999    }
1000    #[doc = "`.ctor(i32, i32, i32)` overload"]
1001    fn ctor_9(self, width: impl ::core::convert::Into<i32>, height: impl ::core::convert::Into<i32>, depth: impl ::core::convert::Into<i32>) -> () {
1002        unsafe {
1003            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1004            ::unity::il2cpp_call!((::unity::module_base()+0x2f870b0usize)as*mut u8,();
1005(RenderTexture)__receiver,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth))
1006        }
1007    }
1008    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, i32)` overload"]
1009    fn ctor_10(
1010        self,
1011        width: impl ::core::convert::Into<i32>,
1012        height: impl ::core::convert::Into<i32>,
1013        depth: impl ::core::convert::Into<i32>,
1014        format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
1015        mip_count: impl ::core::convert::Into<i32>,
1016    ) -> () {
1017        unsafe {
1018            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1019            ::unity::il2cpp_call!((::unity::module_base()+0x2f87100usize)as*mut u8,();
1020(RenderTexture)__receiver,(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(i32)::core::convert::Into::into(mip_count))
1021        }
1022    }
1023    #[doc = "`set_descriptor(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
1024    fn set_descriptor(self, value: impl ::core::convert::Into<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>) -> () {
1025        unsafe {
1026            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1027            ::unity::il2cpp_call!((::unity::module_base()+0x2f86e00usize)as*mut u8,();
1028(RenderTexture)__receiver,(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)::core::convert::Into::into(value))
1029        }
1030    }
1031    #[doc = "`get_isCubemap()` overload"]
1032    fn get_is_cubemap(self) -> bool {
1033        unsafe {
1034            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1035            ::unity::il2cpp_call!((::unity::module_base()+0x2f879c0usize)as*mut u8,bool;
1036(RenderTexture)__receiver)
1037        }
1038    }
1039    #[doc = "`set_isCubemap(bool)` overload"]
1040    fn set_is_cubemap(self, value: impl ::core::convert::Into<bool>) -> () {
1041        unsafe {
1042            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1043            ::unity::il2cpp_call!((::unity::module_base()+0x2f879f0usize)as*mut u8,();
1044(RenderTexture)__receiver,(bool)::core::convert::Into::into(value))
1045        }
1046    }
1047    #[doc = "`get_isVolume()` overload"]
1048    fn get_is_volume(self) -> bool {
1049        unsafe {
1050            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1051            ::unity::il2cpp_call!((::unity::module_base()+0x2f87a10usize)as*mut u8,bool;
1052(RenderTexture)__receiver)
1053        }
1054    }
1055    #[doc = "`set_isVolume(bool)` overload"]
1056    fn set_is_volume(self, value: impl ::core::convert::Into<bool>) -> () {
1057        unsafe {
1058            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1059            ::unity::il2cpp_call!((::unity::module_base()+0x2f87a40usize)as*mut u8,();
1060(RenderTexture)__receiver,(bool)::core::convert::Into::into(value))
1061        }
1062    }
1063    #[doc = "`GetTexelOffset()` overload"]
1064    fn get_texel_offset(self) -> crate::unity_engine::vector2::Vector2 {
1065        unsafe {
1066            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1067            ::unity::il2cpp_call!((::unity::module_base()+0x2f87a80usize)as*mut u8,crate::unity_engine::vector2::Vector2;
1068(RenderTexture)__receiver)
1069        }
1070    }
1071    #[doc = "`GetColorBuffer_Injected(*mutcrate::unity_engine::renderbuffer::RenderBuffer)` overload"]
1072    fn get_color_buffer_injected(self) -> crate::unity_engine::renderbuffer::RenderBuffer {
1073        unsafe {
1074            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1075            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::renderbuffer::RenderBuffer>::uninit();
1076            ::unity::il2cpp_call!((::unity::module_base()+0x2f85640usize)as*mut u8,();
1077(RenderTexture)__receiver,(*mut crate::unity_engine::renderbuffer::RenderBuffer)__out_0.as_mut_ptr());
1078            __out_0.assume_init()
1079        }
1080    }
1081    #[doc = "`GetDepthBuffer_Injected(*mutcrate::unity_engine::renderbuffer::RenderBuffer)` overload"]
1082    fn get_depth_buffer_injected(self) -> crate::unity_engine::renderbuffer::RenderBuffer {
1083        unsafe {
1084            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1085            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::renderbuffer::RenderBuffer>::uninit();
1086            ::unity::il2cpp_call!((::unity::module_base()+0x2f856f0usize)as*mut u8,();
1087(RenderTexture)__receiver,(*mut crate::unity_engine::renderbuffer::RenderBuffer)__out_0.as_mut_ptr());
1088            __out_0.assume_init()
1089        }
1090    }
1091    #[doc = "`SetRenderTextureDescriptor_Injected(*mutcrate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
1092    fn set_render_texture_descriptor_injected(self) -> crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor {
1093        unsafe {
1094            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1095            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>::uninit();
1096            ::unity::il2cpp_call!((::unity::module_base()+0x2f85dc0usize)as*mut u8,();
1097(RenderTexture)__receiver,(*mut crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)__out_0.as_mut_ptr());
1098            __out_0.assume_init()
1099        }
1100    }
1101    #[doc = "`GetDescriptor_Injected(*mutcrate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
1102    fn get_descriptor_injected(self) -> crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor {
1103        unsafe {
1104            let __receiver = <RenderTexture as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1105            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>::uninit();
1106            ::unity::il2cpp_call!((::unity::module_base()+0x2f85ea0usize)as*mut u8,();
1107(RenderTexture)__receiver,(*mut crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)__out_0.as_mut_ptr());
1108            __out_0.assume_init()
1109        }
1110    }
1111}
1112
1113#[cfg(feature = "unity_engine-rendertexture")]
1114impl<__T: IRenderTexture> IRenderTextureMethods for __T {}
1115
1116#[cfg(feature = "unity_engine-rendertexture")]
1117impl RenderTexture {
1118    pub fn get_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1119        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1120    }
1121
1122    pub fn set_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1123        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1124    }
1125
1126    pub fn get_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1127        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1128    }
1129
1130    pub fn set_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1131        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1132    }
1133
1134    pub fn get_dimension_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1135        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1136    }
1137
1138    pub fn set_dimension_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1139        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1140    }
1141
1142    pub fn get_graphics_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1143        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1144    }
1145
1146    pub fn set_graphics_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1147        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1148    }
1149
1150    pub fn get_use_mip_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1151        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1152    }
1153
1154    pub fn set_use_mip_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1155        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1156    }
1157
1158    pub fn get_s_rgb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1159        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1160    }
1161
1162    pub fn get_vr_usage_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1163        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1164    }
1165
1166    pub fn set_vr_usage_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1167        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1168    }
1169
1170    pub fn get_memoryless_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1171        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1172    }
1173
1174    pub fn set_memoryless_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1176    }
1177
1178    pub fn get_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1179        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1180    }
1181
1182    pub fn set_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1183        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1184    }
1185
1186    pub fn get_stencil_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1187        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1188    }
1189
1190    pub fn set_stencil_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1191        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1192    }
1193
1194    pub fn get_auto_generate_mips_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1195        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1196    }
1197
1198    pub fn set_auto_generate_mips_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1199        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1200    }
1201
1202    pub fn get_volume_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1203        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1204    }
1205
1206    pub fn set_volume_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1207        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1208    }
1209
1210    pub fn get_anti_aliasing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1211        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1212    }
1213
1214    pub fn set_anti_aliasing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1215        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1216    }
1217
1218    pub fn get_bind_texture_ms_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1219        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1220    }
1221
1222    pub fn set_bind_texture_ms_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1223        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1224    }
1225
1226    pub fn get_enable_random_write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1227        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1228    }
1229
1230    pub fn set_enable_random_write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1231        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1232    }
1233
1234    pub fn get_use_dynamic_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1235        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1236    }
1237
1238    pub fn set_use_dynamic_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1239        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1240    }
1241
1242    pub fn get_is_power_of_two_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1243        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1244    }
1245
1246    pub fn set_is_power_of_two_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1247        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1248    }
1249
1250    pub fn get_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1251        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1252    }
1253
1254    pub fn set_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1255        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1256    }
1257
1258    pub fn get_color_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1259        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1260    }
1261
1262    pub fn get_depth_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1263        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1264    }
1265
1266    pub fn get_native_depth_buffer_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1267        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1268    }
1269
1270    pub fn discard_contents_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1271        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1272    }
1273
1274    pub fn mark_restore_expected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1275        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1276    }
1277
1278    pub fn discard_contents_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1279        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1280    }
1281
1282    pub fn resolve_aa_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1283        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1284    }
1285
1286    pub fn resolve_aa_to_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1287        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1288    }
1289
1290    pub fn resolve_anti_aliased_surface_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1291        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1292    }
1293
1294    pub fn resolve_anti_aliased_surface_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1295        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1296    }
1297
1298    pub fn set_global_shader_property_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1299        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1300    }
1301
1302    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1303        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1304    }
1305
1306    pub fn release_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1307        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1308    }
1309
1310    pub fn is_created_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1311        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1312    }
1313
1314    pub fn generate_mips_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1315        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1316    }
1317
1318    pub fn convert_to_equirect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1319        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1320    }
1321
1322    pub fn set_srgb_read_write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1323        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1324    }
1325
1326    pub fn internal_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1327        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1328    }
1329
1330    pub fn supports_stencil_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1331        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1332    }
1333
1334    pub fn set_render_texture_descriptor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1335        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1336    }
1337
1338    pub fn get_descriptor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1339        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1340    }
1341
1342    pub fn get_temporary_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1343        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1344    }
1345
1346    pub fn release_temporary_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1347        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1348    }
1349
1350    pub fn get_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1351        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1352    }
1353
1354    pub fn set_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1355        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1356    }
1357
1358    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1359        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1360    }
1361
1362    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1363        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1364    }
1365
1366    pub fn ctor_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1367        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1368    }
1369
1370    pub fn ctor_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1371        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1372    }
1373
1374    pub fn ctor_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1375        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1376    }
1377
1378    pub fn ctor_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1379        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1380    }
1381
1382    pub fn ctor_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1383        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1384    }
1385
1386    pub fn ctor_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1387        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1388    }
1389
1390    pub fn ctor_9_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1391        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1392    }
1393
1394    pub fn ctor_10_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1395        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1396    }
1397
1398    pub fn set_descriptor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1399        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1400    }
1401
1402    pub fn validate_render_texture_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1403        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1404    }
1405
1406    pub fn get_compatible_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1407        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1408    }
1409
1410    pub fn get_temporary_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1411        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1412    }
1413
1414    pub fn get_temporary_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1415        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1416    }
1417
1418    pub fn get_temporary_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1419        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1420    }
1421
1422    pub fn get_temporary_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1423        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1424    }
1425
1426    pub fn get_temporary_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1427        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1428    }
1429
1430    pub fn get_temporary_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1431        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1432    }
1433
1434    pub fn get_temporary_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1435        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
1436    }
1437
1438    pub fn get_temporary_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1439        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
1440    }
1441
1442    pub fn get_temporary_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1443        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
1444    }
1445
1446    pub fn get_temporary_9_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1447        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
1448    }
1449
1450    pub fn get_temporary_10_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1451        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
1452    }
1453
1454    pub fn get_temporary_11_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1455        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
1456    }
1457
1458    pub fn get_temporary_12_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1459        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
1460    }
1461
1462    pub fn get_temporary_13_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1463        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
1464    }
1465
1466    pub fn get_temporary_14_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1467        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
1468    }
1469
1470    pub fn get_is_cubemap_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1471        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
1472    }
1473
1474    pub fn set_is_cubemap_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1475        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[95]
1476    }
1477
1478    pub fn get_is_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1479        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[96]
1480    }
1481
1482    pub fn set_is_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1483        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[97]
1484    }
1485
1486    pub fn get_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1487        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[98]
1488    }
1489
1490    pub fn set_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1491        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[99]
1492    }
1493
1494    pub fn get_texel_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1495        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[100]
1496    }
1497
1498    pub fn get_color_buffer_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1499        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[101]
1500    }
1501
1502    pub fn get_depth_buffer_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1503        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[102]
1504    }
1505
1506    pub fn set_render_texture_descriptor_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1507        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[103]
1508    }
1509
1510    pub fn get_descriptor_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1511        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[104]
1512    }
1513
1514    pub fn get_temporary_internal_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1515        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[105]
1516    }
1517}
1518
1519#[cfg(feature = "unity_engine-rendertexture")]
1520impl RenderTexture {
1521    #[doc = "Direct (non-virtual) call to `RenderTexture`'s own `get_width`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1522    pub unsafe fn get_width(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
1523        let __mi = Self::get_width_method_info();
1524        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
1525        __inner(this.into(), ::core::option::Option::None)
1526    }
1527
1528    #[doc = "Direct (non-virtual) call to `RenderTexture`'s own `set_width`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1529    pub unsafe fn set_width(this: impl ::core::convert::Into<::unity::IlInstance>, value: i32) -> () {
1530        let __mi = Self::set_width_method_info();
1531        let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1532        __inner(this.into(), value, ::core::option::Option::None)
1533    }
1534
1535    #[doc = "Direct (non-virtual) call to `RenderTexture`'s own `get_height`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1536    pub unsafe fn get_height(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
1537        let __mi = Self::get_height_method_info();
1538        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
1539        __inner(this.into(), ::core::option::Option::None)
1540    }
1541
1542    #[doc = "Direct (non-virtual) call to `RenderTexture`'s own `set_height`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1543    pub unsafe fn set_height(this: impl ::core::convert::Into<::unity::IlInstance>, value: i32) -> () {
1544        let __mi = Self::set_height_method_info();
1545        let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1546        __inner(this.into(), value, ::core::option::Option::None)
1547    }
1548
1549    #[doc = "Direct (non-virtual) call to `RenderTexture`'s own `get_dimension`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1550    pub unsafe fn get_dimension(
1551        this: impl ::core::convert::Into<::unity::IlInstance>,
1552    ) -> crate::unity_engine::rendering::texturedimension::TextureDimension {
1553        let __mi = Self::get_dimension_method_info();
1554        let __inner: extern "C" fn(
1555            ::unity::IlInstance,
1556            ::unity::OptionalMethod,
1557        ) -> crate::unity_engine::rendering::texturedimension::TextureDimension = ::core::mem::transmute(__mi.method_ptr);
1558        __inner(this.into(), ::core::option::Option::None)
1559    }
1560
1561    #[doc = "Direct (non-virtual) call to `RenderTexture`'s own `set_dimension`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1562    pub unsafe fn set_dimension(
1563        this: impl ::core::convert::Into<::unity::IlInstance>,
1564        value: crate::unity_engine::rendering::texturedimension::TextureDimension,
1565    ) -> () {
1566        let __mi = Self::set_dimension_method_info();
1567        let __inner: extern "C" fn(
1568            ::unity::IlInstance,
1569            crate::unity_engine::rendering::texturedimension::TextureDimension,
1570            ::unity::OptionalMethod,
1571        ) -> () = ::core::mem::transmute(__mi.method_ptr);
1572        __inner(this.into(), value, ::core::option::Option::None)
1573    }
1574}
1575
1576#[cfg(feature = "unity_engine-rendertexture")]
1577impl RenderTexture {
1578    #[doc = "`.ctor()` — no args"]
1579    pub fn new() -> Self {
1580        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1581            panic!(
1582                "{}
1583::{}
1584 failed to instantiate",
1585                ::core::stringify!(RenderTexture),
1586                ::core::stringify!(new),
1587            )
1588        });
1589        <Self as IRenderTextureMethods>::ctor(this);
1590        this
1591    }
1592
1593    #[doc = "`.ctor(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` — overload selector"]
1594    pub fn new_2(desc: crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) -> Self {
1595        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1596            panic!(
1597                "{}
1598::{}
1599 failed to instantiate",
1600                ::core::stringify!(RenderTexture),
1601                ::core::stringify!(new_2),
1602            )
1603        });
1604        <Self as IRenderTextureMethods>::ctor_2(this, desc);
1605        this
1606    }
1607
1608    #[doc = "`.ctor(crate::unity_engine::rendertexture::RenderTexture)` — overload selector"]
1609    pub fn new_3(texture_to_copy: crate::unity_engine::rendertexture::RenderTexture) -> Self {
1610        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1611            panic!(
1612                "{}
1613::{}
1614 failed to instantiate",
1615                ::core::stringify!(RenderTexture),
1616                ::core::stringify!(new_3),
1617            )
1618        });
1619        <Self as IRenderTextureMethods>::ctor_3(this, texture_to_copy);
1620        this
1621    }
1622
1623    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::defaultformat::DefaultFormat)` — overload selector"]
1624    pub fn new_4(width: i32, height: i32, depth: i32, format: crate::unity_engine::experimental::rendering::defaultformat::DefaultFormat) -> Self {
1625        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1626            panic!(
1627                "{}
1628::{}
1629 failed to instantiate",
1630                ::core::stringify!(RenderTexture),
1631                ::core::stringify!(new_4),
1632            )
1633        });
1634        <Self as IRenderTextureMethods>::ctor_4(this, width, height, depth, format);
1635        this
1636    }
1637
1638    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)` — overload selector"]
1639    pub fn new_5(width: i32, height: i32, depth: i32, format: crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat) -> Self {
1640        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1641            panic!(
1642                "{}
1643::{}
1644 failed to instantiate",
1645                ::core::stringify!(RenderTexture),
1646                ::core::stringify!(new_5),
1647            )
1648        });
1649        <Self as IRenderTextureMethods>::ctor_5(this, width, height, depth, format);
1650        this
1651    }
1652
1653    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32)` — overload selector"]
1654    pub fn new_6(
1655        width: i32,
1656        height: i32,
1657        depth: i32,
1658        format: crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat,
1659        mip_count: i32,
1660    ) -> Self {
1661        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1662            panic!(
1663                "{}
1664::{}
1665 failed to instantiate",
1666                ::core::stringify!(RenderTexture),
1667                ::core::stringify!(new_6),
1668            )
1669        });
1670        <Self as IRenderTextureMethods>::ctor_6(this, width, height, depth, format, mip_count);
1671        this
1672    }
1673
1674    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)` — overload selector"]
1675    pub fn new_7(
1676        width: i32,
1677        height: i32,
1678        depth: i32,
1679        format: crate::unity_engine::rendertextureformat::RenderTextureFormat,
1680        read_write: crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite,
1681    ) -> Self {
1682        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1683            panic!(
1684                "{}
1685::{}
1686 failed to instantiate",
1687                ::core::stringify!(RenderTexture),
1688                ::core::stringify!(new_7),
1689            )
1690        });
1691        <Self as IRenderTextureMethods>::ctor_7(this, width, height, depth, format, read_write);
1692        this
1693    }
1694
1695    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat)` — overload selector"]
1696    pub fn new_8(width: i32, height: i32, depth: i32, format: crate::unity_engine::rendertextureformat::RenderTextureFormat) -> Self {
1697        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1698            panic!(
1699                "{}
1700::{}
1701 failed to instantiate",
1702                ::core::stringify!(RenderTexture),
1703                ::core::stringify!(new_8),
1704            )
1705        });
1706        <Self as IRenderTextureMethods>::ctor_8(this, width, height, depth, format);
1707        this
1708    }
1709
1710    #[doc = "`.ctor(i32, i32, i32)` — overload selector"]
1711    pub fn new_9(width: i32, height: i32, depth: i32) -> Self {
1712        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1713            panic!(
1714                "{}
1715::{}
1716 failed to instantiate",
1717                ::core::stringify!(RenderTexture),
1718                ::core::stringify!(new_9),
1719            )
1720        });
1721        <Self as IRenderTextureMethods>::ctor_9(this, width, height, depth);
1722        this
1723    }
1724
1725    #[doc = "`.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, i32)` — overload selector"]
1726    pub fn new_10(
1727        width: i32,
1728        height: i32,
1729        depth: i32,
1730        format: crate::unity_engine::rendertextureformat::RenderTextureFormat,
1731        mip_count: i32,
1732    ) -> Self {
1733        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1734            panic!(
1735                "{}
1736::{}
1737 failed to instantiate",
1738                ::core::stringify!(RenderTexture),
1739                ::core::stringify!(new_10),
1740            )
1741        });
1742        <Self as IRenderTextureMethods>::ctor_10(this, width, height, depth, format, mip_count);
1743        this
1744    }
1745}
1746
1747#[cfg(feature = "unity_engine-rendertexture")]
1748#[doc(hidden)]
1749pub mod prelude {
1750    pub use super::{IRenderTexture, IRenderTextureMethods, RenderTexture};
1751    #[cfg(feature = "system-object")]
1752    pub use crate::system::object::IObjectMethods;
1753    #[cfg(feature = "unity_engine-object_2")]
1754    pub use crate::unity_engine::object_2::IObject_2Methods;
1755    #[cfg(feature = "unity_engine-texture")]
1756    pub use crate::unity_engine::texture::ITextureMethods;
1757    pub use crate::{
1758        system::object::IObject,
1759        unity_engine::{object_2::IObject_2, texture::ITexture},
1760    };
1761}