engage/generated/unity_engine/experimental/rendering/render_graph_module/
rendererlisthandle.rs1#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendererlisthandle-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/rendererlisthandle/RendererListHandle.md"))]
14 #[repr(C)]
15 #[derive(::core::clone::Clone, ::core::marker::Copy)]
16 pub struct RendererListHandle {
17 pub m_is_valid: bool,
18 }
19 impl ::unity::ClassIdentity for RendererListHandle {
20 const NAME: &'static str = "RendererListHandle";
21 const NAMESPACE: &'static str = "UnityEngine.Experimental.Rendering.RenderGraphModule";
22
23 fn class() -> ::unity::Class {
24 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
25 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
26 }
27 }
28 impl ::unity::IlType for RendererListHandle {
29 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
30 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
31 }
32 }
33}
34
35#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendererlisthandle-types")]
36pub use __types::*;
37
38#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendererlisthandle")]
39impl RendererListHandle {
40 #[doc = "`op_Implicit(crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle)` overload"]
41 pub fn op_implicit(
42 handle: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle>,
43 ) -> i32 {
44 unsafe {
45 ::unity::il2cpp_call!((::unity::module_base()+0x33dc870usize)as*mut u8,i32;
46(crate::unity_engine::experimental::rendering::render_graph_module::rendererlisthandle::RendererListHandle)::core::convert::Into::into(handle))
47 }
48 }
49}
50
51#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendererlisthandle")]
52impl RendererListHandle {
53 #[doc = "`get_handle()` overload"]
54 pub fn get_handle(&mut self) -> i32 {
55 unsafe {
56 ::unity::il2cpp_call!((::unity::module_base()+0x33e0890usize)as*mut u8,i32;
57(*mut RendererListHandle)self as*mut RendererListHandle)
58 }
59 }
60
61 #[doc = "`set_handle(i32)` overload"]
62 pub fn set_handle(&mut self, value: impl ::core::convert::Into<i32>) -> () {
63 unsafe {
64 ::unity::il2cpp_call!((::unity::module_base()+0x33e08a0usize)as*mut u8,();
65(*mut RendererListHandle)self as*mut RendererListHandle,(i32)::core::convert::Into::into(value))
66 }
67 }
68
69 #[doc = "`.ctor(i32)` overload"]
70 pub fn ctor(&mut self, handle: impl ::core::convert::Into<i32>) -> () {
71 unsafe {
72 ::unity::il2cpp_call!((::unity::module_base()+0x33dde90usize)as*mut u8,();
73(*mut RendererListHandle)self as*mut RendererListHandle,(i32)::core::convert::Into::into(handle))
74 }
75 }
76
77 #[doc = "`IsValid()` overload"]
78 pub fn is_valid(&mut self) -> bool {
79 unsafe {
80 ::unity::il2cpp_call!((::unity::module_base()+0x33e0a10usize)as*mut u8,bool;
81(*mut RendererListHandle)self as*mut RendererListHandle)
82 }
83 }
84}
85
86#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendererlisthandle")]
87impl RendererListHandle {
88 pub fn get_handle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
89 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
90 }
91
92 pub fn set_handle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
93 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
94 }
95
96 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
97 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
98 }
99
100 pub fn op_implicit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
101 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
102 }
103
104 pub fn is_valid_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-rendererlisthandle")]
110#[doc(hidden)]
111pub mod prelude {
112 pub use super::RendererListHandle;
113 #[cfg(feature = "system-object")]
114 pub use crate::system::object::IObjectMethods;
115 #[cfg(feature = "system-valuetype")]
116 pub use crate::system::valuetype::IValueTypeMethods;
117 pub use crate::system::{object::IObject, valuetype::IValueType};
118}