1#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 delegate::{Delegate, IDelegate},
10 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
11 object::{IObject, Object},
12 valuetype::{IValueType, ValueType},
13 };
14
15 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraph/RenderGraph_OnGraphRegisteredDelegate.md"))]
16 #[::unity::class(
17 namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule",
18 name = "RenderGraph.OnGraphRegisteredDelegate"
19 )]
20 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
21 pub struct RenderGraph_OnGraphRegisteredDelegate {}
22
23 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraph/RenderGraph.md"))]
24 #[::unity::class(namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule", name = "RenderGraph")]
25 #[parent(crate::system::object::Object)]
26 pub struct RenderGraph {
27 #[static_field]
28 #[rename(name = "kMaxMRTCount")]
29 pub k_max_mrt_count: i32,
30 #[offset(16)]
31 #[rename(name = "m_Resources")]
32 pub m_resources: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry,
33 #[offset(24)]
34 #[rename(name = "m_RenderGraphPool")]
35 pub m_render_graph_pool: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphobjectpool::RenderGraphObjectPool,
36 #[offset(32)]
37 #[rename(name = "m_RenderPasses")]
38 pub m_render_passes: crate::system::collections::generic::list_1::List_1<
39 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass,
40 >,
41 #[offset(40)]
42 #[rename(name = "m_RendererLists")]
43 pub m_renderer_lists: crate::system::collections::generic::list_1::List_1<
44 crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle,
45 >,
46 #[offset(48)]
47 #[rename(name = "m_DebugParameters")]
48 pub m_debug_parameters: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugparams::RenderGraphDebugParams,
49 #[offset(56)]
50 #[rename(name = "m_Logger")]
51 pub m_logger: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphlogger::RenderGraphLogger,
52 #[offset(64)]
53 #[rename(name = "m_DefaultResources")]
54 pub m_default_resources:
55 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdefaultresources::RenderGraphDefaultResources,
56 #[offset(72)]
57 #[rename(name = "m_DefaultProfilingSamplers")]
58 pub m_default_profiling_samplers:
59 crate::system::collections::generic::dictionary_2::Dictionary_2<i32, crate::unity_engine::rendering::profilingsampler::ProfilingSampler>,
60 #[offset(80)]
61 #[rename(name = "m_ExecutionExceptionWasRaised")]
62 pub m_execution_exception_was_raised: bool,
63 #[offset(88)]
64 #[rename(name = "m_RenderGraphContext")]
65 pub m_render_graph_context: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext,
66 #[offset(96)]
67 #[rename(name = "m_PreviousCommandBuffer")]
68 pub m_previous_command_buffer: crate::unity_engine::rendering::commandbuffer::CommandBuffer,
69 #[offset(104)]
70 #[rename(name = "m_CurrentImmediatePassIndex")]
71 pub m_current_immediate_pass_index: i32,
72 #[offset(112)]
73 #[rename(name = "m_ImmediateModeResourceList")]
74 pub m_immediate_mode_resource_list: ::unity::Array<crate::system::collections::generic::list_1::List_1<i32>>,
75 #[offset(120)]
76 #[rename(name = "m_CompiledResourcesInfos")]
77 pub m_compiled_resources_infos: ::unity::Array<
78 crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<
79 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
80 >,
81 >,
82 #[offset(128)]
83 #[rename(name = "m_CompiledPassInfos")]
84 pub m_compiled_pass_infos: crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<
85 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
86 >,
87 #[offset(136)]
88 #[rename(name = "m_CullingStack")]
89 pub m_culling_stack: crate::system::collections::generic::stack_1::Stack_1<i32>,
90 #[offset(144)]
91 #[rename(name = "m_ExecutionCount")]
92 pub m_execution_count: i32,
93 #[offset(152)]
94 #[rename(name = "m_RenderGraphDebugData")]
95 pub m_render_graph_debug_data: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugdata::RenderGraphDebugData,
96 #[static_field]
97 #[rename(name = "s_RegisteredGraphs")]
98 pub s_registered_graphs: crate::system::collections::generic::list_1::List_1<
99 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph,
100 >,
101 #[static_field]
102 #[rename(name = "onGraphRegistered")]
103 pub on_graph_registered:
104 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate,
105 #[static_field]
106 #[rename(name = "onGraphUnregistered")]
107 pub on_graph_unregistered:
108 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate,
109 }
110
111 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraph/RenderGraph_ProfilingScopePassData.md"))]
112 #[::unity::class(
113 namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule",
114 name = "RenderGraph.ProfilingScopePassData"
115 )]
116 #[parent(crate::system::object::Object)]
117 pub struct RenderGraph_ProfilingScopePassData {
118 #[offset(16)]
119 #[rename(name = "sampler")]
120 pub sampler: crate::unity_engine::rendering::profilingsampler::ProfilingSampler,
121 }
122
123 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraph/RenderGraph_CompiledPassInfo.md"))]
124 #[repr(C)]
125 #[derive(::core::clone::Clone, ::core::marker::Copy)]
126 pub struct RenderGraph_CompiledPassInfo {
127 pub pass: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass,
128 pub resource_create_list: ::unity::Array<crate::system::collections::generic::list_1::List_1<i32>>,
129 pub resource_release_list: ::unity::Array<crate::system::collections::generic::list_1::List_1<i32>>,
130 pub ref_count: i32,
131 pub culled: bool,
132 pub has_side_effect: bool,
133 pub sync_to_pass_index: i32,
134 pub sync_from_pass_index: i32,
135 pub need_graphics_fence: bool,
136 pub fence: crate::unity_engine::rendering::graphicsfence::GraphicsFence,
137 pub enable_async_compute: bool,
138 }
139 impl ::unity::ClassIdentity for RenderGraph_CompiledPassInfo {
140 const NAME: &'static str = "RenderGraph.CompiledPassInfo";
141 const NAMESPACE: &'static str = "UnityEngine.Experimental.Rendering.RenderGraphModule";
142
143 fn class() -> ::unity::Class {
144 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
145 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
146 }
147 }
148 impl ::unity::IlType for RenderGraph_CompiledPassInfo {
149 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
150 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
151 }
152 }
153
154 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraph/RenderGraph_CompiledResourceInfo.md"))]
155 #[repr(C)]
156 #[derive(::core::clone::Clone, ::core::marker::Copy)]
157 pub struct RenderGraph_CompiledResourceInfo {
158 pub producers: crate::system::collections::generic::list_1::List_1<i32>,
159 pub consumers: crate::system::collections::generic::list_1::List_1<i32>,
160 pub resource_created: bool,
161 pub ref_count: i32,
162 }
163 impl ::unity::ClassIdentity for RenderGraph_CompiledResourceInfo {
164 const NAME: &'static str = "RenderGraph.CompiledResourceInfo";
165 const NAMESPACE: &'static str = "UnityEngine.Experimental.Rendering.RenderGraphModule";
166
167 fn class() -> ::unity::Class {
168 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
169 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
170 }
171 }
172 impl ::unity::IlType for RenderGraph_CompiledResourceInfo {
173 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
174 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
175 }
176 }
177}
178
179#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph-types")]
180pub use __types::*;
181
182#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
183pub trait IRenderGraph_OnGraphRegisteredDelegateMethods: IRenderGraph_OnGraphRegisteredDelegate {
184 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
185 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
186 unsafe {
187 let __receiver = <RenderGraph_OnGraphRegisteredDelegate as ::unity::FromIlInstance>::from_il_instance(
188 <Self as ::unity::SystemObject>::as_instance(self),
189 );
190 ::unity::il2cpp_call!((::unity::module_base()+0x33edcb0usize)as*mut u8,();
191(RenderGraph_OnGraphRegisteredDelegate)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
192 }
193 }
194 #[doc = "`Invoke(crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph)` overload"]
195 fn invoke(
196 self,
197 graph: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph>,
198 ) -> () {
199 unsafe {
200 let __receiver = <RenderGraph_OnGraphRegisteredDelegate as ::unity::FromIlInstance>::from_il_instance(
201 <Self as ::unity::SystemObject>::as_instance(self),
202 );
203 {
204 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
205 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
206 panic!(
207 "unity: virtual slot {}
208 out of range (vtable len {}
209) on the runtime class behind {}
210 (method `{}
211`)",
212 13usize,
213 __vt.len(),
214 <RenderGraph_OnGraphRegisteredDelegate as ::unity::ClassIdentity>::NAME,
215 "Invoke",
216 )
217 });
218 let __inner: extern "C" fn(
219 RenderGraph_OnGraphRegisteredDelegate,
220 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph,
221 ::unity::OptionalMethod,
222 ) -> () = ::core::mem::transmute(__vi.method_ptr);
223 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
224 __inner(__receiver, ::core::convert::Into::into(graph), __mi)
225 }
226 }
227 }
228}
229
230#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
231impl<__T: IRenderGraph_OnGraphRegisteredDelegate> IRenderGraph_OnGraphRegisteredDelegateMethods for __T {}
232
233#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
234impl RenderGraph_OnGraphRegisteredDelegate {
235 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
236 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
237 }
238
239 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
240 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
241 }
242}
243
244#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
245impl RenderGraph_OnGraphRegisteredDelegate {
246 #[doc = "Direct (non-virtual) call to `RenderGraph_OnGraphRegisteredDelegate`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
247 pub unsafe fn invoke(
248 this: impl ::core::convert::Into<::unity::IlInstance>,
249 graph: crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph,
250 ) -> () {
251 let __mi = Self::invoke_method_info();
252 let __inner: extern "C" fn(
253 ::unity::IlInstance,
254 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph,
255 ::unity::OptionalMethod,
256 ) -> () = ::core::mem::transmute(__mi.method_ptr);
257 __inner(this.into(), graph, ::core::option::Option::None)
258 }
259}
260
261#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
262impl RenderGraph_OnGraphRegisteredDelegate {
263 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
264 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
265 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
266 panic!(
267 "{}
268::{}
269 failed to instantiate",
270 ::core::stringify!(RenderGraph_OnGraphRegisteredDelegate),
271 ::core::stringify!(new),
272 )
273 });
274 <Self as IRenderGraph_OnGraphRegisteredDelegateMethods>::ctor(this, object, method);
275 this
276 }
277}
278
279#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
280impl RenderGraph {
281 #[doc = "`get_requireDebugData()` overload"]
282 pub fn get_require_debug_data() -> bool {
283 unsafe {
284 ::unity::il2cpp_call!((::unity::module_base()+0x30b0f60usize)as*mut u8,bool;
285 )
286 }
287 }
288
289 #[doc = "`set_requireDebugData(bool)` overload"]
290 pub fn set_require_debug_data(value: impl ::core::convert::Into<bool>) -> () {
291 unsafe {
292 ::unity::il2cpp_call!((::unity::module_base()+0x30b0fd0usize)as*mut u8,();
293(bool)::core::convert::Into::into(value))
294 }
295 }
296
297 #[doc = "`GetRegisteredRenderGraphs()` overload"]
298 pub fn get_registered_render_graphs() -> crate::system::collections::generic::list_1::List_1<
299 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph,
300 > {
301 unsafe {
302 ::unity::il2cpp_call!((::unity::module_base()+0x30b47a0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph> ;
303 )
304 }
305 }
306
307 #[doc = "`add_onGraphRegistered(crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate)` overload"]
308 pub fn add_on_graph_registered(
309 value: impl ::core::convert::Into<
310 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate,
311 >,
312 ) -> () {
313 unsafe {
314 ::unity::il2cpp_call!((::unity::module_base()+0x30b49e0usize)as*mut u8,();
315(crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate)::core::convert::Into::into(value))
316 }
317 }
318
319 #[doc = "`remove_onGraphRegistered(crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate)` overload"]
320 pub fn remove_on_graph_registered(
321 value: impl ::core::convert::Into<
322 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate,
323 >,
324 ) -> () {
325 unsafe {
326 ::unity::il2cpp_call!((::unity::module_base()+0x30b4ae0usize)as*mut u8,();
327(crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate)::core::convert::Into::into(value))
328 }
329 }
330
331 #[doc = "`add_onGraphUnregistered(crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate)` overload"]
332 pub fn add_on_graph_unregistered(
333 value: impl ::core::convert::Into<
334 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate,
335 >,
336 ) -> () {
337 unsafe {
338 ::unity::il2cpp_call!((::unity::module_base()+0x30b4be0usize)as*mut u8,();
339(crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate)::core::convert::Into::into(value))
340 }
341 }
342
343 #[doc = "`remove_onGraphUnregistered(crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate)` overload"]
344 pub fn remove_on_graph_unregistered(
345 value: impl ::core::convert::Into<
346 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate,
347 >,
348 ) -> () {
349 unsafe {
350 ::unity::il2cpp_call!((::unity::module_base()+0x30b4ce0usize)as*mut u8,();
351(crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_OnGraphRegisteredDelegate)::core::convert::Into::into(value))
352 }
353 }
354
355 #[doc = "`.cctor()` overload"]
356 pub fn cctor() -> () {
357 unsafe {
358 ::unity::il2cpp_call!((::unity::module_base()+0x30b97d0usize)as*mut u8,();
359 )
360 }
361 }
362}
363
364#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
365pub trait IRenderGraphMethods: IRenderGraph {
366 #[doc = "`get_name()` overload"]
367 fn get_name(self) -> ::unity::Il2CppString {
368 unsafe {
369 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
370 ::unity::il2cpp_call!((::unity::module_base()+0x30b0f40usize)as*mut u8, ::unity::Il2CppString;
371(RenderGraph)__receiver)
372 }
373 }
374 #[doc = "`set_name(::unity::Il2CppString)` overload"]
375 fn set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
376 unsafe {
377 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
378 ::unity::il2cpp_call!((::unity::module_base()+0x30b0f50usize)as*mut u8,();
379(RenderGraph)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
380 }
381 }
382 #[doc = "`get_defaultResources()` overload"]
383 fn get_default_resources(
384 self,
385 ) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdefaultresources::RenderGraphDefaultResources {
386 unsafe {
387 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
388 ::unity::il2cpp_call!((::unity::module_base()+0x30b1050usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdefaultresources::RenderGraphDefaultResources;
389(RenderGraph)__receiver)
390 }
391 }
392 #[doc = "`.ctor(::unity::Il2CppString)` overload"]
393 fn ctor(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
394 unsafe {
395 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
396 ::unity::il2cpp_call!((::unity::module_base()+0x30b1060usize)as*mut u8,();
397(RenderGraph)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
398 }
399 }
400 #[doc = "`Cleanup()` overload"]
401 fn cleanup(self) -> () {
402 unsafe {
403 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
404 ::unity::il2cpp_call!((::unity::module_base()+0x30b1fa0usize)as*mut u8,();
405(RenderGraph)__receiver)
406 }
407 }
408 #[doc = "`GetDebugData()` overload"]
409 fn get_debug_data(self) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugdata::RenderGraphDebugData {
410 unsafe {
411 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
412 ::unity::il2cpp_call!((::unity::module_base()+0x30b21d0usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugdata::RenderGraphDebugData;
413(RenderGraph)__receiver)
414 }
415 }
416 #[doc = "`EndFrame()` overload"]
417 fn end_frame(self) -> () {
418 unsafe {
419 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
420 ::unity::il2cpp_call!((::unity::module_base()+0x30b21e0usize)as*mut u8,();
421(RenderGraph)__receiver)
422 }
423 }
424 #[doc = "`ImportTexture(crate::unity_engine::rendering::rthandle::RTHandle)` overload"]
425 fn import_texture(
426 self,
427 rt: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
428 ) -> crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle {
429 unsafe {
430 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
431 ::unity::il2cpp_call!((::unity::module_base()+0x30b2220usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle;
432(RenderGraph)__receiver,(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(rt))
433 }
434 }
435 #[doc = "`ImportBackbuffer(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)` overload"]
436 fn import_backbuffer(
437 self,
438 rt: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
439 ) -> crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle {
440 unsafe {
441 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
442 ::unity::il2cpp_call!((::unity::module_base()+0x30b2230usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle;
443(RenderGraph)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(rt))
444 }
445 }
446 #[doc = "`CreateTexture(*mutcrate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc)` overload"]
447 fn create_texture(
448 self,
449 ) -> (
450 crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle,
451 crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc,
452 ) {
453 unsafe {
454 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
455 let mut __out_0 =
456 ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc>::uninit();
457 let __ret = {
458 ::unity::il2cpp_call!((::unity::module_base()+0x30b2270usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle;
459(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc)__out_0.as_mut_ptr())
460 };
461 (__ret, __out_0.assume_init())
462 }
463 }
464 #[doc = "`CreateTexture(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)` overload"]
465 fn create_texture_2(
466 self,
467 texture: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle>,
468 ) -> crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle {
469 unsafe {
470 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
471 ::unity::il2cpp_call!((::unity::module_base()+0x30b2280usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle;
472(RenderGraph)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)::core::convert::Into::into(texture))
473 }
474 }
475 #[doc = "`CreateTextureIfInvalid(*mutcrate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc, *mutcrate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)` overload"]
476 fn create_texture_if_invalid(
477 self,
478 ) -> (
479 crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc,
480 crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle,
481 ) {
482 unsafe {
483 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
484 let mut __out_0 =
485 ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc>::uninit();
486 let mut __out_1 =
487 ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle>::uninit();
488 ::unity::il2cpp_call!((::unity::module_base()+0x30b2330usize)as*mut u8,();
489(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc)__out_0.as_mut_ptr(),(*mut crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)__out_1.as_mut_ptr());
490 (__out_0.assume_init(), __out_1.assume_init())
491 }
492 }
493 #[doc = "`GetTextureDesc(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)` overload"]
494 fn get_texture_desc(
495 self,
496 texture: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle>,
497 ) -> crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc {
498 unsafe {
499 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
500 ::unity::il2cpp_call!((::unity::module_base()+0x30b2390usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc;
501(RenderGraph)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)::core::convert::Into::into(texture))
502 }
503 }
504 #[doc = "`CreateRendererList(*mutcrate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc)` overload"]
505 fn create_renderer_list(
506 self,
507 ) -> (
508 crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle,
509 crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc,
510 ) {
511 unsafe {
512 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
513 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc>::uninit();
514 let __ret = {
515 ::unity::il2cpp_call!((::unity::module_base()+0x30b2410usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle;
516(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc)__out_0.as_mut_ptr())
517 };
518 (__ret, __out_0.assume_init())
519 }
520 }
521 #[doc = "`ImportComputeBuffer(crate::unity_engine::computebuffer::ComputeBuffer)` overload"]
522 fn import_compute_buffer(
523 self,
524 compute_buffer: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
525 ) -> crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle {
526 unsafe {
527 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
528 ::unity::il2cpp_call!((::unity::module_base()+0x30b2420usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle;
529(RenderGraph)__receiver,(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(compute_buffer))
530 }
531 }
532 #[doc = "`CreateComputeBuffer(*mutcrate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc)` overload"]
533 fn create_compute_buffer(
534 self,
535 ) -> (
536 crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle,
537 crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc,
538 ) {
539 unsafe {
540 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
541 let mut __out_0 = ::core::mem::MaybeUninit::<
542 crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc,
543 >::uninit();
544 let __ret = {
545 ::unity::il2cpp_call!((::unity::module_base()+0x30b2430usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle;
546(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc)__out_0.as_mut_ptr())
547 };
548 (__ret, __out_0.assume_init())
549 }
550 }
551 #[doc = "`CreateComputeBuffer(*mutcrate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle)` overload"]
552 fn create_compute_buffer_2(
553 self,
554 ) -> (
555 crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle,
556 crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle,
557 ) {
558 unsafe {
559 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
560 let mut __out_0 = ::core::mem::MaybeUninit::<
561 crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle,
562 >::uninit();
563 let __ret = {
564 ::unity::il2cpp_call!((::unity::module_base()+0x30b2440usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle;
565(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle)__out_0.as_mut_ptr())
566 };
567 (__ret, __out_0.assume_init())
568 }
569 }
570 #[doc = "`GetComputeBufferDesc(*mutcrate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle)` overload"]
571 fn get_compute_buffer_desc(
572 self,
573 ) -> (
574 crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc,
575 crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle,
576 ) {
577 unsafe {
578 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
579 let mut __out_0 = ::core::mem::MaybeUninit::<
580 crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle,
581 >::uninit();
582 let __ret = {
583 ::unity::il2cpp_call!((::unity::module_base()+0x30b24a0usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc;
584(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle)__out_0.as_mut_ptr())
585 };
586 (__ret, __out_0.assume_init())
587 }
588 }
589 fn add_render_pass<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
590 self,
591 pass_name: impl ::core::convert::Into<::unity::Il2CppString>,
592 pass_data: impl ::core::convert::Into<*mut M0>,
593 sampler: impl ::core::convert::Into<crate::unity_engine::rendering::profilingsampler::ProfilingSampler>,
594 ) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraphbuilder::RenderGraphBuilder {
595 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
596 ::unity::lookup::method_info_on_class(<RenderGraph as ::unity::ClassIdentity>::class(), "AddRenderPass", 3)
597 });
598 #[allow(clippy::type_complexity)]
599 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
600 ::std::sync::OnceLock::new();
601 let _ = false;
602 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
603 ::core::result::Result::Ok(mi) => *mi,
604 ::core::result::Result::Err(e) => {
605 panic!(
606 "method lookup failed: {}
607::{}
608: {}
609",
610 <RenderGraph as ::unity::ClassIdentity>::NAME,
611 "AddRenderPass",
612 e
613 )
614 },
615 };
616 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
617 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
618 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
619 let mut __guard = __cache.lock().unwrap();
620 *__guard
621 .entry(__key)
622 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
623 };
624 unsafe {
625 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
626 let __f: extern "C" fn(
627 RenderGraph,
628 ::unity::Il2CppString,
629 *mut M0,
630 crate::unity_engine::rendering::profilingsampler::ProfilingSampler,
631 ::unity::OptionalMethod,
632 )
633 -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraphbuilder::RenderGraphBuilder =
634 ::core::mem::transmute(__inflated.method_ptr);
635 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
636 __f(
637 __receiver,
638 ::core::convert::Into::into(pass_name),
639 ::core::convert::Into::into(pass_data),
640 ::core::convert::Into::into(sampler),
641 ::core::option::Option::Some(__mi_opaque),
642 )
643 }
644 }
645 fn add_render_pass_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
646 self,
647 pass_name: impl ::core::convert::Into<::unity::Il2CppString>,
648 pass_data: impl ::core::convert::Into<*mut M0>,
649 ) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraphbuilder::RenderGraphBuilder {
650 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
651 ::unity::lookup::method_info_on_class(<RenderGraph as ::unity::ClassIdentity>::class(), "AddRenderPass", 2)
652 });
653 #[allow(clippy::type_complexity)]
654 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
655 ::std::sync::OnceLock::new();
656 let _ = false;
657 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
658 ::core::result::Result::Ok(mi) => *mi,
659 ::core::result::Result::Err(e) => {
660 panic!(
661 "method lookup failed: {}
662::{}
663: {}
664",
665 <RenderGraph as ::unity::ClassIdentity>::NAME,
666 "AddRenderPass",
667 e
668 )
669 },
670 };
671 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
672 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
673 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
674 let mut __guard = __cache.lock().unwrap();
675 *__guard
676 .entry(__key)
677 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
678 };
679 unsafe {
680 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
681 let __f: extern "C" fn(
682 RenderGraph,
683 ::unity::Il2CppString,
684 *mut M0,
685 ::unity::OptionalMethod,
686 )
687 -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraphbuilder::RenderGraphBuilder =
688 ::core::mem::transmute(__inflated.method_ptr);
689 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
690 __f(
691 __receiver,
692 ::core::convert::Into::into(pass_name),
693 ::core::convert::Into::into(pass_data),
694 ::core::option::Option::Some(__mi_opaque),
695 )
696 }
697 }
698 #[doc = "`Begin(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraphparameters::RenderGraphParameters)` overload"]
699 fn begin(self) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraphparameters::RenderGraphParameters {
700 unsafe {
701 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
702 let mut __out_0 = ::core::mem::MaybeUninit::<
703 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphparameters::RenderGraphParameters,
704 >::uninit();
705 ::unity::il2cpp_call!((::unity::module_base()+0x30b24f0usize)as*mut u8,();
706(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraphparameters::RenderGraphParameters)__out_0.as_mut_ptr());
707 __out_0.assume_init()
708 }
709 }
710 #[doc = "`Execute()` overload"]
711 fn execute(self) -> () {
712 unsafe {
713 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
714 ::unity::il2cpp_call!((::unity::module_base()+0x30b2c20usize)as*mut u8,();
715(RenderGraph)__receiver)
716 }
717 }
718 #[doc = "`BeginProfilingSampler(crate::unity_engine::rendering::profilingsampler::ProfilingSampler)` overload"]
719 fn begin_profiling_sampler(self, sampler: impl ::core::convert::Into<crate::unity_engine::rendering::profilingsampler::ProfilingSampler>) -> () {
720 unsafe {
721 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
722 ::unity::il2cpp_call!((::unity::module_base()+0x30b41d0usize)as*mut u8,();
723(RenderGraph)__receiver,(crate::unity_engine::rendering::profilingsampler::ProfilingSampler)::core::convert::Into::into(sampler))
724 }
725 }
726 #[doc = "`EndProfilingSampler(crate::unity_engine::rendering::profilingsampler::ProfilingSampler)` overload"]
727 fn end_profiling_sampler(self, sampler: impl ::core::convert::Into<crate::unity_engine::rendering::profilingsampler::ProfilingSampler>) -> () {
728 unsafe {
729 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
730 ::unity::il2cpp_call!((::unity::module_base()+0x30b4500usize)as*mut u8,();
731(RenderGraph)__receiver,(crate::unity_engine::rendering::profilingsampler::ProfilingSampler)::core::convert::Into::into(sampler))
732 }
733 }
734 #[doc = "`GetCompiledPassInfos()` overload"]
735 fn get_compiled_pass_infos(
736 self,
737 ) -> crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<
738 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
739 > {
740 unsafe {
741 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
742 ::unity::il2cpp_call!((::unity::module_base()+0x30b4810usize)as*mut u8,crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo> ;
743(RenderGraph)__receiver)
744 }
745 }
746 #[doc = "`ClearCompiledGraph()` overload"]
747 fn clear_compiled_graph(self) -> () {
748 unsafe {
749 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
750 ::unity::il2cpp_call!((::unity::module_base()+0x30b4090usize)as*mut u8,();
751(RenderGraph)__receiver)
752 }
753 }
754 #[doc = "`InvalidateContext()` overload"]
755 fn invalidate_context(self) -> () {
756 unsafe {
757 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
758 ::unity::il2cpp_call!((::unity::module_base()+0x30b4180usize)as*mut u8,();
759(RenderGraph)__receiver)
760 }
761 }
762 #[doc = "`OnPassAdded(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass)` overload"]
763 fn on_pass_added(
764 self,
765 pass: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass>,
766 ) -> () {
767 unsafe {
768 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
769 ::unity::il2cpp_call!((::unity::module_base()+0x30b4960usize)as*mut u8,();
770(RenderGraph)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass)::core::convert::Into::into(pass))
771 }
772 }
773 #[doc = "`InitResourceInfosData(crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo>, i32)` overload"]
774 fn init_resource_infos_data(
775 self,
776 resource_infos: impl ::core::convert::Into<
777 crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<
778 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
779 >,
780 >,
781 count: impl ::core::convert::Into<i32>,
782 ) -> () {
783 unsafe {
784 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
785 ::unity::il2cpp_call!((::unity::module_base()+0x30b4de0usize)as*mut u8,();
786(RenderGraph)__receiver,(crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo>)::core::convert::Into::into(resource_infos),(i32)::core::convert::Into::into(count))
787 }
788 }
789 #[doc = "`InitializeCompilationData()` overload"]
790 fn initialize_compilation_data(self) -> () {
791 unsafe {
792 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
793 ::unity::il2cpp_call!((::unity::module_base()+0x30b4ea0usize)as*mut u8,();
794(RenderGraph)__receiver)
795 }
796 }
797 #[doc = "`CountReferences()` overload"]
798 fn count_references(self) -> () {
799 unsafe {
800 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
801 ::unity::il2cpp_call!((::unity::module_base()+0x30b5020usize)as*mut u8,();
802(RenderGraph)__receiver)
803 }
804 }
805 #[doc = "`CullOutputlessPasses()` overload"]
806 fn cull_outputless_passes(self) -> () {
807 unsafe {
808 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
809 ::unity::il2cpp_call!((::unity::module_base()+0x30b5650usize)as*mut u8,();
810(RenderGraph)__receiver)
811 }
812 }
813 #[doc = "`CullUnusedPasses()` overload"]
814 fn cull_unused_passes(self) -> () {
815 unsafe {
816 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
817 ::unity::il2cpp_call!((::unity::module_base()+0x30b5a80usize)as*mut u8,();
818(RenderGraph)__receiver)
819 }
820 }
821 #[doc = "`UpdatePassSynchronization(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, *mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, i32, i32, *muti32)` overload"]
822 fn update_pass_synchronization(
823 self,
824 current_pass_index: impl ::core::convert::Into<i32>,
825 last_producer: impl ::core::convert::Into<i32>,
826 ) -> (
827 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
828 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
829 i32,
830 ) {
831 unsafe {
832 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
833 let mut __out_0 = ::core::mem::MaybeUninit::<
834 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
835 >::uninit();
836 let mut __out_1 = ::core::mem::MaybeUninit::<
837 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
838 >::uninit();
839 let mut __out_2 = ::core::mem::MaybeUninit::<i32>::uninit();
840 ::unity::il2cpp_call!((::unity::module_base()+0x30b6740usize)as*mut u8,();
841(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo)__out_0.as_mut_ptr(),(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo)__out_1.as_mut_ptr(),(i32)::core::convert::Into::into(current_pass_index),(i32)::core::convert::Into::into(last_producer),(*mut i32)__out_2.as_mut_ptr());
842 (__out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init())
843 }
844 }
845 #[doc = "`UpdateResourceSynchronization(*muti32, *muti32, i32, *mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo)` overload"]
846 fn update_resource_synchronization(
847 self,
848 current_pass_index: impl ::core::convert::Into<i32>,
849 ) -> (
850 i32,
851 i32,
852 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
853 ) {
854 unsafe {
855 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
856 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
857 let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
858 let mut __out_2 = ::core::mem::MaybeUninit::<
859 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
860 >::uninit();
861 ::unity::il2cpp_call!((::unity::module_base()+0x30b6770usize)as*mut u8,();
862(RenderGraph)__receiver,(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr(),(i32)::core::convert::Into::into(current_pass_index),(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo)__out_2.as_mut_ptr());
863 (__out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init())
864 }
865 }
866 #[doc = "`GetLatestProducerIndex(i32, *mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo)` overload"]
867 fn get_latest_producer_index(
868 self,
869 pass_index: impl ::core::convert::Into<i32>,
870 ) -> (
871 i32,
872 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
873 ) {
874 unsafe {
875 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
876 let mut __out_0 = ::core::mem::MaybeUninit::<
877 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
878 >::uninit();
879 let __ret = {
880 ::unity::il2cpp_call!((::unity::module_base()+0x30b68a0usize)as*mut u8,i32;
881(RenderGraph)__receiver,(i32)::core::convert::Into::into(pass_index),(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo)__out_0.as_mut_ptr())
882 };
883 (__ret, __out_0.assume_init())
884 }
885 }
886 #[doc = "`GetLatestValidReadIndex(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo)` overload"]
887 fn get_latest_valid_read_index(
888 self,
889 ) -> (
890 i32,
891 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
892 ) {
893 unsafe {
894 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
895 let mut __out_0 = ::core::mem::MaybeUninit::<
896 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
897 >::uninit();
898 let __ret = {
899 ::unity::il2cpp_call!((::unity::module_base()+0x30b6a10usize)as*mut u8,i32;
900(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo)__out_0.as_mut_ptr())
901 };
902 (__ret, __out_0.assume_init())
903 }
904 }
905 #[doc = "`GetFirstValidWriteIndex(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo)` overload"]
906 fn get_first_valid_write_index(
907 self,
908 ) -> (
909 i32,
910 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
911 ) {
912 unsafe {
913 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
914 let mut __out_0 = ::core::mem::MaybeUninit::<
915 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
916 >::uninit();
917 let __ret = {
918 ::unity::il2cpp_call!((::unity::module_base()+0x30b6b10usize)as*mut u8,i32;
919(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo)__out_0.as_mut_ptr())
920 };
921 (__ret, __out_0.assume_init())
922 }
923 }
924 #[doc = "`GetLatestValidWriteIndex(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo)` overload"]
925 fn get_latest_valid_write_index(
926 self,
927 ) -> (
928 i32,
929 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
930 ) {
931 unsafe {
932 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
933 let mut __out_0 = ::core::mem::MaybeUninit::<
934 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo,
935 >::uninit();
936 let __ret = {
937 ::unity::il2cpp_call!((::unity::module_base()+0x30b6c10usize)as*mut u8,i32;
938(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo)__out_0.as_mut_ptr())
939 };
940 (__ret, __out_0.assume_init())
941 }
942 }
943 #[doc = "`UpdateResourceAllocationAndSynchronization()` overload"]
944 fn update_resource_allocation_and_synchronization(self) -> () {
945 unsafe {
946 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
947 ::unity::il2cpp_call!((::unity::module_base()+0x30b6d10usize)as*mut u8,();
948(RenderGraph)__receiver)
949 }
950 }
951 #[doc = "`CompileRenderGraph()` overload"]
952 fn compile_render_graph(self) -> () {
953 unsafe {
954 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
955 ::unity::il2cpp_call!((::unity::module_base()+0x30b3090usize)as*mut u8,();
956(RenderGraph)__receiver)
957 }
958 }
959 #[doc = "`CompilePassImmediatly(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass)` overload"]
960 fn compile_pass_immediatly(
961 self,
962 pass: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass>,
963 ) -> *mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo {
964 unsafe {
965 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
966 ::unity::il2cpp_call!((::unity::module_base()+0x30b75f0usize)as*mut u8, *mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo;
967(RenderGraph)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass)::core::convert::Into::into(pass))
968 }
969 }
970 #[doc = "`ExecutePassImmediatly(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass)` overload"]
971 fn execute_pass_immediatly(
972 self,
973 pass: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass>,
974 ) -> () {
975 unsafe {
976 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
977 ::unity::il2cpp_call!((::unity::module_base()+0x30b49b0usize)as*mut u8,();
978(RenderGraph)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass)::core::convert::Into::into(pass))
979 }
980 }
981 #[doc = "`ExecuteCompiledPass(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, i32)` overload"]
982 fn execute_compiled_pass(
983 self,
984 pass_index: impl ::core::convert::Into<i32>,
985 ) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo {
986 unsafe {
987 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
988 let mut __out_0 = ::core::mem::MaybeUninit::<
989 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
990 >::uninit();
991 ::unity::il2cpp_call!((::unity::module_base()+0x30b7ce0usize)as*mut u8,();
992(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo)__out_0.as_mut_ptr(),(i32)::core::convert::Into::into(pass_index));
993 __out_0.assume_init()
994 }
995 }
996 #[doc = "`ExecuteRenderGraph()` overload"]
997 fn execute_render_graph(self) -> () {
998 unsafe {
999 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1000 ::unity::il2cpp_call!((::unity::module_base()+0x30b30d0usize)as*mut u8,();
1001(RenderGraph)__receiver)
1002 }
1003 }
1004 #[doc = "`PreRenderPassSetRenderTargets(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)` overload"]
1005 fn pre_render_pass_set_render_targets(
1006 self,
1007 rg_context: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext>,
1008 ) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo {
1009 unsafe {
1010 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1011 let mut __out_0 = ::core::mem::MaybeUninit::<
1012 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
1013 >::uninit();
1014 ::unity::il2cpp_call!((::unity::module_base()+0x30b8cc0usize)as*mut u8,();
1015(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo)__out_0.as_mut_ptr(),(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)::core::convert::Into::into(rg_context));
1016 __out_0.assume_init()
1017 }
1018 }
1019 #[doc = "`PreRenderPassExecute(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)` overload"]
1020 fn pre_render_pass_execute(
1021 self,
1022 rg_context: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext>,
1023 ) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo {
1024 unsafe {
1025 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1026 let mut __out_0 = ::core::mem::MaybeUninit::<
1027 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
1028 >::uninit();
1029 ::unity::il2cpp_call!((::unity::module_base()+0x30b8620usize)as*mut u8,();
1030(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo)__out_0.as_mut_ptr(),(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)::core::convert::Into::into(rg_context));
1031 __out_0.assume_init()
1032 }
1033 }
1034 #[doc = "`PostRenderPassExecute(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)` overload"]
1035 fn post_render_pass_execute(
1036 self,
1037 rg_context: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext>,
1038 ) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo {
1039 unsafe {
1040 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1041 let mut __out_0 = ::core::mem::MaybeUninit::<
1042 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
1043 >::uninit();
1044 ::unity::il2cpp_call!((::unity::module_base()+0x30b8950usize)as*mut u8,();
1045(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo)__out_0.as_mut_ptr(),(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)::core::convert::Into::into(rg_context));
1046 __out_0.assume_init()
1047 }
1048 }
1049 #[doc = "`ClearRenderPasses()` overload"]
1050 fn clear_render_passes(self) -> () {
1051 unsafe {
1052 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1053 ::unity::il2cpp_call!((::unity::module_base()+0x30b4820usize)as*mut u8,();
1054(RenderGraph)__receiver)
1055 }
1056 }
1057 #[doc = "`ReleaseImmediateModeResources()` overload"]
1058 fn release_immediate_mode_resources(self) -> () {
1059 unsafe {
1060 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1061 ::unity::il2cpp_call!((::unity::module_base()+0x30b3e70usize)as*mut u8,();
1062(RenderGraph)__receiver)
1063 }
1064 }
1065 #[doc = "`LogFrameInformation()` overload"]
1066 fn log_frame_information(self) -> () {
1067 unsafe {
1068 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1069 ::unity::il2cpp_call!((::unity::module_base()+0x30b29a0usize)as*mut u8,();
1070(RenderGraph)__receiver)
1071 }
1072 }
1073 #[doc = "`LogRendererListsCreation()` overload"]
1074 fn log_renderer_lists_creation(self) -> () {
1075 unsafe {
1076 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1077 ::unity::il2cpp_call!((::unity::module_base()+0x30b7480usize)as*mut u8,();
1078(RenderGraph)__receiver)
1079 }
1080 }
1081 #[doc = "`LogRenderPassBegin(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo)` overload"]
1082 fn log_render_pass_begin(self) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo {
1083 unsafe {
1084 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1085 let mut __out_0 = ::core::mem::MaybeUninit::<
1086 crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo,
1087 >::uninit();
1088 ::unity::il2cpp_call!((::unity::module_base()+0x30b8100usize)as*mut u8,();
1089(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo)__out_0.as_mut_ptr());
1090 __out_0.assume_init()
1091 }
1092 }
1093 #[doc = "`LogCulledPasses()` overload"]
1094 fn log_culled_passes(self) -> () {
1095 unsafe {
1096 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1097 ::unity::il2cpp_call!((::unity::module_base()+0x30b6160usize)as*mut u8,();
1098(RenderGraph)__receiver)
1099 }
1100 }
1101 #[doc = "`GetDefaultProfilingSampler(::unity::Il2CppString)` overload"]
1102 fn get_default_profiling_sampler(
1103 self,
1104 name: impl ::core::convert::Into<::unity::Il2CppString>,
1105 ) -> crate::unity_engine::rendering::profilingsampler::ProfilingSampler {
1106 unsafe {
1107 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1108 ::unity::il2cpp_call!((::unity::module_base()+0x30b9390usize)as*mut u8,crate::unity_engine::rendering::profilingsampler::ProfilingSampler;
1109(RenderGraph)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1110 }
1111 }
1112 #[doc = "`UpdateImportedResourceLifeTime(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugdata::RenderGraphDebugData_ResourceDebugData, crate::system::collections::generic::list_1::List_1<i32>)` overload"]
1113 fn update_imported_resource_life_time(
1114 self,
1115 pass_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<i32>>,
1116 ) -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugdata::RenderGraphDebugData_ResourceDebugData {
1117 unsafe {
1118 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1119 let mut __out_0 = ::core::mem::MaybeUninit::<
1120 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugdata::RenderGraphDebugData_ResourceDebugData,
1121 >::uninit();
1122 ::unity::il2cpp_call!((::unity::module_base()+0x30b9470usize)as*mut u8,();
1123(RenderGraph)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugdata::RenderGraphDebugData_ResourceDebugData)__out_0.as_mut_ptr(),(crate::system::collections::generic::list_1::List_1<i32>)::core::convert::Into::into(pass_list));
1124 __out_0.assume_init()
1125 }
1126 }
1127 #[doc = "`GenerateDebugData()` overload"]
1128 fn generate_debug_data(self) -> () {
1129 unsafe {
1130 let __receiver = <RenderGraph as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1131 ::unity::il2cpp_call!((::unity::module_base()+0x30b3170usize)as*mut u8,();
1132(RenderGraph)__receiver)
1133 }
1134 }
1135}
1136
1137#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1138impl<__T: IRenderGraph> IRenderGraphMethods for __T {}
1139
1140#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1141impl RenderGraph {
1142 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1143 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1144 }
1145
1146 pub fn set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1147 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1148 }
1149
1150 pub fn get_require_debug_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1151 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1152 }
1153
1154 pub fn set_require_debug_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1155 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1156 }
1157
1158 pub fn get_default_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1159 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1160 }
1161
1162 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1163 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1164 }
1165
1166 pub fn cleanup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1167 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1168 }
1169
1170 pub fn get_debug_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1171 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1172 }
1173
1174 pub fn end_frame_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1175 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1176 }
1177
1178 pub fn import_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1179 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1180 }
1181
1182 pub fn import_backbuffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1183 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1184 }
1185
1186 pub fn create_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1187 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1188 }
1189
1190 pub fn create_texture_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1191 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1192 }
1193
1194 pub fn create_texture_if_invalid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1195 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1196 }
1197
1198 pub fn get_texture_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1199 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1200 }
1201
1202 pub fn create_renderer_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1203 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1204 }
1205
1206 pub fn import_compute_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1207 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1208 }
1209
1210 pub fn create_compute_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1211 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1212 }
1213
1214 pub fn create_compute_buffer_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1215 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1216 }
1217
1218 pub fn get_compute_buffer_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1219 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1220 }
1221
1222 pub fn begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1223 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1224 }
1225
1226 pub fn execute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1227 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1228 }
1229
1230 pub fn begin_profiling_sampler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1231 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1232 }
1233
1234 pub fn end_profiling_sampler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1235 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1236 }
1237
1238 pub fn get_registered_render_graphs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1239 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1240 }
1241
1242 pub fn get_compiled_pass_infos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1243 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1244 }
1245
1246 pub fn clear_compiled_graph_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1247 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1248 }
1249
1250 pub fn invalidate_context_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1251 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1252 }
1253
1254 pub fn on_pass_added_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1255 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1256 }
1257
1258 pub fn add_on_graph_registered_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1259 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1260 }
1261
1262 pub fn remove_on_graph_registered_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1263 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1264 }
1265
1266 pub fn add_on_graph_unregistered_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1267 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1268 }
1269
1270 pub fn remove_on_graph_unregistered_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1271 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1272 }
1273
1274 pub fn init_resource_infos_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1275 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1276 }
1277
1278 pub fn initialize_compilation_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1279 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1280 }
1281
1282 pub fn count_references_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1283 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1284 }
1285
1286 pub fn cull_outputless_passes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1287 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1288 }
1289
1290 pub fn cull_unused_passes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1291 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1292 }
1293
1294 pub fn update_pass_synchronization_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1295 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1296 }
1297
1298 pub fn update_resource_synchronization_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1299 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1300 }
1301
1302 pub fn get_latest_producer_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1303 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1304 }
1305
1306 pub fn get_latest_valid_read_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1307 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1308 }
1309
1310 pub fn get_first_valid_write_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1311 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1312 }
1313
1314 pub fn get_latest_valid_write_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1315 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1316 }
1317
1318 pub fn update_resource_allocation_and_synchronization_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1319 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1320 }
1321
1322 pub fn compile_render_graph_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1323 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1324 }
1325
1326 pub fn compile_pass_immediatly_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1327 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1328 }
1329
1330 pub fn execute_pass_immediatly_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1331 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1332 }
1333
1334 pub fn execute_compiled_pass_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1335 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1336 }
1337
1338 pub fn execute_render_graph_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1339 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1340 }
1341
1342 pub fn pre_render_pass_set_render_targets_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1343 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1344 }
1345
1346 pub fn pre_render_pass_execute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1347 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1348 }
1349
1350 pub fn post_render_pass_execute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1351 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1352 }
1353
1354 pub fn clear_render_passes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1355 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1356 }
1357
1358 pub fn release_immediate_mode_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1359 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1360 }
1361
1362 pub fn log_frame_information_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1363 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1364 }
1365
1366 pub fn log_renderer_lists_creation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1367 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1368 }
1369
1370 pub fn log_render_pass_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1371 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1372 }
1373
1374 pub fn log_culled_passes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1375 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1376 }
1377
1378 pub fn get_default_profiling_sampler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1379 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1380 }
1381
1382 pub fn update_imported_resource_life_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1383 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1384 }
1385
1386 pub fn generate_debug_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1387 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1388 }
1389
1390 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1391 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1392 }
1393}
1394
1395#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1396impl RenderGraph {
1397 #[doc = "`.ctor(::unity::Il2CppString)` — overload selector"]
1398 pub fn new(name: ::unity::Il2CppString) -> Self {
1399 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1400 panic!(
1401 "{}
1402::{}
1403 failed to instantiate",
1404 ::core::stringify!(RenderGraph),
1405 ::core::stringify!(new),
1406 )
1407 });
1408 <Self as IRenderGraphMethods>::ctor(this, name);
1409 this
1410 }
1411}
1412
1413#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1414pub trait IRenderGraph_ProfilingScopePassDataMethods: IRenderGraph_ProfilingScopePassData {
1415 #[doc = "`.ctor()` overload"]
1416 fn ctor(self) -> () {
1417 unsafe {
1418 let __receiver =
1419 <RenderGraph_ProfilingScopePassData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1420 ::unity::il2cpp_call!((::unity::module_base()+0x33ee070usize)as*mut u8,();
1421(RenderGraph_ProfilingScopePassData)__receiver)
1422 }
1423 }
1424}
1425
1426#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1427impl<__T: IRenderGraph_ProfilingScopePassData> IRenderGraph_ProfilingScopePassDataMethods for __T {}
1428
1429#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1430impl RenderGraph_ProfilingScopePassData {
1431 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1432 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1433 }
1434}
1435
1436#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1437impl RenderGraph_ProfilingScopePassData {
1438 #[doc = "`.ctor()` — no args"]
1439 pub fn new() -> Self {
1440 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1441 panic!(
1442 "{}
1443::{}
1444 failed to instantiate",
1445 ::core::stringify!(RenderGraph_ProfilingScopePassData),
1446 ::core::stringify!(new),
1447 )
1448 });
1449 <Self as IRenderGraph_ProfilingScopePassDataMethods>::ctor(this);
1450 this
1451 }
1452}
1453
1454#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1455impl RenderGraph_CompiledPassInfo {
1456 #[doc = "`get_allowPassCulling()` overload"]
1457 pub fn get_allow_pass_culling(&mut self) -> bool {
1458 unsafe {
1459 ::unity::il2cpp_call!((::unity::module_base()+0x33ed8e0usize)as*mut u8,bool;
1460(*mut RenderGraph_CompiledPassInfo)self as*mut RenderGraph_CompiledPassInfo)
1461 }
1462 }
1463
1464 #[doc = "`Reset(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass)` overload"]
1465 pub fn reset(
1466 &mut self,
1467 pass: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass>,
1468 ) -> () {
1469 unsafe {
1470 ::unity::il2cpp_call!((::unity::module_base()+0x33ed8f0usize)as*mut u8,();
1471(*mut RenderGraph_CompiledPassInfo)self as*mut RenderGraph_CompiledPassInfo,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass)::core::convert::Into::into(pass))
1472 }
1473 }
1474}
1475
1476#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1477impl RenderGraph_CompiledPassInfo {
1478 pub fn get_allow_pass_culling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1479 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1480 }
1481
1482 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1483 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1484 }
1485}
1486
1487#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1488impl RenderGraph_CompiledResourceInfo {
1489 #[doc = "`Reset()` overload"]
1490 pub fn reset(&mut self) -> () {
1491 unsafe {
1492 ::unity::il2cpp_call!((::unity::module_base()+0x33edbb0usize)as*mut u8,();
1493(*mut RenderGraph_CompiledResourceInfo)self as*mut RenderGraph_CompiledResourceInfo)
1494 }
1495 }
1496}
1497
1498#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1499impl RenderGraph_CompiledResourceInfo {
1500 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1501 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1502 }
1503}
1504
1505#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraph")]
1506#[doc(hidden)]
1507pub mod prelude {
1508 pub use super::{
1509 IRenderGraph, IRenderGraphMethods, IRenderGraph_OnGraphRegisteredDelegate, IRenderGraph_OnGraphRegisteredDelegateMethods,
1510 IRenderGraph_ProfilingScopePassData, IRenderGraph_ProfilingScopePassDataMethods, RenderGraph, RenderGraph_CompiledPassInfo,
1511 RenderGraph_CompiledResourceInfo, RenderGraph_OnGraphRegisteredDelegate, RenderGraph_ProfilingScopePassData,
1512 };
1513 #[cfg(feature = "system-delegate")]
1514 pub use crate::system::delegate::IDelegateMethods;
1515 #[cfg(feature = "system-multicastdelegate")]
1516 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
1517 #[cfg(feature = "system-object")]
1518 pub use crate::system::object::IObjectMethods;
1519 #[cfg(feature = "system-valuetype")]
1520 pub use crate::system::valuetype::IValueTypeMethods;
1521 pub use crate::system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, valuetype::IValueType};
1522}