1#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraphpass/RenderGraphPass.md"))]
11 #[::unity::class(namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule", name = "RenderGraphPass")]
12 #[parent(crate::system::object::Object)]
13 pub struct RenderGraphPass {
14 #[offset(80)]
15 #[rename(name = "resourceReadLists")]
16 pub resource_read_lists: ::unity::Array<
17 crate::system::collections::generic::list_1::List_1<
18 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
19 >,
20 >,
21 #[offset(88)]
22 #[rename(name = "resourceWriteLists")]
23 pub resource_write_lists: ::unity::Array<
24 crate::system::collections::generic::list_1::List_1<
25 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
26 >,
27 >,
28 #[offset(96)]
29 #[rename(name = "transientResourceList")]
30 pub transient_resource_list: ::unity::Array<
31 crate::system::collections::generic::list_1::List_1<
32 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
33 >,
34 >,
35 #[offset(104)]
36 #[rename(name = "usedRendererListList")]
37 pub used_renderer_list_list: crate::system::collections::generic::list_1::List_1<
38 crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle,
39 >,
40 }
41}
42
43#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass-types")]
44pub use __types::*;
45
46#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass")]
47pub trait IRenderGraphPassMethods: IRenderGraphPass {
48 fn get_execute_delegate<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
49 self,
50 ) -> crate::unity_engine::experimental::rendering::render_graph_module::renderfunc_1::RenderFunc_1<M0> {
51 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
52 ::unity::lookup::method_info_on_class(<RenderGraphPass as ::unity::ClassIdentity>::class(), "GetExecuteDelegate", 0)
53 });
54 #[allow(clippy::type_complexity)]
55 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
56 ::std::sync::OnceLock::new();
57 let _ = false;
58 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
59 ::core::result::Result::Ok(mi) => *mi,
60 ::core::result::Result::Err(e) => {
61 panic!(
62 "method lookup failed: {}
63::{}
64: {}
65",
66 <RenderGraphPass as ::unity::ClassIdentity>::NAME,
67 "GetExecuteDelegate",
68 e
69 )
70 },
71 };
72 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
73 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
74 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
75 let mut __guard = __cache.lock().unwrap();
76 *__guard
77 .entry(__key)
78 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
79 };
80 unsafe {
81 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
82 let __f: extern "C" fn(
83 RenderGraphPass,
84 ::unity::OptionalMethod,
85 ) -> crate::unity_engine::experimental::rendering::render_graph_module::renderfunc_1::RenderFunc_1<M0> =
86 ::core::mem::transmute(__inflated.method_ptr);
87 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
88 __f(__receiver, ::core::option::Option::Some(__mi_opaque))
89 }
90 }
91 #[doc = "`Execute(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)` overload"]
92 fn execute(
93 self,
94 render_graph_context: impl ::core::convert::Into<
95 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext,
96 >,
97 ) -> () {
98 unsafe {
99 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100 {
101 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
102 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
103 panic!(
104 "unity: virtual slot {}
105 out of range (vtable len {}
106) on the runtime class behind {}
107 (method `{}
108`)",
109 4usize,
110 __vt.len(),
111 <RenderGraphPass as ::unity::ClassIdentity>::NAME,
112 "Execute",
113 )
114 });
115 let __inner: extern "C" fn(
116 RenderGraphPass,
117 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext,
118 ::unity::OptionalMethod,
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, ::core::convert::Into::into(render_graph_context), __mi)
122 }
123 }
124 }
125 #[doc = "`Release(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphobjectpool::RenderGraphObjectPool)` overload"]
126 fn release(
127 self,
128 pool: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendergraphobjectpool::RenderGraphObjectPool>,
129 ) -> () {
130 unsafe {
131 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
132 {
133 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
134 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
135 panic!(
136 "unity: virtual slot {}
137 out of range (vtable len {}
138) on the runtime class behind {}
139 (method `{}
140`)",
141 5usize,
142 __vt.len(),
143 <RenderGraphPass as ::unity::ClassIdentity>::NAME,
144 "Release",
145 )
146 });
147 let __inner: extern "C" fn(
148 RenderGraphPass,
149 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphobjectpool::RenderGraphObjectPool,
150 ::unity::OptionalMethod,
151 ) -> () = ::core::mem::transmute(__vi.method_ptr);
152 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
153 __inner(__receiver, ::core::convert::Into::into(pool), __mi)
154 }
155 }
156 }
157 #[doc = "`HasRenderFunc()` overload"]
158 fn has_render_func(self) -> bool {
159 unsafe {
160 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161 {
162 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
163 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
164 panic!(
165 "unity: virtual slot {}
166 out of range (vtable len {}
167) on the runtime class behind {}
168 (method `{}
169`)",
170 6usize,
171 __vt.len(),
172 <RenderGraphPass as ::unity::ClassIdentity>::NAME,
173 "HasRenderFunc",
174 )
175 });
176 let __inner: extern "C" fn(RenderGraphPass, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
177 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
178 __inner(__receiver, __mi)
179 }
180 }
181 }
182 #[doc = "`get_name()` overload"]
183 fn get_name(self) -> ::unity::Il2CppString {
184 unsafe {
185 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
186 ::unity::il2cpp_call!((::unity::module_base()+0x33db750usize)as*mut u8, ::unity::Il2CppString;
187(RenderGraphPass)__receiver)
188 }
189 }
190 #[doc = "`set_name(::unity::Il2CppString)` overload"]
191 fn set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
192 unsafe {
193 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194 ::unity::il2cpp_call!((::unity::module_base()+0x33db760usize)as*mut u8,();
195(RenderGraphPass)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
196 }
197 }
198 #[doc = "`get_index()` overload"]
199 fn get_index(self) -> i32 {
200 unsafe {
201 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
202 ::unity::il2cpp_call!((::unity::module_base()+0x33db770usize)as*mut u8,i32;
203(RenderGraphPass)__receiver)
204 }
205 }
206 #[doc = "`set_index(i32)` overload"]
207 fn set_index(self, value: impl ::core::convert::Into<i32>) -> () {
208 unsafe {
209 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210 ::unity::il2cpp_call!((::unity::module_base()+0x33db780usize)as*mut u8,();
211(RenderGraphPass)__receiver,(i32)::core::convert::Into::into(value))
212 }
213 }
214 #[doc = "`get_customSampler()` overload"]
215 fn get_custom_sampler(self) -> crate::unity_engine::rendering::profilingsampler::ProfilingSampler {
216 unsafe {
217 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
218 ::unity::il2cpp_call!((::unity::module_base()+0x33db790usize)as*mut u8,crate::unity_engine::rendering::profilingsampler::ProfilingSampler;
219(RenderGraphPass)__receiver)
220 }
221 }
222 #[doc = "`set_customSampler(crate::unity_engine::rendering::profilingsampler::ProfilingSampler)` overload"]
223 fn set_custom_sampler(self, value: impl ::core::convert::Into<crate::unity_engine::rendering::profilingsampler::ProfilingSampler>) -> () {
224 unsafe {
225 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
226 ::unity::il2cpp_call!((::unity::module_base()+0x33db7a0usize)as*mut u8,();
227(RenderGraphPass)__receiver,(crate::unity_engine::rendering::profilingsampler::ProfilingSampler)::core::convert::Into::into(value))
228 }
229 }
230 #[doc = "`get_enableAsyncCompute()` overload"]
231 fn get_enable_async_compute(self) -> bool {
232 unsafe {
233 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
234 ::unity::il2cpp_call!((::unity::module_base()+0x33db7b0usize)as*mut u8,bool;
235(RenderGraphPass)__receiver)
236 }
237 }
238 #[doc = "`set_enableAsyncCompute(bool)` overload"]
239 fn set_enable_async_compute(self, value: impl ::core::convert::Into<bool>) -> () {
240 unsafe {
241 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
242 ::unity::il2cpp_call!((::unity::module_base()+0x33db7c0usize)as*mut u8,();
243(RenderGraphPass)__receiver,(bool)::core::convert::Into::into(value))
244 }
245 }
246 #[doc = "`get_allowPassCulling()` overload"]
247 fn get_allow_pass_culling(self) -> bool {
248 unsafe {
249 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
250 ::unity::il2cpp_call!((::unity::module_base()+0x33db7d0usize)as*mut u8,bool;
251(RenderGraphPass)__receiver)
252 }
253 }
254 #[doc = "`set_allowPassCulling(bool)` overload"]
255 fn set_allow_pass_culling(self, value: impl ::core::convert::Into<bool>) -> () {
256 unsafe {
257 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
258 ::unity::il2cpp_call!((::unity::module_base()+0x33db7e0usize)as*mut u8,();
259(RenderGraphPass)__receiver,(bool)::core::convert::Into::into(value))
260 }
261 }
262 #[doc = "`get_depthBuffer()` overload"]
263 fn get_depth_buffer(self) -> crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle {
264 unsafe {
265 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
266 ::unity::il2cpp_call!((::unity::module_base()+0x33db7f0usize)as*mut u8,crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle;
267(RenderGraphPass)__receiver)
268 }
269 }
270 #[doc = "`set_depthBuffer(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)` overload"]
271 fn set_depth_buffer(
272 self,
273 value: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle>,
274 ) -> () {
275 unsafe {
276 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
277 ::unity::il2cpp_call!((::unity::module_base()+0x33db800usize)as*mut u8,();
278(RenderGraphPass)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)::core::convert::Into::into(value))
279 }
280 }
281 #[doc = "`get_colorBuffers()` overload"]
282 fn get_color_buffers(self) -> ::unity::Array<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle> {
283 unsafe {
284 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
285 ::unity::il2cpp_call!((::unity::module_base()+0x33db810usize)as*mut u8, ::unity::Array<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle> ;
286(RenderGraphPass)__receiver)
287 }
288 }
289 #[doc = "`set_colorBuffers(::unity::Array<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle>)` overload"]
290 fn set_color_buffers(
291 self,
292 value: impl ::core::convert::Into<::unity::Array<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle>>,
293 ) -> () {
294 unsafe {
295 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296 ::unity::il2cpp_call!((::unity::module_base()+0x33db820usize)as*mut u8,();
297(RenderGraphPass)__receiver,(::unity::Array<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle>)::core::convert::Into::into(value))
298 }
299 }
300 #[doc = "`get_colorBufferMaxIndex()` overload"]
301 fn get_color_buffer_max_index(self) -> i32 {
302 unsafe {
303 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
304 ::unity::il2cpp_call!((::unity::module_base()+0x33db830usize)as*mut u8,i32;
305(RenderGraphPass)__receiver)
306 }
307 }
308 #[doc = "`set_colorBufferMaxIndex(i32)` overload"]
309 fn set_color_buffer_max_index(self, value: impl ::core::convert::Into<i32>) -> () {
310 unsafe {
311 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312 ::unity::il2cpp_call!((::unity::module_base()+0x33db840usize)as*mut u8,();
313(RenderGraphPass)__receiver,(i32)::core::convert::Into::into(value))
314 }
315 }
316 #[doc = "`get_refCount()` overload"]
317 fn get_ref_count(self) -> i32 {
318 unsafe {
319 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320 ::unity::il2cpp_call!((::unity::module_base()+0x33db850usize)as*mut u8,i32;
321(RenderGraphPass)__receiver)
322 }
323 }
324 #[doc = "`set_refCount(i32)` overload"]
325 fn set_ref_count(self, value: impl ::core::convert::Into<i32>) -> () {
326 unsafe {
327 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328 ::unity::il2cpp_call!((::unity::module_base()+0x33db860usize)as*mut u8,();
329(RenderGraphPass)__receiver,(i32)::core::convert::Into::into(value))
330 }
331 }
332 #[doc = "`get_generateDebugData()` overload"]
333 fn get_generate_debug_data(self) -> bool {
334 unsafe {
335 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
336 ::unity::il2cpp_call!((::unity::module_base()+0x33db870usize)as*mut u8,bool;
337(RenderGraphPass)__receiver)
338 }
339 }
340 #[doc = "`set_generateDebugData(bool)` overload"]
341 fn set_generate_debug_data(self, value: impl ::core::convert::Into<bool>) -> () {
342 unsafe {
343 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344 ::unity::il2cpp_call!((::unity::module_base()+0x33db880usize)as*mut u8,();
345(RenderGraphPass)__receiver,(bool)::core::convert::Into::into(value))
346 }
347 }
348 #[doc = "`.ctor()` overload"]
349 fn ctor(self) -> () {
350 unsafe {
351 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
352 ::unity::il2cpp_call!((::unity::module_base()+0x33db890usize)as*mut u8,();
353(RenderGraphPass)__receiver)
354 }
355 }
356 #[doc = "`Clear()` overload"]
357 fn clear(self) -> () {
358 unsafe {
359 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
360 ::unity::il2cpp_call!((::unity::module_base()+0x33dbc10usize)as*mut u8,();
361(RenderGraphPass)__receiver)
362 }
363 }
364 #[doc = "`AddResourceWrite(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
365 fn add_resource_write(self) -> crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle {
366 unsafe {
367 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368 let mut __out_0 = ::core::mem::MaybeUninit::<
369 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
370 >::uninit();
371 ::unity::il2cpp_call!((::unity::module_base()+0x33dbf00usize)as*mut u8,();
372(RenderGraphPass)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr());
373 __out_0.assume_init()
374 }
375 }
376 #[doc = "`AddResourceRead(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
377 fn add_resource_read(self) -> crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle {
378 unsafe {
379 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
380 let mut __out_0 = ::core::mem::MaybeUninit::<
381 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
382 >::uninit();
383 ::unity::il2cpp_call!((::unity::module_base()+0x33dbfa0usize)as*mut u8,();
384(RenderGraphPass)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr());
385 __out_0.assume_init()
386 }
387 }
388 #[doc = "`AddTransientResource(*mutcrate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)` overload"]
389 fn add_transient_resource(self) -> crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle {
390 unsafe {
391 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392 let mut __out_0 = ::core::mem::MaybeUninit::<
393 crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle,
394 >::uninit();
395 ::unity::il2cpp_call!((::unity::module_base()+0x33dc030usize)as*mut u8,();
396(RenderGraphPass)__receiver,(*mut crate::unity_engine::experimental::rendering::render_graph_module::resourcehandle::ResourceHandle)__out_0.as_mut_ptr());
397 __out_0.assume_init()
398 }
399 }
400 #[doc = "`UseRendererList(crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle)` overload"]
401 fn use_renderer_list(
402 self,
403 renderer_list: impl ::core::convert::Into<
404 crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle,
405 >,
406 ) -> () {
407 unsafe {
408 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
409 ::unity::il2cpp_call!((::unity::module_base()+0x33dc0c0usize)as*mut u8,();
410(RenderGraphPass)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle)::core::convert::Into::into(renderer_list))
411 }
412 }
413 #[doc = "`EnableAsyncCompute(bool)` overload"]
414 fn enable_async_compute(self, value: impl ::core::convert::Into<bool>) -> () {
415 unsafe {
416 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
417 ::unity::il2cpp_call!((::unity::module_base()+0x33dc120usize)as*mut u8,();
418(RenderGraphPass)__receiver,(bool)::core::convert::Into::into(value))
419 }
420 }
421 #[doc = "`AllowPassCulling(bool)` overload"]
422 fn allow_pass_culling(self, value: impl ::core::convert::Into<bool>) -> () {
423 unsafe {
424 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
425 ::unity::il2cpp_call!((::unity::module_base()+0x33dc130usize)as*mut u8,();
426(RenderGraphPass)__receiver,(bool)::core::convert::Into::into(value))
427 }
428 }
429 #[doc = "`GenerateDebugData(bool)` overload"]
430 fn generate_debug_data(self, value: impl ::core::convert::Into<bool>) -> () {
431 unsafe {
432 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
433 ::unity::il2cpp_call!((::unity::module_base()+0x33dc140usize)as*mut u8,();
434(RenderGraphPass)__receiver,(bool)::core::convert::Into::into(value))
435 }
436 }
437 #[doc = "`SetColorBuffer(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle, i32)` overload"]
438 fn set_color_buffer(
439 self,
440 resource: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle>,
441 index: impl ::core::convert::Into<i32>,
442 ) -> () {
443 unsafe {
444 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
445 ::unity::il2cpp_call!((::unity::module_base()+0x33dc150usize)as*mut u8,();
446(RenderGraphPass)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)::core::convert::Into::into(resource),(i32)::core::convert::Into::into(index))
447 }
448 }
449 #[doc = "`SetDepthBuffer(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle, crate::unity_engine::experimental::rendering::render_graph_module::depthaccess::DepthAccess)` overload"]
450 fn set_depth_buffer_2(
451 self,
452 resource: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle>,
453 flags: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::depthaccess::DepthAccess>,
454 ) -> () {
455 unsafe {
456 let __receiver = <RenderGraphPass as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
457 ::unity::il2cpp_call!((::unity::module_base()+0x33dc250usize)as*mut u8,();
458(RenderGraphPass)__receiver,(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle)::core::convert::Into::into(resource),(crate::unity_engine::experimental::rendering::render_graph_module::depthaccess::DepthAccess)::core::convert::Into::into(flags))
459 }
460 }
461}
462
463#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass")]
464impl<__T: IRenderGraphPass> IRenderGraphPassMethods for __T {}
465
466#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass")]
467impl RenderGraphPass {
468 pub fn execute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
469 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
470 }
471
472 pub fn release_method_info() -> &'static ::unity::il2cpp::MethodInfo {
473 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
474 }
475
476 pub fn has_render_func_method_info() -> &'static ::unity::il2cpp::MethodInfo {
477 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
478 }
479
480 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
481 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
482 }
483
484 pub fn set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
485 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
486 }
487
488 pub fn get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
489 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
490 }
491
492 pub fn set_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
493 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
494 }
495
496 pub fn get_custom_sampler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
497 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
498 }
499
500 pub fn set_custom_sampler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
501 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
502 }
503
504 pub fn get_enable_async_compute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
505 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
506 }
507
508 pub fn set_enable_async_compute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
509 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
510 }
511
512 pub fn get_allow_pass_culling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
513 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
514 }
515
516 pub fn set_allow_pass_culling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
517 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
518 }
519
520 pub fn get_depth_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
521 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
522 }
523
524 pub fn set_depth_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
525 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
526 }
527
528 pub fn get_color_buffers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
529 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
530 }
531
532 pub fn set_color_buffers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
533 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
534 }
535
536 pub fn get_color_buffer_max_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
537 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
538 }
539
540 pub fn set_color_buffer_max_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
541 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
542 }
543
544 pub fn get_ref_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
545 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
546 }
547
548 pub fn set_ref_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
549 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
550 }
551
552 pub fn get_generate_debug_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
553 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
554 }
555
556 pub fn set_generate_debug_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
557 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
558 }
559
560 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
561 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
562 }
563
564 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
565 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
566 }
567
568 pub fn add_resource_write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
569 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
570 }
571
572 pub fn add_resource_read_method_info() -> &'static ::unity::il2cpp::MethodInfo {
573 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
574 }
575
576 pub fn add_transient_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
577 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
578 }
579
580 pub fn use_renderer_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
581 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
582 }
583
584 pub fn enable_async_compute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
585 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
586 }
587
588 pub fn allow_pass_culling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
589 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
590 }
591
592 pub fn generate_debug_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
593 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
594 }
595
596 pub fn set_color_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
597 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
598 }
599
600 pub fn set_depth_buffer_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
601 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
602 }
603}
604
605#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass")]
606impl RenderGraphPass {
607 #[doc = "Direct (non-virtual) call to `RenderGraphPass`'s own `Execute`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
608 pub unsafe fn execute(
609 this: impl ::core::convert::Into<::unity::IlInstance>,
610 render_graph_context: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext,
611 ) -> () {
612 let __mi = Self::execute_method_info();
613 let __inner: extern "C" fn(
614 ::unity::IlInstance,
615 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext,
616 ::unity::OptionalMethod,
617 ) -> () = ::core::mem::transmute(__mi.method_ptr);
618 __inner(this.into(), render_graph_context, ::core::option::Option::None)
619 }
620
621 #[doc = "Direct (non-virtual) call to `RenderGraphPass`'s own `Release`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
622 pub unsafe fn release(
623 this: impl ::core::convert::Into<::unity::IlInstance>,
624 pool: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphobjectpool::RenderGraphObjectPool,
625 ) -> () {
626 let __mi = Self::release_method_info();
627 let __inner: extern "C" fn(
628 ::unity::IlInstance,
629 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphobjectpool::RenderGraphObjectPool,
630 ::unity::OptionalMethod,
631 ) -> () = ::core::mem::transmute(__mi.method_ptr);
632 __inner(this.into(), pool, ::core::option::Option::None)
633 }
634
635 #[doc = "Direct (non-virtual) call to `RenderGraphPass`'s own `HasRenderFunc`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
636 pub unsafe fn has_render_func(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
637 let __mi = Self::has_render_func_method_info();
638 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
639 __inner(this.into(), ::core::option::Option::None)
640 }
641}
642
643#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass")]
644impl RenderGraphPass {
645 #[doc = "`.ctor()` — no args"]
646 pub fn new() -> Self {
647 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
648 panic!(
649 "{}
650::{}
651 failed to instantiate",
652 ::core::stringify!(RenderGraphPass),
653 ::core::stringify!(new),
654 )
655 });
656 <Self as IRenderGraphPassMethods>::ctor(this);
657 this
658 }
659}
660
661#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass")]
662#[doc(hidden)]
663pub mod prelude {
664 pub use super::{IRenderGraphPass, IRenderGraphPassMethods, RenderGraphPass};
665 pub use crate::system::object::IObject;
666 #[cfg(feature = "system-object")]
667 pub use crate::system::object::IObjectMethods;
668}