1#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 valuetype::{IValueType, ValueType},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraphresourceregistry/RenderGraphResourceRegistry_ComputeBufferResource.md"))]
14 #[::unity::class(
15 namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule",
16 name = "RenderGraphResourceRegistry.ComputeBufferResource"
17 )]
18 #[parent(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_RenderGraphResource_2<crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc,crate::unity_engine::computebuffer::ComputeBuffer>)]
19 pub struct RenderGraphResourceRegistry_ComputeBufferResource {}
20
21 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraphresourceregistry/RenderGraphResourceRegistry_TextureResource.md"))]
22 #[::unity::class(
23 namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule",
24 name = "RenderGraphResourceRegistry.TextureResource"
25 )]
26 #[parent(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_RenderGraphResource_2<crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc,crate::unity_engine::rendering::rthandle::RTHandle>)]
27 pub struct RenderGraphResourceRegistry_TextureResource {}
28
29 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraphresourceregistry/RenderGraphResourceRegistry.md"))]
30 #[::unity::class(namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule", name = "RenderGraphResourceRegistry")]
31 #[parent(crate::system::object::Object)]
32 pub struct RenderGraphResourceRegistry{#[static_field]#[rename(name="s_EmptyName")]pub s_empty_name:crate::unity_engine::rendering::shadertagid::ShaderTagId, #[static_field]#[rename(name="m_CurrentRegistry")]pub m_current_registry:crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry, #[offset(16)]#[rename(name="m_Resources")]pub m_resources: ::unity::Array<crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_IRenderGraphResource> > , #[offset(24)]#[rename(name="m_TexturePool")]pub m_texture_pool:crate::unity_engine::experimental::rendering::render_graph_module::texturepool::TexturePool, #[offset(32)]#[rename(name="m_TextureCreationIndex")]pub m_texture_creation_index:i32, #[offset(40)]#[rename(name="m_ComputeBufferPool")]pub m_compute_buffer_pool:crate::unity_engine::experimental::rendering::render_graph_module::computebufferpool::ComputeBufferPool, #[offset(48)]#[rename(name="m_RendererListResources")]pub m_renderer_list_resources:crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_RendererListResource> , #[offset(56)]#[rename(name="m_RenderGraphDebug")]pub m_render_graph_debug:crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugparams::RenderGraphDebugParams, #[offset(64)]#[rename(name="m_Logger")]pub m_logger:crate::unity_engine::experimental::rendering::render_graph_module::rendergraphlogger::RenderGraphLogger, #[offset(72)]#[rename(name="m_CurrentFrameIndex")]pub m_current_frame_index:i32, #[offset(80)]#[rename(name="m_CurrentBackbuffer")]pub m_current_backbuffer:crate::unity_engine::rendering::rthandle::RTHandle,}
33
34 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraphresourceregistry/RenderGraphResourceRegistry_IRenderGraphResource.md"))]
35 #[::unity::class(
36 namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule",
37 name = "RenderGraphResourceRegistry.IRenderGraphResource"
38 )]
39 #[parent(crate::system::object::Object)]
40 pub struct RenderGraphResourceRegistry_IRenderGraphResource {
41 #[offset(16)]
42 #[rename(name = "imported")]
43 pub imported: bool,
44 #[offset(20)]
45 #[rename(name = "cachedHash")]
46 pub cached_hash: i32,
47 #[offset(24)]
48 #[rename(name = "transientPassIndex")]
49 pub transient_pass_index: i32,
50 #[offset(28)]
51 #[rename(name = "wasReleased")]
52 pub was_released: bool,
53 }
54
55 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraphresourceregistry/RenderGraphResourceRegistry_RendererListResource.md"))]
56 #[repr(C)]
57 #[derive(::core::clone::Clone, ::core::marker::Copy)]
58 pub struct RenderGraphResourceRegistry_RendererListResource {
59 pub desc: crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc,
60 pub renderer_list: crate::unity_engine::experimental::rendering::rendererlist::RendererList,
61 }
62 impl ::unity::ClassIdentity for RenderGraphResourceRegistry_RendererListResource {
63 const NAME: &'static str = "RenderGraphResourceRegistry.RendererListResource";
64 const NAMESPACE: &'static str = "UnityEngine.Experimental.Rendering.RenderGraphModule";
65
66 fn class() -> ::unity::Class {
67 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
68 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
69 }
70 }
71 impl ::unity::IlType for RenderGraphResourceRegistry_RendererListResource {
72 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
73 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
74 }
75 }
76
77 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraphresourceregistry/RenderGraphResourceRegistry_RenderGraphResource_2.md"))]
78 #[::unity::class(
79 namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule",
80 name = "RenderGraphResourceRegistry.RenderGraphResource`2"
81 )]
82 #[parent(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_IRenderGraphResource)]
83 #[parent(crate::system::object::Object)]
84 pub struct RenderGraphResourceRegistry_RenderGraphResource_2<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity> {
85 #[rename(name = "desc")]
86 pub desc: T0,
87 #[rename(name = "resource")]
88 pub resource: T1,
89 }
90}
91
92#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry-types")]
93pub use __types::*;
94
95#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
96pub trait IRenderGraphResourceRegistry_ComputeBufferResourceMethods: IRenderGraphResourceRegistry_ComputeBufferResource {
97 #[doc = "`GetName()` overload"]
98 fn get_name(self) -> ::unity::Il2CppString {
99 unsafe {
100 let __receiver = <RenderGraphResourceRegistry_ComputeBufferResource as ::unity::FromIlInstance>::from_il_instance(
101 <Self as ::unity::SystemObject>::as_instance(self),
102 );
103 {
104 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
105 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
106 panic!(
107 "unity: virtual slot {}
108 out of range (vtable len {}
109) on the runtime class behind {}
110 (method `{}
111`)",
112 5usize,
113 __vt.len(),
114 <RenderGraphResourceRegistry_ComputeBufferResource as ::unity::ClassIdentity>::NAME,
115 "GetName",
116 )
117 });
118 let __inner: extern "C" fn(RenderGraphResourceRegistry_ComputeBufferResource, ::unity::OptionalMethod) -> ::unity::Il2CppString =
119 ::core::mem::transmute(__vi.method_ptr);
120 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
121 __inner(__receiver, __mi)
122 }
123 }
124 }
125 #[doc = "`.ctor()` overload"]
126 fn ctor(self) -> () {
127 unsafe {
128 let __receiver = <RenderGraphResourceRegistry_ComputeBufferResource as ::unity::FromIlInstance>::from_il_instance(
129 <Self as ::unity::SystemObject>::as_instance(self),
130 );
131 ::unity::il2cpp_call!((::unity::module_base()+0x33ee0e0usize)as*mut u8,();
132(RenderGraphResourceRegistry_ComputeBufferResource)__receiver)
133 }
134 }
135}
136
137#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
138impl<__T: IRenderGraphResourceRegistry_ComputeBufferResource> IRenderGraphResourceRegistry_ComputeBufferResourceMethods for __T {}
139
140#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
141impl RenderGraphResourceRegistry_ComputeBufferResource {
142 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
143 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
144 }
145
146 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
147 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
148 }
149}
150
151#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
152impl RenderGraphResourceRegistry_ComputeBufferResource {
153 #[doc = "Direct (non-virtual) call to `RenderGraphResourceRegistry_ComputeBufferResource`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
154 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
155 let __mi = Self::get_name_method_info();
156 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
157 __inner(this.into(), ::core::option::Option::None)
158 }
159}
160
161#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
162impl RenderGraphResourceRegistry_ComputeBufferResource {
163 #[doc = "`.ctor()` — no args"]
164 pub fn new() -> Self {
165 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
166 panic!(
167 "{}
168::{}
169 failed to instantiate",
170 ::core::stringify!(RenderGraphResourceRegistry_ComputeBufferResource),
171 ::core::stringify!(new),
172 )
173 });
174 <Self as IRenderGraphResourceRegistry_ComputeBufferResourceMethods>::ctor(this);
175 this
176 }
177}
178
179#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
180pub trait IRenderGraphResourceRegistry_TextureResourceMethods: IRenderGraphResourceRegistry_TextureResource {
181 #[doc = "`GetName()` overload"]
182 fn get_name(self) -> ::unity::Il2CppString {
183 unsafe {
184 let __receiver = <RenderGraphResourceRegistry_TextureResource as ::unity::FromIlInstance>::from_il_instance(
185 <Self as ::unity::SystemObject>::as_instance(self),
186 );
187 {
188 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
189 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
190 panic!(
191 "unity: virtual slot {}
192 out of range (vtable len {}
193) on the runtime class behind {}
194 (method `{}
195`)",
196 5usize,
197 __vt.len(),
198 <RenderGraphResourceRegistry_TextureResource as ::unity::ClassIdentity>::NAME,
199 "GetName",
200 )
201 });
202 let __inner: extern "C" fn(RenderGraphResourceRegistry_TextureResource, ::unity::OptionalMethod) -> ::unity::Il2CppString =
203 ::core::mem::transmute(__vi.method_ptr);
204 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
205 __inner(__receiver, __mi)
206 }
207 }
208 }
209 #[doc = "`.ctor()` overload"]
210 fn ctor(self) -> () {
211 unsafe {
212 let __receiver = <RenderGraphResourceRegistry_TextureResource as ::unity::FromIlInstance>::from_il_instance(
213 <Self as ::unity::SystemObject>::as_instance(self),
214 );
215 ::unity::il2cpp_call!((::unity::module_base()+0x33ee250usize)as*mut u8,();
216(RenderGraphResourceRegistry_TextureResource)__receiver)
217 }
218 }
219}
220
221#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
222impl<__T: IRenderGraphResourceRegistry_TextureResource> IRenderGraphResourceRegistry_TextureResourceMethods for __T {}
223
224#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
225impl RenderGraphResourceRegistry_TextureResource {
226 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
227 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
228 }
229
230 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
231 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
232 }
233}
234
235#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
236impl RenderGraphResourceRegistry_TextureResource {
237 #[doc = "Direct (non-virtual) call to `RenderGraphResourceRegistry_TextureResource`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
238 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
239 let __mi = Self::get_name_method_info();
240 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
241 __inner(this.into(), ::core::option::Option::None)
242 }
243}
244
245#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
246impl RenderGraphResourceRegistry_TextureResource {
247 #[doc = "`.ctor()` — no args"]
248 pub fn new() -> Self {
249 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
250 panic!(
251 "{}
252::{}
253 failed to instantiate",
254 ::core::stringify!(RenderGraphResourceRegistry_TextureResource),
255 ::core::stringify!(new),
256 )
257 });
258 <Self as IRenderGraphResourceRegistry_TextureResourceMethods>::ctor(this);
259 this
260 }
261}
262
263#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
264impl RenderGraphResourceRegistry {
265 #[doc = "`get_current()` overload"]
266 pub fn get_current() -> crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry
267 {
268 unsafe {
269 ::unity::il2cpp_call!((::unity::module_base()+0x33dc450usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry;
270 )
271 }
272 }
273
274 #[doc = "`set_current(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry)` overload"]
275 pub fn set_current(
276 value: impl ::core::convert::Into<
277 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry,
278 >,
279 ) -> () {
280 unsafe {
281 ::unity::il2cpp_call!((::unity::module_base()+0x33dc4c0usize)as*mut u8,();
282(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry)::core::convert::Into::into(value))
283 }
284 }
285
286 #[doc = "`.cctor()` overload"]
287 pub fn cctor() -> () {
288 unsafe {
289 ::unity::il2cpp_call!((::unity::module_base()+0x33e03d0usize)as*mut u8,();
290 )
291 }
292 }
293}
294
295#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
296pub trait IRenderGraphResourceRegistryMethods: IRenderGraphResourceRegistry {
297 #[doc = "`GetTexture(*mutcrate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)` overload"]
298 fn get_texture(
299 self,
300 ) -> (
301 crate::unity_engine::rendering::rthandle::RTHandle,
302 crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle,
303 ) {
304 unsafe {
305 let __receiver =
306 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
307 let mut __out_0 =
308 ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle>::uninit();
309 let __ret = {
310 ::unity::il2cpp_call!((::unity::module_base()+0x33dc540usize)as*mut u8,crate::unity_engine::rendering::rthandle::RTHandle;
311(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)__out_0.as_mut_ptr())
312 };
313 (__ret, __out_0.assume_init())
314 }
315 }
316 #[doc = "`GetRendererList(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle)` overload"]
317 fn get_renderer_list(
318 self,
319 ) -> (
320 crate::unity_engine::experimental::rendering::rendererlist::RendererList,
321 crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle,
322 ) {
323 unsafe {
324 let __receiver =
325 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
326 let mut __out_0 = ::core::mem::MaybeUninit::<
327 crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle,
328 >::uninit();
329 let __ret = {
330 ::unity::il2cpp_call!((::unity::module_base()+0x33dc7a0usize)as*mut u8,crate::unity_engine::experimental::rendering::rendererlist::RendererList;
331(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle)__out_0.as_mut_ptr())
332 };
333 (__ret, __out_0.assume_init())
334 }
335 }
336 #[doc = "`GetComputeBuffer(*mutcrate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle)` overload"]
337 fn get_compute_buffer(
338 self,
339 ) -> (
340 crate::unity_engine::computebuffer::ComputeBuffer,
341 crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle,
342 ) {
343 unsafe {
344 let __receiver =
345 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
346 let mut __out_0 = ::core::mem::MaybeUninit::<
347 crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle,
348 >::uninit();
349 let __ret = {
350 ::unity::il2cpp_call!((::unity::module_base()+0x33dc880usize)as*mut u8,crate::unity_engine::computebuffer::ComputeBuffer;
351(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle)__out_0.as_mut_ptr())
352 };
353 (__ret, __out_0.assume_init())
354 }
355 }
356 #[doc = "`.ctor()` overload"]
357 fn ctor(self) -> () {
358 unsafe {
359 let __receiver =
360 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
361 ::unity::il2cpp_call!((::unity::module_base()+0x33dc9f0usize)as*mut u8,();
362(RenderGraphResourceRegistry)__receiver)
363 }
364 }
365 #[doc = "`.ctor(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugparams::RenderGraphDebugParams, crate::unity_engine::experimental::rendering::render_graph_module::rendergraphlogger::RenderGraphLogger)` overload"]
366 fn ctor_2(
367 self,
368 render_graph_debug: impl ::core::convert::Into<
369 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugparams::RenderGraphDebugParams,
370 >,
371 logger: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphlogger::RenderGraphLogger>,
372 ) -> () {
373 unsafe {
374 let __receiver =
375 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376 ::unity::il2cpp_call!((::unity::module_base()+0x33dcbc0usize)as*mut u8,();
377(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugparams::RenderGraphDebugParams)::core::convert::Into::into(render_graph_debug),(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphlogger::RenderGraphLogger)::core::convert::Into::into(logger))
378 }
379 }
380 #[doc = "`BeginRender(i32, i32)` overload"]
381 fn begin_render(self, current_frame_index: impl ::core::convert::Into<i32>, execution_count: impl ::core::convert::Into<i32>) -> () {
382 unsafe {
383 let __receiver =
384 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
385 ::unity::il2cpp_call!((::unity::module_base()+0x33dce30usize)as*mut u8,();
386(RenderGraphResourceRegistry)__receiver,(i32)::core::convert::Into::into(current_frame_index),(i32)::core::convert::Into::into(execution_count))
387 }
388 }
389 #[doc = "`EndRender()` overload"]
390 fn end_render(self) -> () {
391 unsafe {
392 let __receiver =
393 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
394 ::unity::il2cpp_call!((::unity::module_base()+0x33dd0c0usize)as*mut u8,();
395(RenderGraphResourceRegistry)__receiver)
396 }
397 }
398 #[doc = "`CheckHandleValidity(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
399 fn check_handle_validity(self) -> crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle {
400 unsafe {
401 let __receiver =
402 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403 let mut __out_0 = ::core::mem::MaybeUninit::<
404 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
405 >::uninit();
406 ::unity::il2cpp_call!((::unity::module_base()+0x33dd190usize)as*mut u8,();
407(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr());
408 __out_0.assume_init()
409 }
410 }
411 #[doc = "`CheckHandleValidity(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourcetype::RenderGraphResourceType, i32)` overload"]
412 fn check_handle_validity_2(
413 self,
414 r#type: impl ::core::convert::Into<
415 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourcetype::RenderGraphResourceType,
416 >,
417 index: impl ::core::convert::Into<i32>,
418 ) -> () {
419 unsafe {
420 let __receiver =
421 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422 ::unity::il2cpp_call!((::unity::module_base()+0x33dd1b0usize)as*mut u8,();
423(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourcetype::RenderGraphResourceType)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index))
424 }
425 }
426 #[doc = "`GetResourceName(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
427 fn get_resource_name(
428 self,
429 ) -> (
430 ::unity::Il2CppString,
431 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
432 ) {
433 unsafe {
434 let __receiver =
435 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
436 let mut __out_0 = ::core::mem::MaybeUninit::<
437 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
438 >::uninit();
439 let __ret = {
440 ::unity::il2cpp_call!((::unity::module_base()+0x33dd2d0usize)as*mut u8, ::unity::Il2CppString;
441(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr())
442 };
443 (__ret, __out_0.assume_init())
444 }
445 }
446 #[doc = "`GetResourceName(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourcetype::RenderGraphResourceType, i32)` overload"]
447 fn get_resource_name_2(
448 self,
449 r#type: impl ::core::convert::Into<
450 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourcetype::RenderGraphResourceType,
451 >,
452 index: impl ::core::convert::Into<i32>,
453 ) -> ::unity::Il2CppString {
454 unsafe {
455 let __receiver =
456 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
457 ::unity::il2cpp_call!((::unity::module_base()+0x33dd380usize)as*mut u8, ::unity::Il2CppString;
458(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourcetype::RenderGraphResourceType)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index))
459 }
460 }
461 #[doc = "`IsResourceImported(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
462 fn is_resource_imported(
463 self,
464 ) -> (
465 bool,
466 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
467 ) {
468 unsafe {
469 let __receiver =
470 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
471 let mut __out_0 = ::core::mem::MaybeUninit::<
472 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
473 >::uninit();
474 let __ret = {
475 ::unity::il2cpp_call!((::unity::module_base()+0x33dd420usize)as*mut u8,bool;
476(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr())
477 };
478 (__ret, __out_0.assume_init())
479 }
480 }
481 #[doc = "`IsResourceCreated(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
482 fn is_resource_created(
483 self,
484 ) -> (
485 bool,
486 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
487 ) {
488 unsafe {
489 let __receiver =
490 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
491 let mut __out_0 = ::core::mem::MaybeUninit::<
492 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
493 >::uninit();
494 let __ret = {
495 ::unity::il2cpp_call!((::unity::module_base()+0x33dd4d0usize)as*mut u8,bool;
496(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr())
497 };
498 (__ret, __out_0.assume_init())
499 }
500 }
501 #[doc = "`IsRendererListCreated(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle)` overload"]
502 fn is_renderer_list_created(
503 self,
504 ) -> (
505 bool,
506 crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle,
507 ) {
508 unsafe {
509 let __receiver =
510 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
511 let mut __out_0 = ::core::mem::MaybeUninit::<
512 crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle,
513 >::uninit();
514 let __ret = {
515 ::unity::il2cpp_call!((::unity::module_base()+0x33dd580usize)as*mut u8,bool;
516(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle)__out_0.as_mut_ptr())
517 };
518 (__ret, __out_0.assume_init())
519 }
520 }
521 #[doc = "`IsResourceImported(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourcetype::RenderGraphResourceType, i32)` overload"]
522 fn is_resource_imported_2(
523 self,
524 r#type: impl ::core::convert::Into<
525 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourcetype::RenderGraphResourceType,
526 >,
527 index: impl ::core::convert::Into<i32>,
528 ) -> bool {
529 unsafe {
530 let __receiver =
531 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
532 ::unity::il2cpp_call!((::unity::module_base()+0x33dd5f0usize)as*mut u8,bool;
533(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourcetype::RenderGraphResourceType)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index))
534 }
535 }
536 #[doc = "`GetResourceTransientIndex(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
537 fn get_resource_transient_index(
538 self,
539 ) -> (
540 i32,
541 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
542 ) {
543 unsafe {
544 let __receiver =
545 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
546 let mut __out_0 = ::core::mem::MaybeUninit::<
547 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
548 >::uninit();
549 let __ret = {
550 ::unity::il2cpp_call!((::unity::module_base()+0x33dd690usize)as*mut u8,i32;
551(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr())
552 };
553 (__ret, __out_0.assume_init())
554 }
555 }
556 #[doc = "`ImportTexture(crate::unity_engine::rendering::rthandle::RTHandle)` overload"]
557 fn import_texture(
558 self,
559 rt: impl ::core::convert::Into<crate::unity_engine::rendering::rthandle::RTHandle>,
560 ) -> crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle {
561 unsafe {
562 let __receiver =
563 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
564 ::unity::il2cpp_call!((::unity::module_base()+0x33dd740usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle;
565(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::rendering::rthandle::RTHandle)::core::convert::Into::into(rt))
566 }
567 }
568 #[doc = "`ImportBackbuffer(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)` overload"]
569 fn import_backbuffer(
570 self,
571 rt: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
572 ) -> crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle {
573 unsafe {
574 let __receiver =
575 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
576 ::unity::il2cpp_call!((::unity::module_base()+0x33dd8c0usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle;
577(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(rt))
578 }
579 }
580 fn add_new_resource<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
581 self,
582 resource_array:impl::core::convert::Into<crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_IRenderGraphResource> >,
583 out_res: impl ::core::convert::Into<*mut M0>,
584 ) -> i32 {
585 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
586 ::unity::lookup::method_info_on_class(<RenderGraphResourceRegistry as ::unity::ClassIdentity>::class(), "AddNewResource", 2)
587 });
588 #[allow(clippy::type_complexity)]
589 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
590 ::std::sync::OnceLock::new();
591 let _ = false;
592 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
593 ::core::result::Result::Ok(mi) => *mi,
594 ::core::result::Result::Err(e) => {
595 panic!(
596 "method lookup failed: {}
597::{}
598: {}
599",
600 <RenderGraphResourceRegistry as ::unity::ClassIdentity>::NAME,
601 "AddNewResource",
602 e
603 )
604 },
605 };
606 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
607 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
608 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
609 let mut __guard = __cache.lock().unwrap();
610 *__guard
611 .entry(__key)
612 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
613 };
614 unsafe {
615 let __receiver =
616 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
617 let __f:extern "C" fn(RenderGraphResourceRegistry,crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_IRenderGraphResource> , *mut M0, ::unity::OptionalMethod,)->i32= ::core::mem::transmute(__inflated.method_ptr);
618 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
619 __f(
620 __receiver,
621 ::core::convert::Into::into(resource_array),
622 ::core::convert::Into::into(out_res),
623 ::core::option::Option::Some(__mi_opaque),
624 )
625 }
626 }
627 #[doc = "`CreateTexture(*mutcrate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc, i32)` overload"]
628 fn create_texture(
629 self,
630 transient_pass_index: impl ::core::convert::Into<i32>,
631 ) -> (
632 crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle,
633 crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc,
634 ) {
635 unsafe {
636 let __receiver =
637 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
638 let mut __out_0 =
639 ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc>::uninit();
640 let __ret = {
641 ::unity::il2cpp_call!((::unity::module_base()+0x33dda90usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle;
642(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc)__out_0.as_mut_ptr(),(i32)::core::convert::Into::into(transient_pass_index))
643 };
644 (__ret, __out_0.assume_init())
645 }
646 }
647 #[doc = "`GetTextureResourceCount()` overload"]
648 fn get_texture_resource_count(self) -> i32 {
649 unsafe {
650 let __receiver =
651 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
652 ::unity::il2cpp_call!((::unity::module_base()+0x33ddbb0usize)as*mut u8,i32;
653(RenderGraphResourceRegistry)__receiver)
654 }
655 }
656 #[doc = "`GetTextureResource(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
657 fn get_texture_resource(
658 self,
659 ) -> (
660 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_TextureResource,
661 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
662 ) {
663 unsafe {
664 let __receiver =
665 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
666 let mut __out_0 = ::core::mem::MaybeUninit::<
667 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
668 >::uninit();
669 let __ret = {
670 ::unity::il2cpp_call!((::unity::module_base()+0x33dc690usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_TextureResource;
671(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr())
672 };
673 (__ret, __out_0.assume_init())
674 }
675 }
676 #[doc = "`GetTextureResourceDesc(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
677 fn get_texture_resource_desc(
678 self,
679 ) -> (
680 crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc,
681 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
682 ) {
683 unsafe {
684 let __receiver =
685 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
686 let mut __out_0 = ::core::mem::MaybeUninit::<
687 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
688 >::uninit();
689 let __ret = {
690 ::unity::il2cpp_call!((::unity::module_base()+0x33ddc20usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc;
691(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr())
692 };
693 (__ret, __out_0.assume_init())
694 }
695 }
696 #[doc = "`CreateRendererList(*mutcrate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc)` overload"]
697 fn create_renderer_list(
698 self,
699 ) -> (
700 crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle,
701 crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc,
702 ) {
703 unsafe {
704 let __receiver =
705 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
706 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc>::uninit();
707 let __ret = {
708 ::unity::il2cpp_call!((::unity::module_base()+0x33ddd60usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle;
709(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc)__out_0.as_mut_ptr())
710 };
711 (__ret, __out_0.assume_init())
712 }
713 }
714 #[doc = "`ImportComputeBuffer(crate::unity_engine::computebuffer::ComputeBuffer)` overload"]
715 fn import_compute_buffer(
716 self,
717 compute_buffer: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
718 ) -> crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle {
719 unsafe {
720 let __receiver =
721 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
722 ::unity::il2cpp_call!((::unity::module_base()+0x33ddea0usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle;
723(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(compute_buffer))
724 }
725 }
726 #[doc = "`CreateComputeBuffer(*mutcrate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc, i32)` overload"]
727 fn create_compute_buffer(
728 self,
729 transient_pass_index: impl ::core::convert::Into<i32>,
730 ) -> (
731 crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle,
732 crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc,
733 ) {
734 unsafe {
735 let __receiver =
736 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
737 let mut __out_0 = ::core::mem::MaybeUninit::<
738 crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc,
739 >::uninit();
740 let __ret = {
741 ::unity::il2cpp_call!((::unity::module_base()+0x33ddf70usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle;
742(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc)__out_0.as_mut_ptr(),(i32)::core::convert::Into::into(transient_pass_index))
743 };
744 (__ret, __out_0.assume_init())
745 }
746 }
747 #[doc = "`GetComputeBufferResourceDesc(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
748 fn get_compute_buffer_resource_desc(
749 self,
750 ) -> (
751 crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc,
752 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
753 ) {
754 unsafe {
755 let __receiver =
756 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
757 let mut __out_0 = ::core::mem::MaybeUninit::<
758 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
759 >::uninit();
760 let __ret = {
761 ::unity::il2cpp_call!((::unity::module_base()+0x33de050usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc;
762(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr())
763 };
764 (__ret, __out_0.assume_init())
765 }
766 }
767 #[doc = "`GetComputeBufferResourceCount()` overload"]
768 fn get_compute_buffer_resource_count(self) -> i32 {
769 unsafe {
770 let __receiver =
771 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
772 ::unity::il2cpp_call!((::unity::module_base()+0x33de170usize)as*mut u8,i32;
773(RenderGraphResourceRegistry)__receiver)
774 }
775 }
776 #[doc = "`GetComputeBufferResource(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"] fn get_compute_buffer_resource(self,)->(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_ComputeBufferResource,crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle){
777 unsafe {
778 let __receiver =
779 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
780 let mut __out_0 = ::core::mem::MaybeUninit::<
781 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
782 >::uninit();
783 let __ret = {
784 ::unity::il2cpp_call!((::unity::module_base()+0x33dc8e0usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_ComputeBufferResource;
785(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr())
786 };
787 (__ret, __out_0.assume_init())
788 }
789 }
790 #[doc = "`CreateAndClearTexture(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext, i32)` overload"]
791 fn create_and_clear_texture(
792 self,
793 rg_context: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext>,
794 index: impl ::core::convert::Into<i32>,
795 ) -> () {
796 unsafe {
797 let __receiver =
798 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
799 ::unity::il2cpp_call!((::unity::module_base()+0x33de1d0usize)as*mut u8,();
800(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)::core::convert::Into::into(rg_context),(i32)::core::convert::Into::into(index))
801 }
802 }
803 #[doc = "`CreateComputeBuffer(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext, i32)` overload"]
804 fn create_compute_buffer_2(
805 self,
806 rg_context: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext>,
807 index: impl ::core::convert::Into<i32>,
808 ) -> () {
809 unsafe {
810 let __receiver =
811 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
812 ::unity::il2cpp_call!((::unity::module_base()+0x33debc0usize)as*mut u8,();
813(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)::core::convert::Into::into(rg_context),(i32)::core::convert::Into::into(index))
814 }
815 }
816 #[doc = "`ReleaseTexture(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext, i32)` overload"]
817 fn release_texture(
818 self,
819 rg_context: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext>,
820 index: impl ::core::convert::Into<i32>,
821 ) -> () {
822 unsafe {
823 let __receiver =
824 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
825 ::unity::il2cpp_call!((::unity::module_base()+0x33deff0usize)as*mut u8,();
826(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)::core::convert::Into::into(rg_context),(i32)::core::convert::Into::into(index))
827 }
828 }
829 #[doc = "`ReleaseComputeBuffer(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext, i32)` overload"]
830 fn release_compute_buffer(
831 self,
832 rg_context: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext>,
833 index: impl ::core::convert::Into<i32>,
834 ) -> () {
835 unsafe {
836 let __receiver =
837 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
838 ::unity::il2cpp_call!((::unity::module_base()+0x33df520usize)as*mut u8,();
839(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)::core::convert::Into::into(rg_context),(i32)::core::convert::Into::into(index))
840 }
841 }
842 #[doc = "`ValidateTextureDesc(*mutcrate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc)` overload"]
843 fn validate_texture_desc(self) -> crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc {
844 unsafe {
845 let __receiver =
846 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
847 let mut __out_0 =
848 ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc>::uninit();
849 ::unity::il2cpp_call!((::unity::module_base()+0x33ddba0usize)as*mut u8,();
850(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc)__out_0.as_mut_ptr());
851 __out_0.assume_init()
852 }
853 }
854 #[doc = "`ValidateRendererListDesc(*mutcrate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc)` overload"]
855 fn validate_renderer_list_desc(self) -> crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc {
856 unsafe {
857 let __receiver =
858 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
859 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc>::uninit();
860 ::unity::il2cpp_call!((::unity::module_base()+0x33dde40usize)as*mut u8,();
861(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc)__out_0.as_mut_ptr());
862 __out_0.assume_init()
863 }
864 }
865 #[doc = "`ValidateComputeBufferDesc(*mutcrate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc)` overload"]
866 fn validate_compute_buffer_desc(self) -> crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc {
867 unsafe {
868 let __receiver =
869 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
870 let mut __out_0 = ::core::mem::MaybeUninit::<
871 crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc,
872 >::uninit();
873 ::unity::il2cpp_call!((::unity::module_base()+0x33de040usize)as*mut u8,();
874(RenderGraphResourceRegistry)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc)__out_0.as_mut_ptr());
875 __out_0.assume_init()
876 }
877 }
878 #[doc = "`CreateRendererLists(crate::system::collections::generic::list_1::List_1<crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle>)` overload"]
879 fn create_renderer_lists(
880 self,
881 renderer_lists: impl ::core::convert::Into<
882 crate::system::collections::generic::list_1::List_1<
883 crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle,
884 >,
885 >,
886 ) -> () {
887 unsafe {
888 let __receiver =
889 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
890 ::unity::il2cpp_call!((::unity::module_base()+0x33df850usize)as*mut u8,();
891(RenderGraphResourceRegistry)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle>)::core::convert::Into::into(renderer_lists))
892 }
893 }
894 #[doc = "`Clear(bool)` overload"]
895 fn clear(self, on_exception: impl ::core::convert::Into<bool>) -> () {
896 unsafe {
897 let __receiver =
898 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
899 ::unity::il2cpp_call!((::unity::module_base()+0x33dffa0usize)as*mut u8,();
900(RenderGraphResourceRegistry)__receiver,(bool)::core::convert::Into::into(on_exception))
901 }
902 }
903 #[doc = "`PurgeUnusedResources()` overload"]
904 fn purge_unused_resources(self) -> () {
905 unsafe {
906 let __receiver =
907 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
908 ::unity::il2cpp_call!((::unity::module_base()+0x33e02d0usize)as*mut u8,();
909(RenderGraphResourceRegistry)__receiver)
910 }
911 }
912 #[doc = "`Cleanup()` overload"]
913 fn cleanup(self) -> () {
914 unsafe {
915 let __receiver =
916 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
917 ::unity::il2cpp_call!((::unity::module_base()+0x33e0310usize)as*mut u8,();
918(RenderGraphResourceRegistry)__receiver)
919 }
920 }
921 #[doc = "`LogTextureCreation(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_TextureResource)` overload"]
922 fn log_texture_creation(
923 self,
924 rt:impl::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_TextureResource>,
925 ) -> () {
926 unsafe {
927 let __receiver =
928 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
929 ::unity::il2cpp_call!((::unity::module_base()+0x33dea40usize)as*mut u8,();
930(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_TextureResource)::core::convert::Into::into(rt))
931 }
932 }
933 #[doc = "`LogTextureRelease(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_TextureResource)` overload"]
934 fn log_texture_release(
935 self,
936 rt:impl::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_TextureResource>,
937 ) -> () {
938 unsafe {
939 let __receiver =
940 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
941 ::unity::il2cpp_call!((::unity::module_base()+0x33df3e0usize)as*mut u8,();
942(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_TextureResource)::core::convert::Into::into(rt))
943 }
944 }
945 #[doc = "`LogComputeBufferCreation(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_ComputeBufferResource)` overload"]
946 fn log_compute_buffer_creation(
947 self,
948 buffer:impl::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_ComputeBufferResource>,
949 ) -> () {
950 unsafe {
951 let __receiver =
952 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
953 ::unity::il2cpp_call!((::unity::module_base()+0x33deeb0usize)as*mut u8,();
954(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_ComputeBufferResource)::core::convert::Into::into(buffer))
955 }
956 }
957 #[doc = "`LogComputeBufferRelease(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_ComputeBufferResource)` overload"]
958 fn log_compute_buffer_release(
959 self,
960 buffer:impl::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_ComputeBufferResource>,
961 ) -> () {
962 unsafe {
963 let __receiver =
964 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
965 ::unity::il2cpp_call!((::unity::module_base()+0x33df710usize)as*mut u8,();
966(RenderGraphResourceRegistry)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphresourceregistry::RenderGraphResourceRegistry_ComputeBufferResource)::core::convert::Into::into(buffer))
967 }
968 }
969 #[doc = "`LogResources()` overload"]
970 fn log_resources(self) -> () {
971 unsafe {
972 let __receiver =
973 <RenderGraphResourceRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
974 ::unity::il2cpp_call!((::unity::module_base()+0x33e00b0usize)as*mut u8,();
975(RenderGraphResourceRegistry)__receiver)
976 }
977 }
978}
979
980#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
981impl<__T: IRenderGraphResourceRegistry> IRenderGraphResourceRegistryMethods for __T {}
982
983#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
984impl RenderGraphResourceRegistry {
985 pub fn get_current_method_info() -> &'static ::unity::il2cpp::MethodInfo {
986 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
987 }
988
989 pub fn set_current_method_info() -> &'static ::unity::il2cpp::MethodInfo {
990 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
991 }
992
993 pub fn get_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
994 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
995 }
996
997 pub fn get_renderer_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
998 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
999 }
1000
1001 pub fn get_compute_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1002 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1003 }
1004
1005 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1006 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1007 }
1008
1009 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1010 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1011 }
1012
1013 pub fn begin_render_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1014 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1015 }
1016
1017 pub fn end_render_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1018 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1019 }
1020
1021 pub fn check_handle_validity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1022 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1023 }
1024
1025 pub fn check_handle_validity_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1026 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1027 }
1028
1029 pub fn get_resource_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1030 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1031 }
1032
1033 pub fn get_resource_name_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1034 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1035 }
1036
1037 pub fn is_resource_imported_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1038 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1039 }
1040
1041 pub fn is_resource_created_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1042 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1043 }
1044
1045 pub fn is_renderer_list_created_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1046 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1047 }
1048
1049 pub fn is_resource_imported_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1050 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1051 }
1052
1053 pub fn get_resource_transient_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1054 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1055 }
1056
1057 pub fn import_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1058 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1059 }
1060
1061 pub fn import_backbuffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1062 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1063 }
1064
1065 pub fn create_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1066 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1067 }
1068
1069 pub fn get_texture_resource_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1070 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1071 }
1072
1073 pub fn get_texture_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1074 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1075 }
1076
1077 pub fn get_texture_resource_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1078 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1079 }
1080
1081 pub fn create_renderer_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1082 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1083 }
1084
1085 pub fn import_compute_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1086 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1087 }
1088
1089 pub fn create_compute_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1090 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1091 }
1092
1093 pub fn get_compute_buffer_resource_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1094 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1095 }
1096
1097 pub fn get_compute_buffer_resource_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1098 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1099 }
1100
1101 pub fn get_compute_buffer_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1102 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1103 }
1104
1105 pub fn create_and_clear_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1106 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1107 }
1108
1109 pub fn create_compute_buffer_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1110 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1111 }
1112
1113 pub fn release_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1114 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1115 }
1116
1117 pub fn release_compute_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1118 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1119 }
1120
1121 pub fn validate_texture_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1122 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1123 }
1124
1125 pub fn validate_renderer_list_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1126 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1127 }
1128
1129 pub fn validate_compute_buffer_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1130 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1131 }
1132
1133 pub fn create_renderer_lists_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1134 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1135 }
1136
1137 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1138 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1139 }
1140
1141 pub fn purge_unused_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1142 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1143 }
1144
1145 pub fn cleanup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1146 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1147 }
1148
1149 pub fn log_texture_creation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1150 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1151 }
1152
1153 pub fn log_texture_release_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1154 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1155 }
1156
1157 pub fn log_compute_buffer_creation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1158 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1159 }
1160
1161 pub fn log_compute_buffer_release_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1162 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1163 }
1164
1165 pub fn log_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1166 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1167 }
1168
1169 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1170 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1171 }
1172}
1173
1174#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1175impl RenderGraphResourceRegistry {
1176 #[doc = "`.ctor()` — no args"]
1177 pub fn new() -> Self {
1178 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1179 panic!(
1180 "{}
1181::{}
1182 failed to instantiate",
1183 ::core::stringify!(RenderGraphResourceRegistry),
1184 ::core::stringify!(new),
1185 )
1186 });
1187 <Self as IRenderGraphResourceRegistryMethods>::ctor(this);
1188 this
1189 }
1190
1191 #[doc = "`.ctor(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugparams::RenderGraphDebugParams, crate::unity_engine::experimental::rendering::render_graph_module::rendergraphlogger::RenderGraphLogger)` — overload selector"]
1192 pub fn new_2(
1193 render_graph_debug: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugparams::RenderGraphDebugParams,
1194 logger: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphlogger::RenderGraphLogger,
1195 ) -> Self {
1196 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1197 panic!(
1198 "{}
1199::{}
1200 failed to instantiate",
1201 ::core::stringify!(RenderGraphResourceRegistry),
1202 ::core::stringify!(new_2),
1203 )
1204 });
1205 <Self as IRenderGraphResourceRegistryMethods>::ctor_2(this, render_graph_debug, logger);
1206 this
1207 }
1208}
1209
1210#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1211pub trait IRenderGraphResourceRegistry_IRenderGraphResourceMethods: IRenderGraphResourceRegistry_IRenderGraphResource {
1212 #[doc = "`Reset()` overload"]
1213 fn reset(self) -> () {
1214 unsafe {
1215 let __receiver = <RenderGraphResourceRegistry_IRenderGraphResource as ::unity::FromIlInstance>::from_il_instance(
1216 <Self as ::unity::SystemObject>::as_instance(self),
1217 );
1218 {
1219 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1220 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
1221 panic!(
1222 "unity: virtual slot {}
1223 out of range (vtable len {}
1224) on the runtime class behind {}
1225 (method `{}
1226`)",
1227 4usize,
1228 __vt.len(),
1229 <RenderGraphResourceRegistry_IRenderGraphResource as ::unity::ClassIdentity>::NAME,
1230 "Reset",
1231 )
1232 });
1233 let __inner: extern "C" fn(RenderGraphResourceRegistry_IRenderGraphResource, ::unity::OptionalMethod) -> () =
1234 ::core::mem::transmute(__vi.method_ptr);
1235 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1236 __inner(__receiver, __mi)
1237 }
1238 }
1239 }
1240 #[doc = "`GetName()` overload"]
1241 fn get_name(self) -> ::unity::Il2CppString {
1242 unsafe {
1243 let __receiver = <RenderGraphResourceRegistry_IRenderGraphResource as ::unity::FromIlInstance>::from_il_instance(
1244 <Self as ::unity::SystemObject>::as_instance(self),
1245 );
1246 {
1247 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1248 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1249 panic!(
1250 "unity: virtual slot {}
1251 out of range (vtable len {}
1252) on the runtime class behind {}
1253 (method `{}
1254`)",
1255 5usize,
1256 __vt.len(),
1257 <RenderGraphResourceRegistry_IRenderGraphResource as ::unity::ClassIdentity>::NAME,
1258 "GetName",
1259 )
1260 });
1261 let __inner: extern "C" fn(RenderGraphResourceRegistry_IRenderGraphResource, ::unity::OptionalMethod) -> ::unity::Il2CppString =
1262 ::core::mem::transmute(__vi.method_ptr);
1263 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1264 __inner(__receiver, __mi)
1265 }
1266 }
1267 }
1268 #[doc = "`IsCreated()` overload"]
1269 fn is_created(self) -> bool {
1270 unsafe {
1271 let __receiver = <RenderGraphResourceRegistry_IRenderGraphResource as ::unity::FromIlInstance>::from_il_instance(
1272 <Self as ::unity::SystemObject>::as_instance(self),
1273 );
1274 {
1275 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1276 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
1277 panic!(
1278 "unity: virtual slot {}
1279 out of range (vtable len {}
1280) on the runtime class behind {}
1281 (method `{}
1282`)",
1283 6usize,
1284 __vt.len(),
1285 <RenderGraphResourceRegistry_IRenderGraphResource as ::unity::ClassIdentity>::NAME,
1286 "IsCreated",
1287 )
1288 });
1289 let __inner: extern "C" fn(RenderGraphResourceRegistry_IRenderGraphResource, ::unity::OptionalMethod) -> bool =
1290 ::core::mem::transmute(__vi.method_ptr);
1291 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1292 __inner(__receiver, __mi)
1293 }
1294 }
1295 }
1296 #[doc = "`.ctor()` overload"]
1297 fn ctor(self) -> () {
1298 unsafe {
1299 let __receiver = <RenderGraphResourceRegistry_IRenderGraphResource as ::unity::FromIlInstance>::from_il_instance(
1300 <Self as ::unity::SystemObject>::as_instance(self),
1301 );
1302 ::unity::il2cpp_call!((::unity::module_base()+0x33ee1c0usize)as*mut u8,();
1303(RenderGraphResourceRegistry_IRenderGraphResource)__receiver)
1304 }
1305 }
1306}
1307
1308#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1309impl<__T: IRenderGraphResourceRegistry_IRenderGraphResource> IRenderGraphResourceRegistry_IRenderGraphResourceMethods for __T {}
1310
1311#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1312impl RenderGraphResourceRegistry_IRenderGraphResource {
1313 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1314 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1315 }
1316
1317 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1318 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1319 }
1320
1321 pub fn is_created_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1322 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1323 }
1324
1325 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1326 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1327 }
1328}
1329
1330#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1331impl RenderGraphResourceRegistry_IRenderGraphResource {
1332 #[doc = "Direct (non-virtual) call to `RenderGraphResourceRegistry_IRenderGraphResource`'s own `Reset`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1333 pub unsafe fn reset(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1334 let __mi = Self::reset_method_info();
1335 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1336 __inner(this.into(), ::core::option::Option::None)
1337 }
1338
1339 #[doc = "Direct (non-virtual) call to `RenderGraphResourceRegistry_IRenderGraphResource`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1340 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1341 let __mi = Self::get_name_method_info();
1342 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1343 __inner(this.into(), ::core::option::Option::None)
1344 }
1345
1346 #[doc = "Direct (non-virtual) call to `RenderGraphResourceRegistry_IRenderGraphResource`'s own `IsCreated`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1347 pub unsafe fn is_created(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1348 let __mi = Self::is_created_method_info();
1349 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1350 __inner(this.into(), ::core::option::Option::None)
1351 }
1352}
1353
1354#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1355impl RenderGraphResourceRegistry_IRenderGraphResource {
1356 #[doc = "`.ctor()` — no args"]
1357 pub fn new() -> Self {
1358 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1359 panic!(
1360 "{}
1361::{}
1362 failed to instantiate",
1363 ::core::stringify!(RenderGraphResourceRegistry_IRenderGraphResource),
1364 ::core::stringify!(new),
1365 )
1366 });
1367 <Self as IRenderGraphResourceRegistry_IRenderGraphResourceMethods>::ctor(this);
1368 this
1369 }
1370}
1371
1372#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1373impl RenderGraphResourceRegistry_RendererListResource {
1374 #[doc = "`.ctor(*mutcrate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc)` overload"]
1375 pub fn ctor(&mut self) -> crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc {
1376 unsafe {
1377 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc>::uninit();
1378 ::unity::il2cpp_call!((::unity::module_base()+0x33dde50usize)as*mut u8,();
1379(*mut RenderGraphResourceRegistry_RendererListResource)self as*mut RenderGraphResourceRegistry_RendererListResource,(*mut crate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc)__out_0.as_mut_ptr());
1380 __out_0.assume_init()
1381 }
1382 }
1383}
1384
1385#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1386impl RenderGraphResourceRegistry_RendererListResource {
1387 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1388 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1389 }
1390}
1391
1392#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1393#[::unity::methods]
1394impl<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity> RenderGraphResourceRegistry_RenderGraphResource_2<T0, T1> {
1395 #[doc = "`.ctor()` overload"]
1396 #[method(name = ".ctor", args = 0)]
1397 pub fn ctor(self) -> ();
1398
1399 #[doc = "`Reset()` overload"]
1400 #[method(name = "Reset", args = 0)]
1401 pub fn reset(self) -> ();
1402
1403 #[doc = "`IsCreated()` overload"]
1404 #[method(name = "IsCreated", args = 0)]
1405 pub fn is_created(self) -> bool;
1406}
1407
1408#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1409impl<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity> RenderGraphResourceRegistry_RenderGraphResource_2<T0, T1> {
1410 #[doc = "`.ctor()` — no args"]
1411 pub fn new() -> Self {
1412 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1413 panic!(
1414 "{}
1415::{}
1416 failed to instantiate",
1417 ::core::stringify!(RenderGraphResourceRegistry_RenderGraphResource_2),
1418 ::core::stringify!(new),
1419 )
1420 });
1421 <Self as IRenderGraphResourceRegistry_RenderGraphResource_2Methods<T0, T1>>::ctor(this);
1422 this
1423 }
1424}
1425
1426#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphresourceregistry")]
1427#[doc(hidden)]
1428pub mod prelude {
1429 pub use super::{
1430 IRenderGraphResourceRegistry, IRenderGraphResourceRegistryMethods, IRenderGraphResourceRegistry_ComputeBufferResource,
1431 IRenderGraphResourceRegistry_ComputeBufferResourceMethods, IRenderGraphResourceRegistry_IRenderGraphResource,
1432 IRenderGraphResourceRegistry_IRenderGraphResourceMethods, IRenderGraphResourceRegistry_RenderGraphResource_2,
1433 IRenderGraphResourceRegistry_RenderGraphResource_2Methods, IRenderGraphResourceRegistry_TextureResource,
1434 IRenderGraphResourceRegistry_TextureResourceMethods, RenderGraphResourceRegistry, RenderGraphResourceRegistry_ComputeBufferResource,
1435 RenderGraphResourceRegistry_IRenderGraphResource, RenderGraphResourceRegistry_RenderGraphResource_2,
1436 RenderGraphResourceRegistry_RendererListResource, RenderGraphResourceRegistry_TextureResource,
1437 };
1438 #[cfg(feature = "system-object")]
1439 pub use crate::system::object::IObjectMethods;
1440 #[cfg(feature = "system-valuetype")]
1441 pub use crate::system::valuetype::IValueTypeMethods;
1442 pub use crate::system::{object::IObject, valuetype::IValueType};
1443}