Skip to main content

engage/generated/unity_engine/rendering/
coreutils.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-coreutils-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/coreutils/CoreUtils.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering", name = "CoreUtils")]
12    #[parent(crate::system::object::Object)]
13    pub struct CoreUtils {
14        #[static_field]
15        #[rename(name = "lookAtList")]
16        pub look_at_list: ::unity::Array<crate::unity_engine::vector3::Vector3>,
17        #[static_field]
18        #[rename(name = "upVectorList")]
19        pub up_vector_list: ::unity::Array<crate::unity_engine::vector3::Vector3>,
20        #[static_field]
21        #[rename(name = "editMenuPriority1")]
22        pub edit_menu_priority1: i32,
23        #[static_field]
24        #[rename(name = "editMenuPriority2")]
25        pub edit_menu_priority2: i32,
26        #[static_field]
27        #[rename(name = "editMenuPriority3")]
28        pub edit_menu_priority3: i32,
29        #[static_field]
30        #[rename(name = "editMenuPriority4")]
31        pub edit_menu_priority4: i32,
32        #[static_field]
33        #[rename(name = "assetCreateMenuPriority1")]
34        pub asset_create_menu_priority1: i32,
35        #[static_field]
36        #[rename(name = "assetCreateMenuPriority2")]
37        pub asset_create_menu_priority2: i32,
38        #[static_field]
39        #[rename(name = "assetCreateMenuPriority3")]
40        pub asset_create_menu_priority3: i32,
41        #[static_field]
42        #[rename(name = "gameObjectMenuPriority")]
43        pub game_object_menu_priority: i32,
44        #[static_field]
45        #[rename(name = "m_BlackCubeTexture")]
46        pub m_black_cube_texture: crate::unity_engine::cubemap::Cubemap,
47        #[static_field]
48        #[rename(name = "m_MagentaCubeTexture")]
49        pub m_magenta_cube_texture: crate::unity_engine::cubemap::Cubemap,
50        #[static_field]
51        #[rename(name = "m_MagentaCubeTextureArray")]
52        pub m_magenta_cube_texture_array: crate::unity_engine::cubemaparray::CubemapArray,
53        #[static_field]
54        #[rename(name = "m_WhiteCubeTexture")]
55        pub m_white_cube_texture: crate::unity_engine::cubemap::Cubemap,
56        #[static_field]
57        #[rename(name = "m_EmptyUAV")]
58        pub m_empty_uav: crate::unity_engine::rendertexture::RenderTexture,
59        #[static_field]
60        #[rename(name = "m_BlackVolumeTexture")]
61        pub m_black_volume_texture: crate::unity_engine::texture3d::Texture3D,
62        #[static_field]
63        #[rename(name = "m_AssemblyTypes")]
64        pub m_assembly_types: crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::SystemType>,
65    }
66}
67
68#[cfg(feature = "unity_engine-rendering-coreutils-types")]
69pub use __types::*;
70
71#[cfg(feature = "unity_engine-rendering-coreutils")]
72impl CoreUtils {
73    #[doc = "`get_blackCubeTexture()` overload"]
74    pub fn get_black_cube_texture() -> crate::unity_engine::cubemap::Cubemap {
75        unsafe {
76            ::unity::il2cpp_call!((::unity::module_base()+0x3531ae0usize)as*mut u8,crate::unity_engine::cubemap::Cubemap;
77            )
78        }
79    }
80
81    #[doc = "`get_magentaCubeTexture()` overload"]
82    pub fn get_magenta_cube_texture() -> crate::unity_engine::cubemap::Cubemap {
83        unsafe {
84            ::unity::il2cpp_call!((::unity::module_base()+0x3531de0usize)as*mut u8,crate::unity_engine::cubemap::Cubemap;
85            )
86        }
87    }
88
89    #[doc = "`get_magentaCubeTextureArray()` overload"]
90    pub fn get_magenta_cube_texture_array() -> crate::unity_engine::cubemaparray::CubemapArray {
91        unsafe {
92            ::unity::il2cpp_call!((::unity::module_base()+0x35320e0usize)as*mut u8,crate::unity_engine::cubemaparray::CubemapArray;
93            )
94        }
95    }
96
97    #[doc = "`get_whiteCubeTexture()` overload"]
98    pub fn get_white_cube_texture() -> crate::unity_engine::cubemap::Cubemap {
99        unsafe {
100            ::unity::il2cpp_call!((::unity::module_base()+0x35324a0usize)as*mut u8,crate::unity_engine::cubemap::Cubemap;
101            )
102        }
103    }
104
105    #[doc = "`get_emptyUAV()` overload"]
106    pub fn get_empty_uav() -> crate::unity_engine::rendertexture::RenderTexture {
107        unsafe {
108            ::unity::il2cpp_call!((::unity::module_base()+0x35327a0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
109            )
110        }
111    }
112
113    #[doc = "`get_blackVolumeTexture()` overload"]
114    pub fn get_black_volume_texture() -> crate::unity_engine::texture3d::Texture3D {
115        unsafe {
116            ::unity::il2cpp_call!((::unity::module_base()+0x3532900usize)as*mut u8,crate::unity_engine::texture3d::Texture3D;
117            )
118        }
119    }
120
121    #[doc = "`ClearRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::clearflag::ClearFlag, crate::unity_engine::color::Color)` overload"]
122    pub fn clear_render_target(
123        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
124        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
125        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
126    ) -> () {
127        unsafe {
128            ::unity::il2cpp_call!((::unity::module_base()+0x3532ab0usize)as*mut u8,();
129(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color))
130        }
131    }
132
133    #[doc = "`FixupDepthSlice(i32, crate::unity_engine::rendering::rthandle::RTHandle)` overload"]
134    pub fn fixup_depth_slice(
135        depth_slice: impl ::core::convert::Into<i32>,
136        buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
137    ) -> i32 {
138        unsafe {
139            ::unity::il2cpp_call!((::unity::module_base()+0x3532ad0usize)as*mut u8,i32;
140(i32)::core::convert::Into::into(depth_slice),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(buffer))
141        }
142    }
143
144    #[doc = "`FixupDepthSlice(i32, crate::unity_engine::cubemapface::CubemapFace)` overload"]
145    pub fn fixup_depth_slice_2(
146        depth_slice: impl ::core::convert::Into<i32>,
147        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
148    ) -> i32 {
149        unsafe {
150            ::unity::il2cpp_call!((::unity::module_base()+0x3532b10usize)as*mut u8,i32;
151(i32)::core::convert::Into::into(depth_slice),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face))
152        }
153    }
154
155    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::clearflag::ClearFlag, crate::unity_engine::color::Color, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
156    pub fn set_render_target(
157        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
158        buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
159        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
160        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
161        miplevel: impl ::core::convert::Into<i32>,
162        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
163        depth_slice: impl ::core::convert::Into<i32>,
164    ) -> () {
165        unsafe {
166            ::unity::il2cpp_call!((::unity::module_base()+0x3532b30usize)as*mut u8,();
167(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color),(i32)::core::convert::Into::into(miplevel),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
168        }
169    }
170
171    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::clearflag::ClearFlag, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
172    pub fn set_render_target_2(
173        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
174        buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
175        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
176        miplevel: impl ::core::convert::Into<i32>,
177        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
178        depth_slice: impl ::core::convert::Into<i32>,
179    ) -> () {
180        unsafe {
181            ::unity::il2cpp_call!((::unity::module_base()+0x3532c50usize)as*mut u8,();
182(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(i32)::core::convert::Into::into(miplevel),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
183        }
184    }
185
186    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
187    pub fn set_render_target_3(
188        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
189        color_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
190        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
191        miplevel: impl ::core::convert::Into<i32>,
192        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
193        depth_slice: impl ::core::convert::Into<i32>,
194    ) -> () {
195        unsafe {
196            ::unity::il2cpp_call!((::unity::module_base()+0x3532de0usize)as*mut u8,();
197(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color_buffer),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth_buffer),(i32)::core::convert::Into::into(miplevel),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
198        }
199    }
200
201    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::clearflag::ClearFlag, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
202    pub fn set_render_target_4(
203        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
204        color_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
205        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
206        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
207        miplevel: impl ::core::convert::Into<i32>,
208        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
209        depth_slice: impl ::core::convert::Into<i32>,
210    ) -> () {
211        unsafe {
212            ::unity::il2cpp_call!((::unity::module_base()+0x35330c0usize)as*mut u8,();
213(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color_buffer),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(i32)::core::convert::Into::into(miplevel),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
214        }
215    }
216
217    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::clearflag::ClearFlag, crate::unity_engine::color::Color, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
218    pub fn set_render_target_5(
219        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
220        color_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
221        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
222        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
223        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
224        miplevel: impl ::core::convert::Into<i32>,
225        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
226        depth_slice: impl ::core::convert::Into<i32>,
227    ) -> () {
228        unsafe {
229            ::unity::il2cpp_call!((::unity::module_base()+0x3532f80usize)as*mut u8,();
230(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color_buffer),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color),(i32)::core::convert::Into::into(miplevel),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
231        }
232    }
233
234    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)` overload"]
235    pub fn set_render_target_6(
236        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
237        color_buffers: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
238        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
239    ) -> () {
240        unsafe {
241            ::unity::il2cpp_call!((::unity::module_base()+0x35332a0usize)as*mut u8,();
242(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(color_buffers),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth_buffer))
243        }
244    }
245
246    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::clearflag::ClearFlag)` overload"]
247    pub fn set_render_target_7(
248        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
249        color_buffers: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
250        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
251        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
252    ) -> () {
253        unsafe {
254            ::unity::il2cpp_call!((::unity::module_base()+0x35334e0usize)as*mut u8,();
255(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(color_buffers),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag))
256        }
257    }
258
259    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::clearflag::ClearFlag, crate::unity_engine::color::Color)` overload"]
260    pub fn set_render_target_8(
261        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
262        color_buffers: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
263        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
264        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
265        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
266    ) -> () {
267        unsafe {
268            ::unity::il2cpp_call!((::unity::module_base()+0x35333d0usize)as*mut u8,();
269(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(color_buffers),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color))
270        }
271    }
272
273    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::clearflag::ClearFlag, crate::unity_engine::color::Color)` overload"]
274    pub fn set_render_target_9(
275        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
276        buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
277        load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
278        store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
279        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
280        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
281    ) -> () {
282        unsafe {
283            ::unity::il2cpp_call!((::unity::module_base()+0x3533660usize)as*mut u8,();
284(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(buffer),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(store_action),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color))
285        }
286    }
287
288    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::clearflag::ClearFlag)` overload"]
289    pub fn set_render_target_10(
290        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
291        buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
292        load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
293        store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
294        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
295    ) -> () {
296        unsafe {
297            ::unity::il2cpp_call!((::unity::module_base()+0x3533770usize)as*mut u8,();
298(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(buffer),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(store_action),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag))
299        }
300    }
301
302    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::clearflag::ClearFlag, crate::unity_engine::color::Color)` overload"]
303    pub fn set_render_target_11(
304        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
305        color_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
306        color_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
307        color_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
308        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
309        depth_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
310        depth_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
311        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
312        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
313    ) -> () {
314        unsafe {
315            ::unity::il2cpp_call!((::unity::module_base()+0x35338f0usize)as*mut u8,();
316(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color_buffer),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(color_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(color_store_action),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(depth_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(depth_store_action),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color))
317        }
318    }
319
320    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::clearflag::ClearFlag)` overload"]
321    pub fn set_render_target_12(
322        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
323        color_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
324        color_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
325        color_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
326        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
327        depth_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
328        depth_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
329        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
330    ) -> () {
331        unsafe {
332            ::unity::il2cpp_call!((::unity::module_base()+0x3533a40usize)as*mut u8,();
333(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color_buffer),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(color_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(color_store_action),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(depth_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(depth_store_action),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag))
334        }
335    }
336
337    #[doc = "`SetViewportAndClear(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rthandle::RTHandle, crate::unity_engine::rendering::clearflag::ClearFlag, crate::unity_engine::color::Color)` overload"]
338    pub fn set_viewport_and_clear(
339        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
340        buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
341        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
342        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
343    ) -> () {
344        unsafe {
345            ::unity::il2cpp_call!((::unity::module_base()+0x3533c30usize)as*mut u8,();
346(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color))
347        }
348    }
349
350    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rthandle::RTHandle, crate::unity_engine::rendering::clearflag::ClearFlag, crate::unity_engine::color::Color, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
351    pub fn set_render_target_13(
352        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
353        buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
354        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
355        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
356        miplevel: impl ::core::convert::Into<i32>,
357        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
358        depth_slice: impl ::core::convert::Into<i32>,
359    ) -> () {
360        unsafe {
361            ::unity::il2cpp_call!((::unity::module_base()+0x3533df0usize)as*mut u8,();
362(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color),(i32)::core::convert::Into::into(miplevel),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
363        }
364    }
365
366    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rthandle::RTHandle, crate::unity_engine::rendering::clearflag::ClearFlag, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
367    pub fn set_render_target_14(
368        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
369        buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
370        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
371        miplevel: impl ::core::convert::Into<i32>,
372        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
373        depth_slice: impl ::core::convert::Into<i32>,
374    ) -> () {
375        unsafe {
376            ::unity::il2cpp_call!((::unity::module_base()+0x3533f30usize)as*mut u8,();
377(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(i32)::core::convert::Into::into(miplevel),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
378        }
379    }
380
381    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rthandle::RTHandle, crate::unity_engine::rendering::rthandle::RTHandle, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
382    pub fn set_render_target_15(
383        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
384        color_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
385        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
386        miplevel: impl ::core::convert::Into<i32>,
387        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
388        depth_slice: impl ::core::convert::Into<i32>,
389    ) -> () {
390        unsafe {
391            ::unity::il2cpp_call!((::unity::module_base()+0x3534010usize)as*mut u8,();
392(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(color_buffer),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(depth_buffer),(i32)::core::convert::Into::into(miplevel),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
393        }
394    }
395
396    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rthandle::RTHandle, crate::unity_engine::rendering::rthandle::RTHandle, crate::unity_engine::rendering::clearflag::ClearFlag, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
397    pub fn set_render_target_16(
398        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
399        color_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
400        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
401        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
402        miplevel: impl ::core::convert::Into<i32>,
403        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
404        depth_slice: impl ::core::convert::Into<i32>,
405    ) -> () {
406        unsafe {
407            ::unity::il2cpp_call!((::unity::module_base()+0x35342f0usize)as*mut u8,();
408(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(color_buffer),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(i32)::core::convert::Into::into(miplevel),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
409        }
410    }
411
412    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rthandle::RTHandle, crate::unity_engine::rendering::rthandle::RTHandle, crate::unity_engine::rendering::clearflag::ClearFlag, crate::unity_engine::color::Color, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
413    pub fn set_render_target_17(
414        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
415        color_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
416        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
417        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
418        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
419        miplevel: impl ::core::convert::Into<i32>,
420        cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
421        depth_slice: impl ::core::convert::Into<i32>,
422    ) -> () {
423        unsafe {
424            ::unity::il2cpp_call!((::unity::module_base()+0x3534130usize)as*mut u8,();
425(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(color_buffer),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color),(i32)::core::convert::Into::into(miplevel),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
426        }
427    }
428
429    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, crate::unity_engine::rendering::rthandle::RTHandle)` overload"]
430    pub fn set_render_target_18(
431        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
432        color_buffers: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
433        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
434    ) -> () {
435        unsafe {
436            ::unity::il2cpp_call!((::unity::module_base()+0x3534420usize)as*mut u8,();
437(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(color_buffers),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(depth_buffer))
438        }
439    }
440
441    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, crate::unity_engine::rendering::rthandle::RTHandle, crate::unity_engine::rendering::clearflag::ClearFlag)` overload"]
442    pub fn set_render_target_19(
443        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
444        color_buffers: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
445        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
446        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
447    ) -> () {
448        unsafe {
449            ::unity::il2cpp_call!((::unity::module_base()+0x35345c0usize)as*mut u8,();
450(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(color_buffers),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag))
451        }
452    }
453
454    #[doc = "`SetRenderTarget(crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, crate::unity_engine::rendering::rthandle::RTHandle, crate::unity_engine::rendering::clearflag::ClearFlag, crate::unity_engine::color::Color)` overload"]
455    pub fn set_render_target_20(
456        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
457        color_buffers: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
458        depth_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
459        clear_flag: impl ::core::convert::Into<crate::unity_engine::rendering::clearflag::ClearFlag>,
460        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
461    ) -> () {
462        unsafe {
463            ::unity::il2cpp_call!((::unity::module_base()+0x35346b0usize)as*mut u8,();
464(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(color_buffers),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(depth_buffer),(crate::unity_engine::rendering::clearflag::ClearFlag)::core::convert::Into::into(clear_flag),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color))
465        }
466    }
467
468    #[doc = "`SetViewport(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::rthandle::RTHandle)` overload"]
469    pub fn set_viewport(
470        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
471        target: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
472    ) -> () {
473        unsafe {
474            ::unity::il2cpp_call!((::unity::module_base()+0x3533d60usize)as*mut u8,();
475(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(target))
476        }
477    }
478
479    #[doc = "`GetRenderTargetAutoName(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, ::unity::Il2CppString, bool, bool, crate::unity_engine::rendering::msaasamples::MSAASamples)` overload"]
480    pub fn get_render_target_auto_name(
481        width: impl ::core::convert::Into<i32>,
482        height: impl ::core::convert::Into<i32>,
483        depth: impl ::core::convert::Into<i32>,
484        format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
485        name: impl ::core::convert::Into<::unity::Il2CppString>,
486        mips: impl ::core::convert::Into<bool>,
487        enable_msaa: impl ::core::convert::Into<bool>,
488        msaa_samples: impl ::core::convert::Into<crate::unity_engine::rendering::msaasamples::MSAASamples>,
489    ) -> ::unity::Il2CppString {
490        unsafe {
491            ::unity::il2cpp_call!((::unity::module_base()+0x35347c0usize)as*mut u8, ::unity::Il2CppString;
492(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),(::unity::Il2CppString)::core::convert::Into::into(name),(bool)::core::convert::Into::into(mips),(bool)::core::convert::Into::into(enable_msaa),(crate::unity_engine::rendering::msaasamples::MSAASamples)::core::convert::Into::into(msaa_samples))
493        }
494    }
495
496    #[doc = "`GetRenderTargetAutoName(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, ::unity::Il2CppString, bool, bool, crate::unity_engine::rendering::msaasamples::MSAASamples)` overload"]
497    pub fn get_render_target_auto_name_2(
498        width: impl ::core::convert::Into<i32>,
499        height: impl ::core::convert::Into<i32>,
500        depth: impl ::core::convert::Into<i32>,
501        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
502        name: impl ::core::convert::Into<::unity::Il2CppString>,
503        mips: impl ::core::convert::Into<bool>,
504        enable_msaa: impl ::core::convert::Into<bool>,
505        msaa_samples: impl ::core::convert::Into<crate::unity_engine::rendering::msaasamples::MSAASamples>,
506    ) -> ::unity::Il2CppString {
507        unsafe {
508            ::unity::il2cpp_call!((::unity::module_base()+0x3534ac0usize)as*mut u8, ::unity::Il2CppString;
509(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),(::unity::Il2CppString)::core::convert::Into::into(name),(bool)::core::convert::Into::into(mips),(bool)::core::convert::Into::into(enable_msaa),(crate::unity_engine::rendering::msaasamples::MSAASamples)::core::convert::Into::into(msaa_samples))
510        }
511    }
512
513    #[doc = "`GetRenderTargetAutoName(i32, i32, i32, ::unity::Il2CppString, ::unity::Il2CppString, bool, bool, crate::unity_engine::rendering::msaasamples::MSAASamples)` overload"]
514    pub fn get_render_target_auto_name_3(
515        width: impl ::core::convert::Into<i32>,
516        height: impl ::core::convert::Into<i32>,
517        depth: impl ::core::convert::Into<i32>,
518        format: impl ::core::convert::Into<::unity::Il2CppString>,
519        name: impl ::core::convert::Into<::unity::Il2CppString>,
520        mips: impl ::core::convert::Into<bool>,
521        enable_msaa: impl ::core::convert::Into<bool>,
522        msaa_samples: impl ::core::convert::Into<crate::unity_engine::rendering::msaasamples::MSAASamples>,
523    ) -> ::unity::Il2CppString {
524        unsafe {
525            ::unity::il2cpp_call!((::unity::module_base()+0x35348d0usize)as*mut u8, ::unity::Il2CppString;
526(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth),(::unity::Il2CppString)::core::convert::Into::into(format),(::unity::Il2CppString)::core::convert::Into::into(name),(bool)::core::convert::Into::into(mips),(bool)::core::convert::Into::into(enable_msaa),(crate::unity_engine::rendering::msaasamples::MSAASamples)::core::convert::Into::into(msaa_samples))
527        }
528    }
529
530    #[doc = "`GetTextureAutoName(i32, i32, crate::unity_engine::textureformat::TextureFormat, crate::unity_engine::rendering::texturedimension::TextureDimension, ::unity::Il2CppString, bool, i32)` overload"]
531    pub fn get_texture_auto_name(
532        width: impl ::core::convert::Into<i32>,
533        height: impl ::core::convert::Into<i32>,
534        format: impl ::core::convert::Into<crate::unity_engine::textureformat::TextureFormat>,
535        dim: impl ::core::convert::Into<crate::unity_engine::rendering::texturedimension::TextureDimension>,
536        name: impl ::core::convert::Into<::unity::Il2CppString>,
537        mips: impl ::core::convert::Into<bool>,
538        depth: impl ::core::convert::Into<i32>,
539    ) -> ::unity::Il2CppString {
540        unsafe {
541            ::unity::il2cpp_call!((::unity::module_base()+0x3534bd0usize)as*mut u8, ::unity::Il2CppString;
542(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(crate::unity_engine::textureformat::TextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendering::texturedimension::TextureDimension)::core::convert::Into::into(dim),(::unity::Il2CppString)::core::convert::Into::into(name),(bool)::core::convert::Into::into(mips),(i32)::core::convert::Into::into(depth))
543        }
544    }
545
546    #[doc = "`GetTextureAutoName(i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, crate::unity_engine::rendering::texturedimension::TextureDimension, ::unity::Il2CppString, bool, i32)` overload"]
547    pub fn get_texture_auto_name_2(
548        width: impl ::core::convert::Into<i32>,
549        height: impl ::core::convert::Into<i32>,
550        format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
551        dim: impl ::core::convert::Into<crate::unity_engine::rendering::texturedimension::TextureDimension>,
552        name: impl ::core::convert::Into<::unity::Il2CppString>,
553        mips: impl ::core::convert::Into<bool>,
554        depth: impl ::core::convert::Into<i32>,
555    ) -> ::unity::Il2CppString {
556        unsafe {
557            ::unity::il2cpp_call!((::unity::module_base()+0x3535110usize)as*mut u8, ::unity::Il2CppString;
558(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(format),(crate::unity_engine::rendering::texturedimension::TextureDimension)::core::convert::Into::into(dim),(::unity::Il2CppString)::core::convert::Into::into(name),(bool)::core::convert::Into::into(mips),(i32)::core::convert::Into::into(depth))
559        }
560    }
561
562    #[doc = "`GetTextureAutoName(i32, i32, ::unity::Il2CppString, crate::unity_engine::rendering::texturedimension::TextureDimension, ::unity::Il2CppString, bool, i32)` overload"]
563    pub fn get_texture_auto_name_3(
564        width: impl ::core::convert::Into<i32>,
565        height: impl ::core::convert::Into<i32>,
566        format: impl ::core::convert::Into<::unity::Il2CppString>,
567        dim: impl ::core::convert::Into<crate::unity_engine::rendering::texturedimension::TextureDimension>,
568        name: impl ::core::convert::Into<::unity::Il2CppString>,
569        mips: impl ::core::convert::Into<bool>,
570        depth: impl ::core::convert::Into<i32>,
571    ) -> ::unity::Il2CppString {
572        unsafe {
573            ::unity::il2cpp_call!((::unity::module_base()+0x3534cd0usize)as*mut u8, ::unity::Il2CppString;
574(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(::unity::Il2CppString)::core::convert::Into::into(format),(crate::unity_engine::rendering::texturedimension::TextureDimension)::core::convert::Into::into(dim),(::unity::Il2CppString)::core::convert::Into::into(name),(bool)::core::convert::Into::into(mips),(i32)::core::convert::Into::into(depth))
575        }
576    }
577
578    #[doc = "`ClearCubemap(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::color::Color, bool)` overload"]
579    pub fn clear_cubemap(
580        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
581        render_texture: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>,
582        clear_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
583        clear_mips: impl ::core::convert::Into<bool>,
584    ) -> () {
585        unsafe {
586            ::unity::il2cpp_call!((::unity::module_base()+0x3535210usize)as*mut u8,();
587(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(render_texture),(crate::unity_engine::color::Color)::core::convert::Into::into(clear_color),(bool)::core::convert::Into::into(clear_mips))
588        }
589    }
590
591    #[doc = "`DrawFullScreen(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::material::Material, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock, i32)` overload"]
592    pub fn draw_full_screen(
593        command_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
594        material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
595        properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
596        shader_pass_id: impl ::core::convert::Into<i32>,
597    ) -> () {
598        unsafe {
599            ::unity::il2cpp_call!((::unity::module_base()+0x3535400usize)as*mut u8,();
600(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(command_buffer),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties),(i32)::core::convert::Into::into(shader_pass_id))
601        }
602    }
603
604    #[doc = "`DrawFullScreen(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::material::Material, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock, i32)` overload"]
605    pub fn draw_full_screen_2(
606        command_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
607        material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
608        color_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
609        properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
610        shader_pass_id: impl ::core::convert::Into<i32>,
611    ) -> () {
612        unsafe {
613            ::unity::il2cpp_call!((::unity::module_base()+0x3535490usize)as*mut u8,();
614(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(command_buffer),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color_buffer),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties),(i32)::core::convert::Into::into(shader_pass_id))
615        }
616    }
617
618    #[doc = "`DrawFullScreen(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::material::Material, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock, i32)` overload"]
619    pub fn draw_full_screen_3(
620        command_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
621        material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
622        color_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
623        depth_stencil_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
624        properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
625        shader_pass_id: impl ::core::convert::Into<i32>,
626    ) -> () {
627        unsafe {
628            ::unity::il2cpp_call!((::unity::module_base()+0x3535540usize)as*mut u8,();
629(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(command_buffer),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color_buffer),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth_stencil_buffer),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties),(i32)::core::convert::Into::into(shader_pass_id))
630        }
631    }
632
633    #[doc = "`DrawFullScreen(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::material::Material, ::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock, i32)` overload"]
634    pub fn draw_full_screen_4(
635        command_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
636        material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
637        color_buffers: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
638        depth_stencil_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
639        properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
640        shader_pass_id: impl ::core::convert::Into<i32>,
641    ) -> () {
642        unsafe {
643            ::unity::il2cpp_call!((::unity::module_base()+0x3535620usize)as*mut u8,();
644(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(command_buffer),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(color_buffers),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth_stencil_buffer),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties),(i32)::core::convert::Into::into(shader_pass_id))
645        }
646    }
647
648    #[doc = "`DrawFullScreen(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::material::Material, ::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock, i32)` overload"]
649    pub fn draw_full_screen_5(
650        command_buffer: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
651        material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
652        color_buffers: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
653        properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
654        shader_pass_id: impl ::core::convert::Into<i32>,
655    ) -> () {
656        unsafe {
657            ::unity::il2cpp_call!((::unity::module_base()+0x35356f0usize)as*mut u8,();
658(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(command_buffer),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(color_buffers),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties),(i32)::core::convert::Into::into(shader_pass_id))
659        }
660    }
661
662    #[doc = "`ConvertSRGBToActiveColorSpace(crate::unity_engine::color::Color)` overload"]
663    pub fn convert_srgb_to_active_color_space(
664        color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
665    ) -> crate::unity_engine::color::Color {
666        unsafe {
667            ::unity::il2cpp_call!((::unity::module_base()+0x3535840usize)as*mut u8,crate::unity_engine::color::Color;
668(crate::unity_engine::color::Color)::core::convert::Into::into(color))
669        }
670    }
671
672    #[doc = "`ConvertLinearToActiveColorSpace(crate::unity_engine::color::Color)` overload"]
673    pub fn convert_linear_to_active_color_space(
674        color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
675    ) -> crate::unity_engine::color::Color {
676        unsafe {
677            ::unity::il2cpp_call!((::unity::module_base()+0x35358c0usize)as*mut u8,crate::unity_engine::color::Color;
678(crate::unity_engine::color::Color)::core::convert::Into::into(color))
679        }
680    }
681
682    #[doc = "`CreateEngineMaterial(::unity::Il2CppString)` overload"]
683    pub fn create_engine_material(shader_path: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::material::Material {
684        unsafe {
685            ::unity::il2cpp_call!((::unity::module_base()+0x3535940usize)as*mut u8,crate::unity_engine::material::Material;
686(::unity::Il2CppString)::core::convert::Into::into(shader_path))
687        }
688    }
689
690    #[doc = "`CreateEngineMaterial(crate::unity_engine::shader::Shader)` overload"]
691    pub fn create_engine_material_2(
692        shader: impl ::core::convert::Into<crate::unity_engine::shader::Shader>,
693    ) -> crate::unity_engine::material::Material {
694        unsafe {
695            ::unity::il2cpp_call!((::unity::module_base()+0x3535a90usize)as*mut u8,crate::unity_engine::material::Material;
696(crate::unity_engine::shader::Shader)::core::convert::Into::into(shader))
697        }
698    }
699
700    pub fn has_flag<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
701        mask: impl ::core::convert::Into<M0>,
702        flag: impl ::core::convert::Into<M0>,
703    ) -> bool {
704        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
705            ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<CoreUtils as ::unity::ClassIdentity>::class(), "HasFlag", 2));
706        #[allow(clippy::type_complexity)]
707        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
708            ::std::sync::OnceLock::new();
709        let _ = true;
710        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
711            ::core::result::Result::Ok(mi) => *mi,
712            ::core::result::Result::Err(e) => {
713                panic!(
714                    "method lookup failed: {}
715::{}
716: {}
717",
718                    <CoreUtils as ::unity::ClassIdentity>::NAME,
719                    "HasFlag",
720                    e
721                )
722            },
723        };
724        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
725        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
726        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
727            let mut __guard = __cache.lock().unwrap();
728            *__guard
729                .entry(__key)
730                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
731        };
732        unsafe {
733            let __f: extern "C" fn(M0, M0, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__inflated.method_ptr);
734            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
735            __f(
736                ::core::convert::Into::into(mask),
737                ::core::convert::Into::into(flag),
738                ::core::option::Option::Some(__mi_opaque),
739            )
740        }
741    }
742
743    pub fn swap<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
744        a: impl ::core::convert::Into<*mut M0>,
745        b: impl ::core::convert::Into<*mut M0>,
746    ) -> () {
747        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
748            ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<CoreUtils as ::unity::ClassIdentity>::class(), "Swap", 2));
749        #[allow(clippy::type_complexity)]
750        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
751            ::std::sync::OnceLock::new();
752        let _ = true;
753        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
754            ::core::result::Result::Ok(mi) => *mi,
755            ::core::result::Result::Err(e) => {
756                panic!(
757                    "method lookup failed: {}
758::{}
759: {}
760",
761                    <CoreUtils as ::unity::ClassIdentity>::NAME,
762                    "Swap",
763                    e
764                )
765            },
766        };
767        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
768        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
769        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
770            let mut __guard = __cache.lock().unwrap();
771            *__guard
772                .entry(__key)
773                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
774        };
775        unsafe {
776            let __f: extern "C" fn(*mut M0, *mut M0, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__inflated.method_ptr);
777            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
778            __f(
779                ::core::convert::Into::into(a),
780                ::core::convert::Into::into(b),
781                ::core::option::Option::Some(__mi_opaque),
782            )
783        }
784    }
785
786    #[doc = "`SetKeyword(crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::Il2CppString, bool)` overload"]
787    pub fn set_keyword(
788        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
789        keyword: impl ::core::convert::Into<::unity::Il2CppString>,
790        state: impl ::core::convert::Into<bool>,
791    ) -> () {
792        unsafe {
793            ::unity::il2cpp_call!((::unity::module_base()+0x3535ba0usize)as*mut u8,();
794(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(::unity::Il2CppString)::core::convert::Into::into(keyword),(bool)::core::convert::Into::into(state))
795        }
796    }
797
798    #[doc = "`SetKeyword(crate::unity_engine::material::Material, ::unity::Il2CppString, bool)` overload"]
799    pub fn set_keyword_2(
800        material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
801        keyword: impl ::core::convert::Into<::unity::Il2CppString>,
802        state: impl ::core::convert::Into<bool>,
803    ) -> () {
804        unsafe {
805            ::unity::il2cpp_call!((::unity::module_base()+0x3535bc0usize)as*mut u8,();
806(crate::unity_engine::material::Material)::core::convert::Into::into(material),(::unity::Il2CppString)::core::convert::Into::into(keyword),(bool)::core::convert::Into::into(state))
807        }
808    }
809
810    #[doc = "`SetKeyword(crate::unity_engine::computeshader::ComputeShader, ::unity::Il2CppString, bool)` overload"]
811    pub fn set_keyword_3(
812        cs: impl ::core::convert::Into<crate::unity_engine::computeshader::ComputeShader>,
813        keyword: impl ::core::convert::Into<::unity::Il2CppString>,
814        state: impl ::core::convert::Into<bool>,
815    ) -> () {
816        unsafe {
817            ::unity::il2cpp_call!((::unity::module_base()+0x3535be0usize)as*mut u8,();
818(crate::unity_engine::computeshader::ComputeShader)::core::convert::Into::into(cs),(::unity::Il2CppString)::core::convert::Into::into(keyword),(bool)::core::convert::Into::into(state))
819        }
820    }
821
822    #[doc = "`Destroy(crate::unity_engine::object_2::Object_2)` overload"]
823    pub fn destroy(obj: impl ::core::convert::Into<crate::unity_engine::object_2::Object_2>) -> () {
824        unsafe {
825            ::unity::il2cpp_call!((::unity::module_base()+0x3535c00usize)as*mut u8,();
826(crate::unity_engine::object_2::Object_2)::core::convert::Into::into(obj))
827        }
828    }
829
830    #[doc = "`GetAllAssemblyTypes()` overload"]
831    pub fn get_all_assembly_types() -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::SystemType> {
832        unsafe {
833            ::unity::il2cpp_call!((::unity::module_base()+0x3535cb0usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1< ::unity::SystemType> ;
834            )
835        }
836    }
837
838    pub fn get_all_types_derived_from<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
839    ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::SystemType> {
840        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
841            ::unity::lookup::method_info_on_class(<CoreUtils as ::unity::ClassIdentity>::class(), "GetAllTypesDerivedFrom", 0)
842        });
843        #[allow(clippy::type_complexity)]
844        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
845            ::std::sync::OnceLock::new();
846        let _ = true;
847        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
848            ::core::result::Result::Ok(mi) => *mi,
849            ::core::result::Result::Err(e) => {
850                panic!(
851                    "method lookup failed: {}
852::{}
853: {}
854",
855                    <CoreUtils as ::unity::ClassIdentity>::NAME,
856                    "GetAllTypesDerivedFrom",
857                    e
858                )
859            },
860        };
861        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
862        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
863        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
864            let mut __guard = __cache.lock().unwrap();
865            *__guard
866                .entry(__key)
867                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
868        };
869        unsafe {
870            let __f: extern "C" fn(
871                ::unity::OptionalMethod,
872            ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::SystemType> =
873                ::core::mem::transmute(__inflated.method_ptr);
874            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
875            __f(::core::option::Option::Some(__mi_opaque))
876        }
877    }
878
879    #[doc = "`SafeRelease(crate::unity_engine::computebuffer::ComputeBuffer)` overload"]
880    pub fn safe_release(buffer: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>) -> () {
881        unsafe {
882            ::unity::il2cpp_call!((::unity::module_base()+0x3535ea0usize)as*mut u8,();
883(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(buffer))
884        }
885    }
886
887    #[doc = "`CreateCubeMesh(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
888    pub fn create_cube_mesh(
889        min: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
890        max: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
891    ) -> crate::unity_engine::mesh::Mesh {
892        unsafe {
893            ::unity::il2cpp_call!((::unity::module_base()+0x3535eb0usize)as*mut u8,crate::unity_engine::mesh::Mesh;
894(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(min),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(max))
895        }
896    }
897
898    #[doc = "`ArePostProcessesEnabled(crate::unity_engine::camera::Camera)` overload"]
899    pub fn are_post_processes_enabled(camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>) -> bool {
900        unsafe {
901            ::unity::il2cpp_call!((::unity::module_base()+0x3536250usize)as*mut u8,bool;
902(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
903        }
904    }
905
906    #[doc = "`AreAnimatedMaterialsEnabled(crate::unity_engine::camera::Camera)` overload"]
907    pub fn are_animated_materials_enabled(camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>) -> bool {
908        unsafe {
909            ::unity::il2cpp_call!((::unity::module_base()+0x3536260usize)as*mut u8,bool;
910(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
911        }
912    }
913
914    #[doc = "`IsSceneLightingDisabled(crate::unity_engine::camera::Camera)` overload"]
915    pub fn is_scene_lighting_disabled(camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>) -> bool {
916        unsafe {
917            ::unity::il2cpp_call!((::unity::module_base()+0x3536270usize)as*mut u8,bool;
918(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
919        }
920    }
921
922    #[doc = "`IsLightOverlapDebugEnabled(crate::unity_engine::camera::Camera)` overload"]
923    pub fn is_light_overlap_debug_enabled(camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>) -> bool {
924        unsafe {
925            ::unity::il2cpp_call!((::unity::module_base()+0x3536280usize)as*mut u8,bool;
926(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
927        }
928    }
929
930    #[doc = "`IsSceneViewFogEnabled(crate::unity_engine::camera::Camera)` overload"]
931    pub fn is_scene_view_fog_enabled(camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>) -> bool {
932        unsafe {
933            ::unity::il2cpp_call!((::unity::module_base()+0x3536290usize)as*mut u8,bool;
934(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
935        }
936    }
937
938    #[doc = "`DrawRendererList(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::experimental::rendering::rendererlist::RendererList)` overload"]
939    pub fn draw_renderer_list(
940        render_context: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext>,
941        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
942        renderer_list: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::rendererlist::RendererList>,
943    ) -> () {
944        unsafe {
945            ::unity::il2cpp_call!((::unity::module_base()+0x35362a0usize)as*mut u8,();
946(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext)::core::convert::Into::into(render_context),(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::experimental::rendering::rendererlist::RendererList)::core::convert::Into::into(renderer_list))
947        }
948    }
949
950    #[doc = "`.cctor()` overload"]
951    pub fn cctor() -> () {
952        unsafe {
953            ::unity::il2cpp_call!((::unity::module_base()+0x3536430usize)as*mut u8,();
954            )
955        }
956    }
957}
958
959#[cfg(feature = "unity_engine-rendering-coreutils")]
960impl CoreUtils {
961    pub fn get_black_cube_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
962        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
963    }
964
965    pub fn get_magenta_cube_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
966        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
967    }
968
969    pub fn get_magenta_cube_texture_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
970        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
971    }
972
973    pub fn get_white_cube_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
974        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
975    }
976
977    pub fn get_empty_uav_method_info() -> &'static ::unity::il2cpp::MethodInfo {
978        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
979    }
980
981    pub fn get_black_volume_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
982        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
983    }
984
985    pub fn clear_render_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
986        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
987    }
988
989    pub fn fixup_depth_slice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
990        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
991    }
992
993    pub fn fixup_depth_slice_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
994        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
995    }
996
997    pub fn set_render_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
998        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
999    }
1000
1001    pub fn set_render_target_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1002        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1003    }
1004
1005    pub fn set_render_target_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1006        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1007    }
1008
1009    pub fn set_render_target_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1010        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1011    }
1012
1013    pub fn set_render_target_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1014        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1015    }
1016
1017    pub fn set_render_target_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1018        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1019    }
1020
1021    pub fn set_render_target_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1022        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1023    }
1024
1025    pub fn set_render_target_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1026        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1027    }
1028
1029    pub fn set_render_target_9_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1030        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1031    }
1032
1033    pub fn set_render_target_10_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1034        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1035    }
1036
1037    pub fn set_render_target_11_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1038        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1039    }
1040
1041    pub fn set_render_target_12_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1042        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1043    }
1044
1045    pub fn set_viewport_and_clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1046        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1047    }
1048
1049    pub fn set_render_target_13_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1050        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1051    }
1052
1053    pub fn set_render_target_14_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1054        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1055    }
1056
1057    pub fn set_render_target_15_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1058        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1059    }
1060
1061    pub fn set_render_target_16_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1062        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1063    }
1064
1065    pub fn set_render_target_17_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1066        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1067    }
1068
1069    pub fn set_render_target_18_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1070        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1071    }
1072
1073    pub fn set_render_target_19_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1074        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1075    }
1076
1077    pub fn set_render_target_20_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1078        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1079    }
1080
1081    pub fn set_viewport_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1082        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1083    }
1084
1085    pub fn get_render_target_auto_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1086        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1087    }
1088
1089    pub fn get_render_target_auto_name_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1090        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1091    }
1092
1093    pub fn get_render_target_auto_name_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1094        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1095    }
1096
1097    pub fn get_texture_auto_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1098        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1099    }
1100
1101    pub fn get_texture_auto_name_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1102        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1103    }
1104
1105    pub fn get_texture_auto_name_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1106        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1107    }
1108
1109    pub fn clear_cubemap_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1110        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1111    }
1112
1113    pub fn draw_full_screen_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1114        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1115    }
1116
1117    pub fn draw_full_screen_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1118        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1119    }
1120
1121    pub fn draw_full_screen_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1122        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1123    }
1124
1125    pub fn draw_full_screen_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1126        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1127    }
1128
1129    pub fn draw_full_screen_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1130        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1131    }
1132
1133    pub fn convert_srgb_to_active_color_space_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1134        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1135    }
1136
1137    pub fn convert_linear_to_active_color_space_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1138        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1139    }
1140
1141    pub fn create_engine_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1142        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1143    }
1144
1145    pub fn create_engine_material_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1146        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1147    }
1148
1149    pub fn set_keyword_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1150        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1151    }
1152
1153    pub fn set_keyword_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1154        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1155    }
1156
1157    pub fn set_keyword_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1158        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1159    }
1160
1161    pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1162        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1163    }
1164
1165    pub fn get_all_assembly_types_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1166        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1167    }
1168
1169    pub fn safe_release_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1170        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1171    }
1172
1173    pub fn create_cube_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1174        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1175    }
1176
1177    pub fn are_post_processes_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1178        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1179    }
1180
1181    pub fn are_animated_materials_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1182        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1183    }
1184
1185    pub fn is_scene_lighting_disabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1186        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1187    }
1188
1189    pub fn is_light_overlap_debug_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1190        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1191    }
1192
1193    pub fn is_scene_view_fog_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1194        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1195    }
1196
1197    pub fn draw_renderer_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1198        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1199    }
1200
1201    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1202        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1203    }
1204}
1205
1206#[cfg(feature = "unity_engine-rendering-coreutils")]
1207#[doc(hidden)]
1208pub mod prelude {
1209    pub use super::{CoreUtils, ICoreUtils};
1210    pub use crate::system::object::IObject;
1211    #[cfg(feature = "system-object")]
1212    pub use crate::system::object::IObjectMethods;
1213}