engage/generated/unity_engine/experimental/rendering/render_graph_module/
rendergraphdebugdata.rs1#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphdebugdata-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/rendergraphdebugdata/RenderGraphDebugData_ResourceDebugData.md"))]
14 #[repr(C)]
15 #[derive(::core::clone::Clone, ::core::marker::Copy)]
16 pub struct RenderGraphDebugData_ResourceDebugData {
17 pub name: ::unity::Il2CppString,
18 pub imported: bool,
19 pub creation_pass_index: i32,
20 pub release_pass_index: i32,
21 pub consumer_list: crate::system::collections::generic::list_1::List_1<i32>,
22 pub producer_list: crate::system::collections::generic::list_1::List_1<i32>,
23 }
24 impl ::unity::ClassIdentity for RenderGraphDebugData_ResourceDebugData {
25 const NAME: &'static str = "RenderGraphDebugData.ResourceDebugData";
26 const NAMESPACE: &'static str = "UnityEngine.Experimental.Rendering.RenderGraphModule";
27
28 fn class() -> ::unity::Class {
29 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
30 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
31 }
32 }
33 impl ::unity::IlType for RenderGraphDebugData_ResourceDebugData {
34 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
35 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
36 }
37 }
38
39 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraphdebugdata/RenderGraphDebugData.md"))]
40 #[::unity::class(namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule", name = "RenderGraphDebugData")]
41 #[parent(crate::system::object::Object)]
42 pub struct RenderGraphDebugData {
43 #[offset(16)]
44 #[rename(name = "passList")]
45 pub pass_list: crate::system::collections::generic::list_1::List_1<
46 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugdata::RenderGraphDebugData_PassDebugData,
47 >,
48 #[offset(24)]
49 #[rename(name = "resourceLists")]
50 pub resource_lists: ::unity::Array<
51 crate::system::collections::generic::list_1::List_1<
52 crate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugdata::RenderGraphDebugData_ResourceDebugData,
53 >,
54 >,
55 }
56
57 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraphdebugdata/RenderGraphDebugData_PassDebugData.md"))]
58 #[repr(C)]
59 #[derive(::core::clone::Clone, ::core::marker::Copy)]
60 pub struct RenderGraphDebugData_PassDebugData {
61 pub name: ::unity::Il2CppString,
62 pub resource_read_lists: ::unity::Array<crate::system::collections::generic::list_1::List_1<i32>>,
63 pub resource_write_lists: ::unity::Array<crate::system::collections::generic::list_1::List_1<i32>>,
64 pub culled: bool,
65 pub generate_debug_data: bool,
66 }
67 impl ::unity::ClassIdentity for RenderGraphDebugData_PassDebugData {
68 const NAME: &'static str = "RenderGraphDebugData.PassDebugData";
69 const NAMESPACE: &'static str = "UnityEngine.Experimental.Rendering.RenderGraphModule";
70
71 fn class() -> ::unity::Class {
72 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
73 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
74 }
75 }
76 impl ::unity::IlType for RenderGraphDebugData_PassDebugData {
77 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
78 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
79 }
80 }
81}
82
83#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphdebugdata-types")]
84pub use __types::*;
85
86#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphdebugdata")]
87pub trait IRenderGraphDebugDataMethods: IRenderGraphDebugData {
88 #[doc = "`Clear()` overload"]
89 fn clear(self) -> () {
90 unsafe {
91 let __receiver = <RenderGraphDebugData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
92 ::unity::il2cpp_call!((::unity::module_base()+0x30b9630usize)as*mut u8,();
93(RenderGraphDebugData)__receiver)
94 }
95 }
96 #[doc = "`.ctor()` overload"]
97 fn ctor(self) -> () {
98 unsafe {
99 let __receiver = <RenderGraphDebugData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100 ::unity::il2cpp_call!((::unity::module_base()+0x30b1960usize)as*mut u8,();
101(RenderGraphDebugData)__receiver)
102 }
103 }
104}
105
106#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphdebugdata")]
107impl<__T: IRenderGraphDebugData> IRenderGraphDebugDataMethods for __T {}
108
109#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphdebugdata")]
110impl RenderGraphDebugData {
111 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
112 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
113 }
114
115 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
116 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
117 }
118}
119
120#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphdebugdata")]
121impl RenderGraphDebugData {
122 #[doc = "`.ctor()` — no args"]
123 pub fn new() -> Self {
124 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
125 panic!(
126 "{}
127::{}
128 failed to instantiate",
129 ::core::stringify!(RenderGraphDebugData),
130 ::core::stringify!(new),
131 )
132 });
133 <Self as IRenderGraphDebugDataMethods>::ctor(this);
134 this
135 }
136}
137
138#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphdebugdata")]
139#[doc(hidden)]
140pub mod prelude {
141 pub use super::{
142 IRenderGraphDebugData, IRenderGraphDebugDataMethods, RenderGraphDebugData, RenderGraphDebugData_PassDebugData,
143 RenderGraphDebugData_ResourceDebugData,
144 };
145 #[cfg(feature = "system-object")]
146 pub use crate::system::object::IObjectMethods;
147 #[cfg(feature = "system-valuetype")]
148 pub use crate::system::valuetype::IValueTypeMethods;
149 pub use crate::system::{object::IObject, valuetype::IValueType};
150}