Skip to main content

engage/generated/unity_engine/experimental/rendering/
rendererlistdesc.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-experimental-rendering-rendererlistdesc-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/rendererlistdesc/RendererListDesc.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct RendererListDesc {}
17    impl ::unity::ClassIdentity for RendererListDesc {
18        const NAME: &'static str = "RendererListDesc";
19        const NAMESPACE: &'static str = "UnityEngine.Experimental.Rendering";
20
21        fn class() -> ::unity::Class {
22            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
23            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
24        }
25    }
26    impl ::unity::IlType for RendererListDesc {
27        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
28            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
29        }
30    }
31}
32
33#[cfg(feature = "unity_engine-experimental-rendering-rendererlistdesc-types")]
34pub use __types::*;
35
36#[cfg(feature = "unity_engine-experimental-rendering-rendererlistdesc")]
37impl RendererListDesc {
38    #[doc = "`get_cullingResult()` overload"]
39    pub fn get_culling_result(&mut self) -> crate::unity_engine::rendering::cullingresults::CullingResults {
40        unsafe {
41            ::unity::il2cpp_call!((::unity::module_base()+0x33e0670usize)as*mut u8,crate::unity_engine::rendering::cullingresults::CullingResults;
42(*mut RendererListDesc)self as*mut RendererListDesc)
43        }
44    }
45
46    #[doc = "`set_cullingResult(crate::unity_engine::rendering::cullingresults::CullingResults)` overload"]
47    pub fn set_culling_result(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::cullingresults::CullingResults>) -> () {
48        unsafe {
49            ::unity::il2cpp_call!((::unity::module_base()+0x33e0680usize)as*mut u8,();
50(*mut RendererListDesc)self as*mut RendererListDesc,(crate::unity_engine::rendering::cullingresults::CullingResults)::core::convert::Into::into(value))
51        }
52    }
53
54    #[doc = "`get_camera()` overload"]
55    pub fn get_camera(&mut self) -> crate::unity_engine::camera::Camera {
56        unsafe {
57            ::unity::il2cpp_call!((::unity::module_base()+0x33e0690usize)as*mut u8,crate::unity_engine::camera::Camera;
58(*mut RendererListDesc)self as*mut RendererListDesc)
59        }
60    }
61
62    #[doc = "`set_camera(crate::unity_engine::camera::Camera)` overload"]
63    pub fn set_camera(&mut self, value: impl ::core::convert::Into<crate::unity_engine::camera::Camera>) -> () {
64        unsafe {
65            ::unity::il2cpp_call!((::unity::module_base()+0x33e06a0usize)as*mut u8,();
66(*mut RendererListDesc)self as*mut RendererListDesc,(crate::unity_engine::camera::Camera)::core::convert::Into::into(value))
67        }
68    }
69
70    #[doc = "`get_passName()` overload"]
71    pub fn get_pass_name(&mut self) -> crate::unity_engine::rendering::shadertagid::ShaderTagId {
72        unsafe {
73            ::unity::il2cpp_call!((::unity::module_base()+0x33e06b0usize)as*mut u8,crate::unity_engine::rendering::shadertagid::ShaderTagId;
74(*mut RendererListDesc)self as*mut RendererListDesc)
75        }
76    }
77
78    #[doc = "`set_passName(crate::unity_engine::rendering::shadertagid::ShaderTagId)` overload"]
79    pub fn set_pass_name(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::shadertagid::ShaderTagId>) -> () {
80        unsafe {
81            ::unity::il2cpp_call!((::unity::module_base()+0x33e06c0usize)as*mut u8,();
82(*mut RendererListDesc)self as*mut RendererListDesc,(crate::unity_engine::rendering::shadertagid::ShaderTagId)::core::convert::Into::into(value))
83        }
84    }
85
86    #[doc = "`get_passNames()` overload"]
87    pub fn get_pass_names(&mut self) -> ::unity::Array<crate::unity_engine::rendering::shadertagid::ShaderTagId> {
88        unsafe {
89            ::unity::il2cpp_call!((::unity::module_base()+0x33e06d0usize)as*mut u8, ::unity::Array<crate::unity_engine::rendering::shadertagid::ShaderTagId> ;
90(*mut RendererListDesc)self as*mut RendererListDesc)
91        }
92    }
93
94    #[doc = "`set_passNames(::unity::Array<crate::unity_engine::rendering::shadertagid::ShaderTagId>)` overload"]
95    pub fn set_pass_names(
96        &mut self,
97        value: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::shadertagid::ShaderTagId>>,
98    ) -> () {
99        unsafe {
100            ::unity::il2cpp_call!((::unity::module_base()+0x33e06e0usize)as*mut u8,();
101(*mut RendererListDesc)self as*mut RendererListDesc,(::unity::Array<crate::unity_engine::rendering::shadertagid::ShaderTagId>)::core::convert::Into::into(value))
102        }
103    }
104
105    #[doc = "`.ctor(crate::unity_engine::rendering::shadertagid::ShaderTagId, crate::unity_engine::rendering::cullingresults::CullingResults, crate::unity_engine::camera::Camera)` overload"]
106    pub fn ctor(
107        &mut self,
108        pass_name: impl ::core::convert::Into<crate::unity_engine::rendering::shadertagid::ShaderTagId>,
109        culling_result: impl ::core::convert::Into<crate::unity_engine::rendering::cullingresults::CullingResults>,
110        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
111    ) -> () {
112        unsafe {
113            ::unity::il2cpp_call!((::unity::module_base()+0x33e06f0usize)as*mut u8,();
114(*mut RendererListDesc)self as*mut RendererListDesc,(crate::unity_engine::rendering::shadertagid::ShaderTagId)::core::convert::Into::into(pass_name),(crate::unity_engine::rendering::cullingresults::CullingResults)::core::convert::Into::into(culling_result),(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
115        }
116    }
117
118    #[doc = "`.ctor(::unity::Array<crate::unity_engine::rendering::shadertagid::ShaderTagId>, crate::unity_engine::rendering::cullingresults::CullingResults, crate::unity_engine::camera::Camera)` overload"]
119    pub fn ctor_2(
120        &mut self,
121        pass_names: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::shadertagid::ShaderTagId>>,
122        culling_result: impl ::core::convert::Into<crate::unity_engine::rendering::cullingresults::CullingResults>,
123        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
124    ) -> () {
125        unsafe {
126            ::unity::il2cpp_call!((::unity::module_base()+0x33e07a0usize)as*mut u8,();
127(*mut RendererListDesc)self as*mut RendererListDesc,(::unity::Array<crate::unity_engine::rendering::shadertagid::ShaderTagId>)::core::convert::Into::into(pass_names),(crate::unity_engine::rendering::cullingresults::CullingResults)::core::convert::Into::into(culling_result),(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
128        }
129    }
130
131    #[doc = "`IsValid()` overload"]
132    pub fn is_valid(&mut self) -> bool {
133        unsafe {
134            ::unity::il2cpp_call!((::unity::module_base()+0x33e04e0usize)as*mut u8,bool;
135(*mut RendererListDesc)self as*mut RendererListDesc)
136        }
137    }
138}
139
140#[cfg(feature = "unity_engine-experimental-rendering-rendererlistdesc")]
141impl RendererListDesc {
142    pub fn get_culling_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
143        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
144    }
145
146    pub fn set_culling_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
147        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
148    }
149
150    pub fn get_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
151        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
152    }
153
154    pub fn set_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
155        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
156    }
157
158    pub fn get_pass_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
159        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
160    }
161
162    pub fn set_pass_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
164    }
165
166    pub fn get_pass_names_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
168    }
169
170    pub fn set_pass_names_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
172    }
173
174    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
176    }
177
178    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
180    }
181
182    pub fn is_valid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
183        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
184    }
185}
186
187#[cfg(feature = "unity_engine-experimental-rendering-rendererlistdesc")]
188#[doc(hidden)]
189pub mod prelude {
190    pub use super::RendererListDesc;
191    #[cfg(feature = "system-object")]
192    pub use crate::system::object::IObjectMethods;
193    #[cfg(feature = "system-valuetype")]
194    pub use crate::system::valuetype::IValueTypeMethods;
195    pub use crate::system::{object::IObject, valuetype::IValueType};
196}