Skip to main content

engage/generated/unity_engine/rendering/
renderpipelinemanager.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-renderpipelinemanager-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/renderpipelinemanager/RenderPipelineManager.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering", name = "RenderPipelineManager")]
12    #[parent(crate::system::object::Object)]
13    pub struct RenderPipelineManager {
14        #[static_field]
15        #[rename(name = "s_CurrentPipelineAsset")]
16        pub s_current_pipeline_asset: crate::unity_engine::rendering::renderpipelineasset::RenderPipelineAsset,
17        #[static_field]
18        #[rename(name = "s_Cameras")]
19        pub s_cameras: ::unity::Array<crate::unity_engine::camera::Camera>,
20        #[static_field]
21        #[rename(name = "s_CameraCapacity")]
22        pub s_camera_capacity: i32,
23        #[static_field]
24        #[rename(name = "beginFrameRendering")]
25        pub begin_frame_rendering_field: crate::system::action_2::Action_2<
26            crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
27            ::unity::Array<crate::unity_engine::camera::Camera>,
28        >,
29        #[static_field]
30        #[rename(name = "beginCameraRendering")]
31        pub begin_camera_rendering_field: crate::system::action_2::Action_2<
32            crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
33            crate::unity_engine::camera::Camera,
34        >,
35        #[static_field]
36        #[rename(name = "endFrameRendering")]
37        pub end_frame_rendering_field: crate::system::action_2::Action_2<
38            crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
39            ::unity::Array<crate::unity_engine::camera::Camera>,
40        >,
41        #[static_field]
42        #[rename(name = "endCameraRendering")]
43        pub end_camera_rendering_field: crate::system::action_2::Action_2<
44            crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
45            crate::unity_engine::camera::Camera,
46        >,
47    }
48}
49
50#[cfg(feature = "unity_engine-rendering-renderpipelinemanager-types")]
51pub use __types::*;
52
53#[cfg(feature = "unity_engine-rendering-renderpipelinemanager")]
54impl RenderPipelineManager {
55    #[doc = "`get_currentPipeline()` overload"]
56    pub fn get_current_pipeline() -> crate::unity_engine::rendering::renderpipeline::RenderPipeline {
57        unsafe {
58            ::unity::il2cpp_call!((::unity::module_base()+0x2f81020usize)as*mut u8,crate::unity_engine::rendering::renderpipeline::RenderPipeline;
59            )
60        }
61    }
62
63    #[doc = "`set_currentPipeline(crate::unity_engine::rendering::renderpipeline::RenderPipeline)` overload"]
64    pub fn set_current_pipeline(value: impl ::core::convert::Into<crate::unity_engine::rendering::renderpipeline::RenderPipeline>) -> () {
65        unsafe {
66            ::unity::il2cpp_call!((::unity::module_base()+0x2f81090usize)as*mut u8,();
67(crate::unity_engine::rendering::renderpipeline::RenderPipeline)::core::convert::Into::into(value))
68        }
69    }
70
71    #[doc = "`add_beginCameraRendering(crate::system::action_2::Action_2<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,crate::unity_engine::camera::Camera>)` overload"]
72    pub fn add_begin_camera_rendering(
73        value: impl ::core::convert::Into<
74            crate::system::action_2::Action_2<
75                crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
76                crate::unity_engine::camera::Camera,
77            >,
78        >,
79    ) -> () {
80        unsafe {
81            ::unity::il2cpp_call!((::unity::module_base()+0x2f81110usize)as*mut u8,();
82(crate::system::action_2::Action_2<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,crate::unity_engine::camera::Camera>)::core::convert::Into::into(value))
83        }
84    }
85
86    #[doc = "`remove_beginCameraRendering(crate::system::action_2::Action_2<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,crate::unity_engine::camera::Camera>)` overload"]
87    pub fn remove_begin_camera_rendering(
88        value: impl ::core::convert::Into<
89            crate::system::action_2::Action_2<
90                crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
91                crate::unity_engine::camera::Camera,
92            >,
93        >,
94    ) -> () {
95        unsafe {
96            ::unity::il2cpp_call!((::unity::module_base()+0x2f81210usize)as*mut u8,();
97(crate::system::action_2::Action_2<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,crate::unity_engine::camera::Camera>)::core::convert::Into::into(value))
98        }
99    }
100
101    #[doc = "`add_endCameraRendering(crate::system::action_2::Action_2<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,crate::unity_engine::camera::Camera>)` overload"]
102    pub fn add_end_camera_rendering(
103        value: impl ::core::convert::Into<
104            crate::system::action_2::Action_2<
105                crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
106                crate::unity_engine::camera::Camera,
107            >,
108        >,
109    ) -> () {
110        unsafe {
111            ::unity::il2cpp_call!((::unity::module_base()+0x2f81310usize)as*mut u8,();
112(crate::system::action_2::Action_2<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,crate::unity_engine::camera::Camera>)::core::convert::Into::into(value))
113        }
114    }
115
116    #[doc = "`remove_endCameraRendering(crate::system::action_2::Action_2<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,crate::unity_engine::camera::Camera>)` overload"]
117    pub fn remove_end_camera_rendering(
118        value: impl ::core::convert::Into<
119            crate::system::action_2::Action_2<
120                crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,
121                crate::unity_engine::camera::Camera,
122            >,
123        >,
124    ) -> () {
125        unsafe {
126            ::unity::il2cpp_call!((::unity::module_base()+0x2f81410usize)as*mut u8,();
127(crate::system::action_2::Action_2<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext,crate::unity_engine::camera::Camera>)::core::convert::Into::into(value))
128        }
129    }
130
131    #[doc = "`BeginFrameRendering(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, ::unity::Array<crate::unity_engine::camera::Camera>)` overload"]
132    pub fn begin_frame_rendering_fn(
133        context: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext>,
134        cameras: impl ::core::convert::Into<::unity::Array<crate::unity_engine::camera::Camera>>,
135    ) -> () {
136        unsafe {
137            ::unity::il2cpp_call!((::unity::module_base()+0x2f7fac0usize)as*mut u8,();
138(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext)::core::convert::Into::into(context),(::unity::Array<crate::unity_engine::camera::Camera>)::core::convert::Into::into(cameras))
139        }
140    }
141
142    #[doc = "`BeginCameraRendering(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, crate::unity_engine::camera::Camera)` overload"]
143    pub fn begin_camera_rendering_fn(
144        context: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext>,
145        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
146    ) -> () {
147        unsafe {
148            ::unity::il2cpp_call!((::unity::module_base()+0x2f7fc80usize)as*mut u8,();
149(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext)::core::convert::Into::into(context),(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
150        }
151    }
152
153    #[doc = "`EndFrameRendering(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, ::unity::Array<crate::unity_engine::camera::Camera>)` overload"]
154    pub fn end_frame_rendering_fn(
155        context: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext>,
156        cameras: impl ::core::convert::Into<::unity::Array<crate::unity_engine::camera::Camera>>,
157    ) -> () {
158        unsafe {
159            ::unity::il2cpp_call!((::unity::module_base()+0x2f7fe40usize)as*mut u8,();
160(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext)::core::convert::Into::into(context),(::unity::Array<crate::unity_engine::camera::Camera>)::core::convert::Into::into(cameras))
161        }
162    }
163
164    #[doc = "`EndCameraRendering(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, crate::unity_engine::camera::Camera)` overload"]
165    pub fn end_camera_rendering_fn(
166        context: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext>,
167        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
168    ) -> () {
169        unsafe {
170            ::unity::il2cpp_call!((::unity::module_base()+0x2f80000usize)as*mut u8,();
171(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext)::core::convert::Into::into(context),(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
172        }
173    }
174
175    #[doc = "`CleanupRenderPipeline()` overload"]
176    pub fn cleanup_render_pipeline() -> () {
177        unsafe {
178            ::unity::il2cpp_call!((::unity::module_base()+0x2f807f0usize)as*mut u8,();
179            )
180        }
181    }
182
183    #[doc = "`GetCameras(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext)` overload"]
184    pub fn get_cameras(context: impl ::core::convert::Into<crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext>) -> () {
185        unsafe {
186            ::unity::il2cpp_call!((::unity::module_base()+0x2f81630usize)as*mut u8,();
187(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext)::core::convert::Into::into(context))
188        }
189    }
190
191    #[doc = "`DoRenderLoop_Internal(crate::unity_engine::rendering::renderpipelineasset::RenderPipelineAsset, ::unity::IntPtr, crate::system::collections::generic::list_1::List_1<crate::unity_engine::camera::Camera_RenderRequest>)` overload"]
192    pub fn do_render_loop_internal(
193        pipe: impl ::core::convert::Into<crate::unity_engine::rendering::renderpipelineasset::RenderPipelineAsset>,
194        loop_ptr: impl ::core::convert::Into<::unity::IntPtr>,
195        render_requests: impl ::core::convert::Into<
196            crate::system::collections::generic::list_1::List_1<crate::unity_engine::camera::Camera_RenderRequest>,
197        >,
198    ) -> () {
199        unsafe {
200            ::unity::il2cpp_call!((::unity::module_base()+0x2f81a00usize)as*mut u8,();
201(crate::unity_engine::rendering::renderpipelineasset::RenderPipelineAsset)::core::convert::Into::into(pipe),(::unity::IntPtr)::core::convert::Into::into(loop_ptr),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::camera::Camera_RenderRequest>)::core::convert::Into::into(render_requests))
202        }
203    }
204
205    #[doc = "`PrepareRenderPipeline(crate::unity_engine::rendering::renderpipelineasset::RenderPipelineAsset)` overload"]
206    pub fn prepare_render_pipeline(
207        pipeline_asset: impl ::core::convert::Into<crate::unity_engine::rendering::renderpipelineasset::RenderPipelineAsset>,
208    ) -> () {
209        unsafe {
210            ::unity::il2cpp_call!((::unity::module_base()+0x2f80bb0usize)as*mut u8,();
211(crate::unity_engine::rendering::renderpipelineasset::RenderPipelineAsset)::core::convert::Into::into(pipeline_asset))
212        }
213    }
214
215    #[doc = "`.cctor()` overload"]
216    pub fn cctor() -> () {
217        unsafe {
218            ::unity::il2cpp_call!((::unity::module_base()+0x2f81c70usize)as*mut u8,();
219            )
220        }
221    }
222}
223
224#[cfg(feature = "unity_engine-rendering-renderpipelinemanager")]
225impl RenderPipelineManager {
226    pub fn get_current_pipeline_method_info() -> &'static ::unity::il2cpp::MethodInfo {
227        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
228    }
229
230    pub fn set_current_pipeline_method_info() -> &'static ::unity::il2cpp::MethodInfo {
231        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
232    }
233
234    pub fn add_begin_camera_rendering_method_info() -> &'static ::unity::il2cpp::MethodInfo {
235        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
236    }
237
238    pub fn remove_begin_camera_rendering_method_info() -> &'static ::unity::il2cpp::MethodInfo {
239        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
240    }
241
242    pub fn add_end_camera_rendering_method_info() -> &'static ::unity::il2cpp::MethodInfo {
243        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
244    }
245
246    pub fn remove_end_camera_rendering_method_info() -> &'static ::unity::il2cpp::MethodInfo {
247        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
248    }
249
250    pub fn begin_frame_rendering_fn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
251        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
252    }
253
254    pub fn begin_camera_rendering_fn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
255        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
256    }
257
258    pub fn end_frame_rendering_fn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
259        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
260    }
261
262    pub fn end_camera_rendering_fn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
263        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
264    }
265
266    pub fn cleanup_render_pipeline_method_info() -> &'static ::unity::il2cpp::MethodInfo {
267        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
268    }
269
270    pub fn get_cameras_method_info() -> &'static ::unity::il2cpp::MethodInfo {
271        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
272    }
273
274    pub fn do_render_loop_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
275        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
276    }
277
278    pub fn prepare_render_pipeline_method_info() -> &'static ::unity::il2cpp::MethodInfo {
279        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
280    }
281
282    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
283        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
284    }
285}
286
287#[cfg(feature = "unity_engine-rendering-renderpipelinemanager")]
288#[doc(hidden)]
289pub mod prelude {
290    pub use super::{IRenderPipelineManager, RenderPipelineManager};
291    pub use crate::system::object::IObject;
292    #[cfg(feature = "system-object")]
293    pub use crate::system::object::IObjectMethods;
294}