engage/generated/unity_engine/experimental/rendering/render_graph_module/
rendergraphlogger.rs1#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphlogger-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/rendergraphlogger/RenderGraphLogger.md"))]
11 #[::unity::class(namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule", name = "RenderGraphLogger")]
12 #[parent(crate::system::object::Object)]
13 pub struct RenderGraphLogger {
14 #[offset(24)]
15 #[rename(name = "m_CurrentIndentation")]
16 pub m_current_indentation: i32,
17 }
18}
19
20#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphlogger-types")]
21pub use __types::*;
22
23#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphlogger")]
24pub trait IRenderGraphLoggerMethods: IRenderGraphLogger {
25 #[doc = "`Initialize()` overload"]
26 fn initialize(self) -> () {
27 unsafe {
28 let __receiver = <RenderGraphLogger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
29 ::unity::il2cpp_call!((::unity::module_base()+0x30b2780usize)as*mut u8,();
30(RenderGraphLogger)__receiver)
31 }
32 }
33 #[doc = "`IncrementIndentation(i32)` overload"]
34 fn increment_indentation(self, value: impl ::core::convert::Into<i32>) -> () {
35 unsafe {
36 let __receiver = <RenderGraphLogger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
37 ::unity::il2cpp_call!((::unity::module_base()+0x30b9e50usize)as*mut u8,();
38(RenderGraphLogger)__receiver,(i32)::core::convert::Into::into(value))
39 }
40 }
41 #[doc = "`DecrementIndentation(i32)` overload"]
42 fn decrement_indentation(self, value: impl ::core::convert::Into<i32>) -> () {
43 unsafe {
44 let __receiver = <RenderGraphLogger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
45 ::unity::il2cpp_call!((::unity::module_base()+0x30b9f80usize)as*mut u8,();
46(RenderGraphLogger)__receiver,(i32)::core::convert::Into::into(value))
47 }
48 }
49 #[doc = "`LogLine(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>)` overload"]
50 fn log_line(
51 self,
52 format: impl ::core::convert::Into<::unity::Il2CppString>,
53 args: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
54 ) -> () {
55 unsafe {
56 let __receiver = <RenderGraphLogger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
57 ::unity::il2cpp_call!((::unity::module_base()+0x30b60d0usize)as*mut u8,();
58(RenderGraphLogger)__receiver,(::unity::Il2CppString)::core::convert::Into::into(format),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(args))
59 }
60 }
61 #[doc = "`GetLog()` overload"]
62 fn get_log(self) -> ::unity::Il2CppString {
63 unsafe {
64 let __receiver = <RenderGraphLogger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
65 ::unity::il2cpp_call!((::unity::module_base()+0x30b4170usize)as*mut u8, ::unity::Il2CppString;
66(RenderGraphLogger)__receiver)
67 }
68 }
69 #[doc = "`.ctor()` overload"]
70 fn ctor(self) -> () {
71 unsafe {
72 let __receiver = <RenderGraphLogger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
73 ::unity::il2cpp_call!((::unity::module_base()+0x30b1780usize)as*mut u8,();
74(RenderGraphLogger)__receiver)
75 }
76 }
77}
78
79#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphlogger")]
80impl<__T: IRenderGraphLogger> IRenderGraphLoggerMethods for __T {}
81
82#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphlogger")]
83impl RenderGraphLogger {
84 pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
85 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
86 }
87
88 pub fn increment_indentation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
89 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
90 }
91
92 pub fn decrement_indentation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
93 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
94 }
95
96 pub fn log_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
97 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
98 }
99
100 pub fn get_log_method_info() -> &'static ::unity::il2cpp::MethodInfo {
101 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
102 }
103
104 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
105 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
106 }
107}
108
109#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphlogger")]
110impl RenderGraphLogger {
111 #[doc = "`.ctor()` — no args"]
112 pub fn new() -> Self {
113 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
114 panic!(
115 "{}
116::{}
117 failed to instantiate",
118 ::core::stringify!(RenderGraphLogger),
119 ::core::stringify!(new),
120 )
121 });
122 <Self as IRenderGraphLoggerMethods>::ctor(this);
123 this
124 }
125}
126
127#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphlogger")]
128#[doc(hidden)]
129pub mod prelude {
130 pub use super::{IRenderGraphLogger, IRenderGraphLoggerMethods, RenderGraphLogger};
131 pub use crate::system::object::IObject;
132 #[cfg(feature = "system-object")]
133 pub use crate::system::object::IObjectMethods;
134}