1#[cfg(feature = "unity_engine-rendering-universal-universalrenderpipelineasset-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 object_2::{IObject_2, Object_2},
12 rendering::renderpipelineasset::{IRenderPipelineAsset, RenderPipelineAsset},
13 scriptableobject::{IScriptableObject, ScriptableObject},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/universal/universalrenderpipelineasset/UniversalRenderPipelineAsset.md"))]
18 #[::unity::class(namespace = "UnityEngine.Rendering.Universal", name = "UniversalRenderPipelineAsset")]
19 #[parent(crate::unity_engine::rendering::renderpipelineasset::RenderPipelineAsset)]
20 pub struct UniversalRenderPipelineAsset {
21 #[offset(24)]
22 #[rename(name = "m_DefaultShader")]
23 pub m_default_shader: crate::unity_engine::shader::Shader,
24 #[offset(32)]
25 #[rename(name = "m_Renderers")]
26 pub m_renderers: ::unity::Array<crate::unity_engine::rendering::universal::scriptablerenderer::ScriptableRenderer>,
27 #[offset(40)]
28 #[rename(name = "k_AssetVersion")]
29 pub k_asset_version: i32,
30 #[offset(44)]
31 #[rename(name = "k_AssetPreviousVersion")]
32 pub k_asset_previous_version: i32,
33 #[offset(48)]
34 #[rename(name = "m_RendererType")]
35 pub m_renderer_type: crate::unity_engine::rendering::universal::renderertype::RendererType,
36 #[offset(56)]
37 #[rename(name = "m_RendererData")]
38 pub m_renderer_data: crate::unity_engine::rendering::universal::scriptablerendererdata::ScriptableRendererData,
39 #[offset(64)]
40 #[rename(name = "m_RendererDataList")]
41 pub m_renderer_data_list: ::unity::Array<crate::unity_engine::rendering::universal::scriptablerendererdata::ScriptableRendererData>,
42 #[offset(72)]
43 #[rename(name = "m_DefaultRendererIndex")]
44 pub m_default_renderer_index: i32,
45 #[offset(76)]
46 #[rename(name = "m_RequireDepthTexture")]
47 pub m_require_depth_texture: bool,
48 #[offset(77)]
49 #[rename(name = "m_RequireOpaqueTexture")]
50 pub m_require_opaque_texture: bool,
51 #[offset(80)]
52 #[rename(name = "m_OpaqueDownsampling")]
53 pub m_opaque_downsampling: crate::unity_engine::rendering::universal::downsampling::Downsampling,
54 #[offset(84)]
55 #[rename(name = "m_SupportsTerrainHoles")]
56 pub m_supports_terrain_holes: bool,
57 #[offset(85)]
58 #[rename(name = "m_SupportsHDR")]
59 pub m_supports_hdr: bool,
60 #[offset(88)]
61 #[rename(name = "m_MSAA")]
62 pub m_msaa: crate::unity_engine::rendering::universal::msaaquality::MsaaQuality,
63 #[offset(92)]
64 #[rename(name = "m_RenderScale")]
65 pub m_render_scale: f32,
66 #[offset(96)]
67 #[rename(name = "m_MainLightRenderingMode")]
68 pub m_main_light_rendering_mode: crate::unity_engine::rendering::universal::lightrenderingmode::LightRenderingMode,
69 #[offset(100)]
70 #[rename(name = "m_MainLightShadowsSupported")]
71 pub m_main_light_shadows_supported: bool,
72 #[offset(104)]
73 #[rename(name = "m_MainLightShadowmapResolution")]
74 pub m_main_light_shadowmap_resolution: crate::unity_engine::rendering::universal::shadowresolution_2::ShadowResolution_2,
75 #[offset(108)]
76 #[rename(name = "m_AdditionalLightsRenderingMode")]
77 pub m_additional_lights_rendering_mode: crate::unity_engine::rendering::universal::lightrenderingmode::LightRenderingMode,
78 #[offset(112)]
79 #[rename(name = "m_AdditionalLightsPerObjectLimit")]
80 pub m_additional_lights_per_object_limit: i32,
81 #[offset(116)]
82 #[rename(name = "m_AdditionalLightShadowsSupported")]
83 pub m_additional_light_shadows_supported: bool,
84 #[offset(120)]
85 #[rename(name = "m_AdditionalLightsShadowmapResolution")]
86 pub m_additional_lights_shadowmap_resolution: crate::unity_engine::rendering::universal::shadowresolution_2::ShadowResolution_2,
87 #[offset(124)]
88 #[rename(name = "m_ShadowDistance")]
89 pub m_shadow_distance: f32,
90 #[offset(128)]
91 #[rename(name = "m_ShadowCascadeCount")]
92 pub m_shadow_cascade_count: i32,
93 #[offset(132)]
94 #[rename(name = "m_Cascade2Split")]
95 pub m_cascade2_split: f32,
96 #[offset(136)]
97 #[rename(name = "m_Cascade3Split")]
98 pub m_cascade3_split: crate::unity_engine::vector2::Vector2,
99 #[offset(144)]
100 #[rename(name = "m_Cascade4Split")]
101 pub m_cascade4_split: crate::unity_engine::vector3::Vector3,
102 #[offset(156)]
103 #[rename(name = "m_ShadowDepthBias")]
104 pub m_shadow_depth_bias: f32,
105 #[offset(160)]
106 #[rename(name = "m_ShadowNormalBias")]
107 pub m_shadow_normal_bias: f32,
108 #[offset(164)]
109 #[rename(name = "m_SoftShadowsSupported")]
110 pub m_soft_shadows_supported: bool,
111 #[offset(165)]
112 #[rename(name = "m_UseSRPBatcher")]
113 pub m_use_srp_batcher: bool,
114 #[offset(166)]
115 #[rename(name = "m_SupportsDynamicBatching")]
116 pub m_supports_dynamic_batching: bool,
117 #[offset(167)]
118 #[rename(name = "m_MixedLightingSupported")]
119 pub m_mixed_lighting_supported: bool,
120 #[offset(168)]
121 #[rename(name = "m_DebugLevel")]
122 pub m_debug_level: crate::unity_engine::rendering::universal::pipelinedebuglevel::PipelineDebugLevel,
123 #[offset(172)]
124 #[rename(name = "m_UseAdaptivePerformance")]
125 pub m_use_adaptive_performance: bool,
126 #[offset(176)]
127 #[rename(name = "m_ColorGradingMode")]
128 pub m_color_grading_mode: crate::unity_engine::rendering::universal::colorgradingmode::ColorGradingMode,
129 #[offset(180)]
130 #[rename(name = "m_ColorGradingLutSize")]
131 pub m_color_grading_lut_size: i32,
132 #[offset(184)]
133 #[rename(name = "m_ShadowType")]
134 pub m_shadow_type: crate::unity_engine::rendering::universal::shadowquality::ShadowQuality,
135 #[offset(188)]
136 #[rename(name = "m_LocalShadowsSupported")]
137 pub m_local_shadows_supported: bool,
138 #[offset(192)]
139 #[rename(name = "m_LocalShadowsAtlasResolution")]
140 pub m_local_shadows_atlas_resolution: crate::unity_engine::rendering::universal::shadowresolution_2::ShadowResolution_2,
141 #[offset(196)]
142 #[rename(name = "m_MaxPixelLights")]
143 pub m_max_pixel_lights: i32,
144 #[offset(200)]
145 #[rename(name = "m_ShadowAtlasResolution")]
146 pub m_shadow_atlas_resolution: crate::unity_engine::rendering::universal::shadowresolution_2::ShadowResolution_2,
147 #[offset(204)]
148 #[rename(name = "m_ShaderVariantLogLevel")]
149 pub m_shader_variant_log_level: crate::unity_engine::rendering::universal::shadervariantloglevel::ShaderVariantLogLevel,
150 #[offset(208)]
151 #[rename(name = "m_CustomShadowDataList")]
152 pub m_custom_shadow_data_list: ::unity::Array<crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData>,
153 #[offset(216)]
154 #[rename(name = "m_SharpenFilter")]
155 pub m_sharpen_filter: bool,
156 #[static_field]
157 #[rename(name = "k_MinLutSize")]
158 pub k_min_lut_size: i32,
159 #[static_field]
160 #[rename(name = "k_MaxLutSize")]
161 pub k_max_lut_size: i32,
162 #[static_field]
163 #[rename(name = "k_ShadowCascadeMinCount")]
164 pub k_shadow_cascade_min_count: i32,
165 #[static_field]
166 #[rename(name = "k_ShadowCascadeMaxCount")]
167 pub k_shadow_cascade_max_count: i32,
168 #[offset(232)]
169 #[rename(name = "m_ShadowCascades")]
170 pub m_shadow_cascades: crate::unity_engine::rendering::universal::shadowcascadesoption::ShadowCascadesOption,
171 }
172}
173
174#[cfg(feature = "unity_engine-rendering-universal-universalrenderpipelineasset-types")]
175pub use __types::*;
176
177#[cfg(feature = "unity_engine-rendering-universal-universalrenderpipelineasset")]
178pub trait IUniversalRenderPipelineAssetMethods: IUniversalRenderPipelineAsset {
179 #[doc = "`get_sharpenFilter()` overload"]
180 fn get_sharpen_filter(self) -> bool {
181 unsafe {
182 let __receiver =
183 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
184 ::unity::il2cpp_call!((::unity::module_base()+0x2caf0c0usize)as*mut u8,bool;
185(UniversalRenderPipelineAsset)__receiver)
186 }
187 }
188 #[doc = "`set_sharpenFilter(bool)` overload"]
189 fn set_sharpen_filter(self, value: impl ::core::convert::Into<bool>) -> () {
190 unsafe {
191 let __receiver =
192 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193 ::unity::il2cpp_call!((::unity::module_base()+0x2caf0d0usize)as*mut u8,();
194(UniversalRenderPipelineAsset)__receiver,(bool)::core::convert::Into::into(value))
195 }
196 }
197 #[doc = "`get_lutPatternV()` overload"]
198 fn get_lut_pattern_v(self) -> f32 {
199 unsafe {
200 let __receiver =
201 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
202 ::unity::il2cpp_call!((::unity::module_base()+0x2caf0e0usize)as*mut u8,f32;
203(UniversalRenderPipelineAsset)__receiver)
204 }
205 }
206 #[doc = "`set_lutPatternV(f32)` overload"]
207 fn set_lut_pattern_v(self, value: impl ::core::convert::Into<f32>) -> () {
208 unsafe {
209 let __receiver =
210 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211 ::unity::il2cpp_call!((::unity::module_base()+0x2caf0f0usize)as*mut u8,();
212(UniversalRenderPipelineAsset)__receiver,(f32)::core::convert::Into::into(value))
213 }
214 }
215 #[doc = "`CalcLutPatternParams(i32, i32)` overload"]
216 fn calc_lut_pattern_params(self, pattern_index: impl ::core::convert::Into<i32>, pattern_count: impl ::core::convert::Into<i32>) -> () {
217 unsafe {
218 let __receiver =
219 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
220 ::unity::il2cpp_call!((::unity::module_base()+0x2caf100usize)as*mut u8,();
221(UniversalRenderPipelineAsset)__receiver,(i32)::core::convert::Into::into(pattern_index),(i32)::core::convert::Into::into(pattern_count))
222 }
223 }
224 #[doc = "`get_customAlphaMapUI()` overload"]
225 fn get_custom_alpha_map_ui(self) -> f32 {
226 unsafe {
227 let __receiver =
228 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
229 ::unity::il2cpp_call!((::unity::module_base()+0x2caf130usize)as*mut u8,f32;
230(UniversalRenderPipelineAsset)__receiver)
231 }
232 }
233 #[doc = "`set_customAlphaMapUI(f32)` overload"]
234 fn set_custom_alpha_map_ui(self, value: impl ::core::convert::Into<f32>) -> () {
235 unsafe {
236 let __receiver =
237 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
238 ::unity::il2cpp_call!((::unity::module_base()+0x2caf140usize)as*mut u8,();
239(UniversalRenderPipelineAsset)__receiver,(f32)::core::convert::Into::into(value))
240 }
241 }
242 #[doc = "`get_customRenderingFlag()` overload"]
243 fn get_custom_rendering_flag(self) -> crate::unity_engine::rendering::universal::customrenderingflag::CustomRenderingFlag {
244 unsafe {
245 let __receiver =
246 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
247 ::unity::il2cpp_call!((::unity::module_base()+0x2caf150usize)as*mut u8,crate::unity_engine::rendering::universal::customrenderingflag::CustomRenderingFlag;
248(UniversalRenderPipelineAsset)__receiver)
249 }
250 }
251 #[doc = "`set_customRenderingFlag(crate::unity_engine::rendering::universal::customrenderingflag::CustomRenderingFlag)` overload"]
252 fn set_custom_rendering_flag(
253 self,
254 value: impl ::core::convert::Into<crate::unity_engine::rendering::universal::customrenderingflag::CustomRenderingFlag>,
255 ) -> () {
256 unsafe {
257 let __receiver =
258 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
259 ::unity::il2cpp_call!((::unity::module_base()+0x2caf160usize)as*mut u8,();
260(UniversalRenderPipelineAsset)__receiver,(crate::unity_engine::rendering::universal::customrenderingflag::CustomRenderingFlag)::core::convert::Into::into(value))
261 }
262 }
263 #[doc = "`LoadBuiltinRendererData(crate::unity_engine::rendering::universal::renderertype::RendererType)` overload"]
264 fn load_builtin_renderer_data(
265 self,
266 r#type: impl ::core::convert::Into<crate::unity_engine::rendering::universal::renderertype::RendererType>,
267 ) -> crate::unity_engine::rendering::universal::scriptablerendererdata::ScriptableRendererData {
268 unsafe {
269 let __receiver =
270 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
271 ::unity::il2cpp_call!((::unity::module_base()+0x2caf170usize)as*mut u8,crate::unity_engine::rendering::universal::scriptablerendererdata::ScriptableRendererData;
272(UniversalRenderPipelineAsset)__receiver,(crate::unity_engine::rendering::universal::renderertype::RendererType)::core::convert::Into::into(r#type))
273 }
274 }
275 #[doc = "`CreatePipeline()` overload"]
276 fn create_pipeline(self) -> crate::unity_engine::rendering::renderpipeline::RenderPipeline {
277 unsafe {
278 let __receiver =
279 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
280 {
281 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
282 let __vi = *__vt.get(22usize).unwrap_or_else(|| {
283 panic!(
284 "unity: virtual slot {}
285 out of range (vtable len {}
286) on the runtime class behind {}
287 (method `{}
288`)",
289 22usize,
290 __vt.len(),
291 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
292 "CreatePipeline",
293 )
294 });
295 let __inner: extern "C" fn(
296 UniversalRenderPipelineAsset,
297 ::unity::OptionalMethod,
298 ) -> crate::unity_engine::rendering::renderpipeline::RenderPipeline = ::core::mem::transmute(__vi.method_ptr);
299 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
300 __inner(__receiver, __mi)
301 }
302 }
303 }
304 #[doc = "`DestroyRenderers()` overload"]
305 fn destroy_renderers(self) -> () {
306 unsafe {
307 let __receiver =
308 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
309 ::unity::il2cpp_call!((::unity::module_base()+0x2caf5e0usize)as*mut u8,();
310(UniversalRenderPipelineAsset)__receiver)
311 }
312 }
313 #[doc = "`DestroyRenderer(*mutcrate::unity_engine::rendering::universal::scriptablerenderer::ScriptableRenderer)` overload"]
314 fn destroy_renderer(self) -> crate::unity_engine::rendering::universal::scriptablerenderer::ScriptableRenderer {
315 unsafe {
316 let __receiver =
317 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
318 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::universal::scriptablerenderer::ScriptableRenderer>::uninit();
319 ::unity::il2cpp_call!((::unity::module_base()+0x2caf680usize)as*mut u8,();
320(UniversalRenderPipelineAsset)__receiver,(*mut crate::unity_engine::rendering::universal::scriptablerenderer::ScriptableRenderer)__out_0.as_mut_ptr());
321 __out_0.assume_init()
322 }
323 }
324 #[doc = "`OnValidate()` overload"]
325 fn on_validate(self) -> () {
326 unsafe {
327 let __receiver =
328 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
329 {
330 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
331 let __vi = *__vt.get(23usize).unwrap_or_else(|| {
332 panic!(
333 "unity: virtual slot {}
334 out of range (vtable len {}
335) on the runtime class behind {}
336 (method `{}
337`)",
338 23usize,
339 __vt.len(),
340 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
341 "OnValidate",
342 )
343 });
344 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
345 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
346 __inner(__receiver, __mi)
347 }
348 }
349 }
350 #[doc = "`OnDisable()` overload"]
351 fn on_disable(self) -> () {
352 unsafe {
353 let __receiver =
354 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
355 {
356 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
357 let __vi = *__vt.get(24usize).unwrap_or_else(|| {
358 panic!(
359 "unity: virtual slot {}
360 out of range (vtable len {}
361) on the runtime class behind {}
362 (method `{}
363`)",
364 24usize,
365 __vt.len(),
366 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
367 "OnDisable",
368 )
369 });
370 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
371 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
372 __inner(__receiver, __mi)
373 }
374 }
375 }
376 #[doc = "`CreateRenderers()` overload"]
377 fn create_renderers(self) -> () {
378 unsafe {
379 let __receiver =
380 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
381 ::unity::il2cpp_call!((::unity::module_base()+0x2caf3f0usize)as*mut u8,();
382(UniversalRenderPipelineAsset)__receiver)
383 }
384 }
385 #[doc = "`GetMaterial(crate::unity_engine::rendering::universal::defaultmaterialtype::DefaultMaterialType)` overload"]
386 fn get_material(
387 self,
388 material_type: impl ::core::convert::Into<crate::unity_engine::rendering::universal::defaultmaterialtype::DefaultMaterialType>,
389 ) -> crate::unity_engine::material::Material {
390 unsafe {
391 let __receiver =
392 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
393 ::unity::il2cpp_call!((::unity::module_base()+0x2caf810usize)as*mut u8,crate::unity_engine::material::Material;
394(UniversalRenderPipelineAsset)__receiver,(crate::unity_engine::rendering::universal::defaultmaterialtype::DefaultMaterialType)::core::convert::Into::into(material_type))
395 }
396 }
397 #[doc = "`get_scriptableRenderer()` overload"]
398 fn get_scriptable_renderer(self) -> crate::unity_engine::rendering::universal::scriptablerenderer::ScriptableRenderer {
399 unsafe {
400 let __receiver =
401 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
402 ::unity::il2cpp_call!((::unity::module_base()+0x2cacd80usize)as*mut u8,crate::unity_engine::rendering::universal::scriptablerenderer::ScriptableRenderer;
403(UniversalRenderPipelineAsset)__receiver)
404 }
405 }
406 #[doc = "`GetRenderer(i32)` overload"]
407 fn get_renderer(
408 self,
409 index: impl ::core::convert::Into<i32>,
410 ) -> crate::unity_engine::rendering::universal::scriptablerenderer::ScriptableRenderer {
411 unsafe {
412 let __receiver =
413 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414 ::unity::il2cpp_call!((::unity::module_base()+0x2ca4ef0usize)as*mut u8,crate::unity_engine::rendering::universal::scriptablerenderer::ScriptableRenderer;
415(UniversalRenderPipelineAsset)__receiver,(i32)::core::convert::Into::into(index))
416 }
417 }
418 #[doc = "`get_scriptableRendererData()` overload"]
419 fn get_scriptable_renderer_data(self) -> crate::unity_engine::rendering::universal::scriptablerendererdata::ScriptableRendererData {
420 unsafe {
421 let __receiver =
422 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
423 ::unity::il2cpp_call!((::unity::module_base()+0x2caf820usize)as*mut u8,crate::unity_engine::rendering::universal::scriptablerendererdata::ScriptableRendererData;
424(UniversalRenderPipelineAsset)__receiver)
425 }
426 }
427 #[doc = "`get_rendererIndexList()` overload"]
428 fn get_renderer_index_list(self) -> ::unity::Array<i32> {
429 unsafe {
430 let __receiver =
431 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
432 ::unity::il2cpp_call!((::unity::module_base()+0x2caf8f0usize)as*mut u8, ::unity::Array<i32> ;
433(UniversalRenderPipelineAsset)__receiver)
434 }
435 }
436 #[doc = "`get_supportsCameraDepthTexture()` overload"]
437 fn get_supports_camera_depth_texture(self) -> bool {
438 unsafe {
439 let __receiver =
440 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
441 ::unity::il2cpp_call!((::unity::module_base()+0x2caf9a0usize)as*mut u8,bool;
442(UniversalRenderPipelineAsset)__receiver)
443 }
444 }
445 #[doc = "`set_supportsCameraDepthTexture(bool)` overload"]
446 fn set_supports_camera_depth_texture(self, value: impl ::core::convert::Into<bool>) -> () {
447 unsafe {
448 let __receiver =
449 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
450 ::unity::il2cpp_call!((::unity::module_base()+0x2caf9b0usize)as*mut u8,();
451(UniversalRenderPipelineAsset)__receiver,(bool)::core::convert::Into::into(value))
452 }
453 }
454 #[doc = "`get_supportsCameraOpaqueTexture()` overload"]
455 fn get_supports_camera_opaque_texture(self) -> bool {
456 unsafe {
457 let __receiver =
458 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
459 ::unity::il2cpp_call!((::unity::module_base()+0x2caf9c0usize)as*mut u8,bool;
460(UniversalRenderPipelineAsset)__receiver)
461 }
462 }
463 #[doc = "`set_supportsCameraOpaqueTexture(bool)` overload"]
464 fn set_supports_camera_opaque_texture(self, value: impl ::core::convert::Into<bool>) -> () {
465 unsafe {
466 let __receiver =
467 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
468 ::unity::il2cpp_call!((::unity::module_base()+0x2caf9d0usize)as*mut u8,();
469(UniversalRenderPipelineAsset)__receiver,(bool)::core::convert::Into::into(value))
470 }
471 }
472 #[doc = "`get_opaqueDownsampling()` overload"]
473 fn get_opaque_downsampling(self) -> crate::unity_engine::rendering::universal::downsampling::Downsampling {
474 unsafe {
475 let __receiver =
476 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
477 ::unity::il2cpp_call!((::unity::module_base()+0x2caf9e0usize)as*mut u8,crate::unity_engine::rendering::universal::downsampling::Downsampling;
478(UniversalRenderPipelineAsset)__receiver)
479 }
480 }
481 #[doc = "`get_supportsTerrainHoles()` overload"]
482 fn get_supports_terrain_holes(self) -> bool {
483 unsafe {
484 let __receiver =
485 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
486 ::unity::il2cpp_call!((::unity::module_base()+0x2caf9f0usize)as*mut u8,bool;
487(UniversalRenderPipelineAsset)__receiver)
488 }
489 }
490 #[doc = "`get_supportsHDR()` overload"]
491 fn get_supports_hdr(self) -> bool {
492 unsafe {
493 let __receiver =
494 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
495 ::unity::il2cpp_call!((::unity::module_base()+0x2cafa00usize)as*mut u8,bool;
496(UniversalRenderPipelineAsset)__receiver)
497 }
498 }
499 #[doc = "`set_supportsHDR(bool)` overload"]
500 fn set_supports_hdr(self, value: impl ::core::convert::Into<bool>) -> () {
501 unsafe {
502 let __receiver =
503 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
504 ::unity::il2cpp_call!((::unity::module_base()+0x2cafa10usize)as*mut u8,();
505(UniversalRenderPipelineAsset)__receiver,(bool)::core::convert::Into::into(value))
506 }
507 }
508 #[doc = "`get_msaaSampleCount()` overload"]
509 fn get_msaa_sample_count(self) -> i32 {
510 unsafe {
511 let __receiver =
512 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
513 ::unity::il2cpp_call!((::unity::module_base()+0x2cafa20usize)as*mut u8,i32;
514(UniversalRenderPipelineAsset)__receiver)
515 }
516 }
517 #[doc = "`set_msaaSampleCount(i32)` overload"]
518 fn set_msaa_sample_count(self, value: impl ::core::convert::Into<i32>) -> () {
519 unsafe {
520 let __receiver =
521 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
522 ::unity::il2cpp_call!((::unity::module_base()+0x2cafa30usize)as*mut u8,();
523(UniversalRenderPipelineAsset)__receiver,(i32)::core::convert::Into::into(value))
524 }
525 }
526 #[doc = "`get_renderScale()` overload"]
527 fn get_render_scale(self) -> f32 {
528 unsafe {
529 let __receiver =
530 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
531 ::unity::il2cpp_call!((::unity::module_base()+0x2cafa40usize)as*mut u8,f32;
532(UniversalRenderPipelineAsset)__receiver)
533 }
534 }
535 #[doc = "`set_renderScale(f32)` overload"]
536 fn set_render_scale(self, value: impl ::core::convert::Into<f32>) -> () {
537 unsafe {
538 let __receiver =
539 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
540 ::unity::il2cpp_call!((::unity::module_base()+0x2cafa50usize)as*mut u8,();
541(UniversalRenderPipelineAsset)__receiver,(f32)::core::convert::Into::into(value))
542 }
543 }
544 #[doc = "`get_mainLightRenderingMode()` overload"]
545 fn get_main_light_rendering_mode(self) -> crate::unity_engine::rendering::universal::lightrenderingmode::LightRenderingMode {
546 unsafe {
547 let __receiver =
548 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
549 ::unity::il2cpp_call!((::unity::module_base()+0x2cafb80usize)as*mut u8,crate::unity_engine::rendering::universal::lightrenderingmode::LightRenderingMode;
550(UniversalRenderPipelineAsset)__receiver)
551 }
552 }
553 #[doc = "`get_supportsMainLightShadows()` overload"]
554 fn get_supports_main_light_shadows(self) -> bool {
555 unsafe {
556 let __receiver =
557 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
558 ::unity::il2cpp_call!((::unity::module_base()+0x2cafb90usize)as*mut u8,bool;
559(UniversalRenderPipelineAsset)__receiver)
560 }
561 }
562 #[doc = "`get_mainLightShadowmapResolution()` overload"]
563 fn get_main_light_shadowmap_resolution(self) -> i32 {
564 unsafe {
565 let __receiver =
566 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
567 ::unity::il2cpp_call!((::unity::module_base()+0x2cafba0usize)as*mut u8,i32;
568(UniversalRenderPipelineAsset)__receiver)
569 }
570 }
571 #[doc = "`get_additionalLightsRenderingMode()` overload"]
572 fn get_additional_lights_rendering_mode(self) -> crate::unity_engine::rendering::universal::lightrenderingmode::LightRenderingMode {
573 unsafe {
574 let __receiver =
575 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
576 ::unity::il2cpp_call!((::unity::module_base()+0x2cafbb0usize)as*mut u8,crate::unity_engine::rendering::universal::lightrenderingmode::LightRenderingMode;
577(UniversalRenderPipelineAsset)__receiver)
578 }
579 }
580 #[doc = "`get_maxAdditionalLightsCount()` overload"]
581 fn get_max_additional_lights_count(self) -> i32 {
582 unsafe {
583 let __receiver =
584 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
585 ::unity::il2cpp_call!((::unity::module_base()+0x2cafbc0usize)as*mut u8,i32;
586(UniversalRenderPipelineAsset)__receiver)
587 }
588 }
589 #[doc = "`set_maxAdditionalLightsCount(i32)` overload"]
590 fn set_max_additional_lights_count(self, value: impl ::core::convert::Into<i32>) -> () {
591 unsafe {
592 let __receiver =
593 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
594 ::unity::il2cpp_call!((::unity::module_base()+0x2cafbd0usize)as*mut u8,();
595(UniversalRenderPipelineAsset)__receiver,(i32)::core::convert::Into::into(value))
596 }
597 }
598 #[doc = "`get_supportsAdditionalLightShadows()` overload"]
599 fn get_supports_additional_light_shadows(self) -> bool {
600 unsafe {
601 let __receiver =
602 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
603 ::unity::il2cpp_call!((::unity::module_base()+0x2cafcd0usize)as*mut u8,bool;
604(UniversalRenderPipelineAsset)__receiver)
605 }
606 }
607 #[doc = "`get_additionalLightsShadowmapResolution()` overload"]
608 fn get_additional_lights_shadowmap_resolution(self) -> i32 {
609 unsafe {
610 let __receiver =
611 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
612 ::unity::il2cpp_call!((::unity::module_base()+0x2cafce0usize)as*mut u8,i32;
613(UniversalRenderPipelineAsset)__receiver)
614 }
615 }
616 #[doc = "`get_shadowDistance()` overload"]
617 fn get_shadow_distance(self) -> f32 {
618 unsafe {
619 let __receiver =
620 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
621 ::unity::il2cpp_call!((::unity::module_base()+0x2cafcf0usize)as*mut u8,f32;
622(UniversalRenderPipelineAsset)__receiver)
623 }
624 }
625 #[doc = "`set_shadowDistance(f32)` overload"]
626 fn set_shadow_distance(self, value: impl ::core::convert::Into<f32>) -> () {
627 unsafe {
628 let __receiver =
629 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
630 ::unity::il2cpp_call!((::unity::module_base()+0x2cafd00usize)as*mut u8,();
631(UniversalRenderPipelineAsset)__receiver,(f32)::core::convert::Into::into(value))
632 }
633 }
634 #[doc = "`get_shadowCascadeCount()` overload"]
635 fn get_shadow_cascade_count(self) -> i32 {
636 unsafe {
637 let __receiver =
638 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
639 ::unity::il2cpp_call!((::unity::module_base()+0x2cafd30usize)as*mut u8,i32;
640(UniversalRenderPipelineAsset)__receiver)
641 }
642 }
643 #[doc = "`set_shadowCascadeCount(i32)` overload"]
644 fn set_shadow_cascade_count(self, value: impl ::core::convert::Into<i32>) -> () {
645 unsafe {
646 let __receiver =
647 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
648 ::unity::il2cpp_call!((::unity::module_base()+0x2cafd40usize)as*mut u8,();
649(UniversalRenderPipelineAsset)__receiver,(i32)::core::convert::Into::into(value))
650 }
651 }
652 #[doc = "`get_cascade2Split()` overload"]
653 fn get_cascade2_split(self) -> f32 {
654 unsafe {
655 let __receiver =
656 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
657 ::unity::il2cpp_call!((::unity::module_base()+0x2cafe30usize)as*mut u8,f32;
658(UniversalRenderPipelineAsset)__receiver)
659 }
660 }
661 #[doc = "`get_cascade3Split()` overload"]
662 fn get_cascade3_split(self) -> crate::unity_engine::vector2::Vector2 {
663 unsafe {
664 let __receiver =
665 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
666 ::unity::il2cpp_call!((::unity::module_base()+0x2cafe40usize)as*mut u8,crate::unity_engine::vector2::Vector2;
667(UniversalRenderPipelineAsset)__receiver)
668 }
669 }
670 #[doc = "`get_cascade4Split()` overload"]
671 fn get_cascade4_split(self) -> crate::unity_engine::vector3::Vector3 {
672 unsafe {
673 let __receiver =
674 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
675 ::unity::il2cpp_call!((::unity::module_base()+0x2cafe50usize)as*mut u8,crate::unity_engine::vector3::Vector3;
676(UniversalRenderPipelineAsset)__receiver)
677 }
678 }
679 #[doc = "`get_shadowDepthBias()` overload"]
680 fn get_shadow_depth_bias(self) -> f32 {
681 unsafe {
682 let __receiver =
683 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
684 ::unity::il2cpp_call!((::unity::module_base()+0x2cafe60usize)as*mut u8,f32;
685(UniversalRenderPipelineAsset)__receiver)
686 }
687 }
688 #[doc = "`set_shadowDepthBias(f32)` overload"]
689 fn set_shadow_depth_bias(self, value: impl ::core::convert::Into<f32>) -> () {
690 unsafe {
691 let __receiver =
692 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
693 ::unity::il2cpp_call!((::unity::module_base()+0x2cafe70usize)as*mut u8,();
694(UniversalRenderPipelineAsset)__receiver,(f32)::core::convert::Into::into(value))
695 }
696 }
697 #[doc = "`get_shadowNormalBias()` overload"]
698 fn get_shadow_normal_bias(self) -> f32 {
699 unsafe {
700 let __receiver =
701 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
702 ::unity::il2cpp_call!((::unity::module_base()+0x2caff90usize)as*mut u8,f32;
703(UniversalRenderPipelineAsset)__receiver)
704 }
705 }
706 #[doc = "`set_shadowNormalBias(f32)` overload"]
707 fn set_shadow_normal_bias(self, value: impl ::core::convert::Into<f32>) -> () {
708 unsafe {
709 let __receiver =
710 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
711 ::unity::il2cpp_call!((::unity::module_base()+0x2caffa0usize)as*mut u8,();
712(UniversalRenderPipelineAsset)__receiver,(f32)::core::convert::Into::into(value))
713 }
714 }
715 #[doc = "`get_supportsSoftShadows()` overload"]
716 fn get_supports_soft_shadows(self) -> bool {
717 unsafe {
718 let __receiver =
719 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
720 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0040usize)as*mut u8,bool;
721(UniversalRenderPipelineAsset)__receiver)
722 }
723 }
724 #[doc = "`get_supportsDynamicBatching()` overload"]
725 fn get_supports_dynamic_batching(self) -> bool {
726 unsafe {
727 let __receiver =
728 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
729 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0050usize)as*mut u8,bool;
730(UniversalRenderPipelineAsset)__receiver)
731 }
732 }
733 #[doc = "`set_supportsDynamicBatching(bool)` overload"]
734 fn set_supports_dynamic_batching(self, value: impl ::core::convert::Into<bool>) -> () {
735 unsafe {
736 let __receiver =
737 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
738 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0060usize)as*mut u8,();
739(UniversalRenderPipelineAsset)__receiver,(bool)::core::convert::Into::into(value))
740 }
741 }
742 #[doc = "`get_supportsMixedLighting()` overload"]
743 fn get_supports_mixed_lighting(self) -> bool {
744 unsafe {
745 let __receiver =
746 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
747 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0070usize)as*mut u8,bool;
748(UniversalRenderPipelineAsset)__receiver)
749 }
750 }
751 #[doc = "`get_shaderVariantLogLevel()` overload"]
752 fn get_shader_variant_log_level(self) -> crate::unity_engine::rendering::universal::shadervariantloglevel::ShaderVariantLogLevel {
753 unsafe {
754 let __receiver =
755 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
756 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0080usize)as*mut u8,crate::unity_engine::rendering::universal::shadervariantloglevel::ShaderVariantLogLevel;
757(UniversalRenderPipelineAsset)__receiver)
758 }
759 }
760 #[doc = "`set_shaderVariantLogLevel(crate::unity_engine::rendering::universal::shadervariantloglevel::ShaderVariantLogLevel)` overload"]
761 fn set_shader_variant_log_level(
762 self,
763 value: impl ::core::convert::Into<crate::unity_engine::rendering::universal::shadervariantloglevel::ShaderVariantLogLevel>,
764 ) -> () {
765 unsafe {
766 let __receiver =
767 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
768 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0090usize)as*mut u8,();
769(UniversalRenderPipelineAsset)__receiver,(crate::unity_engine::rendering::universal::shadervariantloglevel::ShaderVariantLogLevel)::core::convert::Into::into(value))
770 }
771 }
772 #[doc = "`get_debugLevel()` overload"]
773 fn get_debug_level(self) -> crate::unity_engine::rendering::universal::pipelinedebuglevel::PipelineDebugLevel {
774 unsafe {
775 let __receiver =
776 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
777 ::unity::il2cpp_call!((::unity::module_base()+0x2cb00a0usize)as*mut u8,crate::unity_engine::rendering::universal::pipelinedebuglevel::PipelineDebugLevel;
778(UniversalRenderPipelineAsset)__receiver)
779 }
780 }
781 #[doc = "`set_debugLevel(crate::unity_engine::rendering::universal::pipelinedebuglevel::PipelineDebugLevel)` overload"]
782 fn set_debug_level(
783 self,
784 value: impl ::core::convert::Into<crate::unity_engine::rendering::universal::pipelinedebuglevel::PipelineDebugLevel>,
785 ) -> () {
786 unsafe {
787 let __receiver =
788 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
789 ::unity::il2cpp_call!((::unity::module_base()+0x2cb00b0usize)as*mut u8,();
790(UniversalRenderPipelineAsset)__receiver,(crate::unity_engine::rendering::universal::pipelinedebuglevel::PipelineDebugLevel)::core::convert::Into::into(value))
791 }
792 }
793 #[doc = "`get_useSRPBatcher()` overload"]
794 fn get_use_srp_batcher(self) -> bool {
795 unsafe {
796 let __receiver =
797 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
798 ::unity::il2cpp_call!((::unity::module_base()+0x2cb00c0usize)as*mut u8,bool;
799(UniversalRenderPipelineAsset)__receiver)
800 }
801 }
802 #[doc = "`set_useSRPBatcher(bool)` overload"]
803 fn set_use_srp_batcher(self, value: impl ::core::convert::Into<bool>) -> () {
804 unsafe {
805 let __receiver =
806 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
807 ::unity::il2cpp_call!((::unity::module_base()+0x2cb00d0usize)as*mut u8,();
808(UniversalRenderPipelineAsset)__receiver,(bool)::core::convert::Into::into(value))
809 }
810 }
811 #[doc = "`get_colorGradingMode()` overload"]
812 fn get_color_grading_mode(self) -> crate::unity_engine::rendering::universal::colorgradingmode::ColorGradingMode {
813 unsafe {
814 let __receiver =
815 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
816 ::unity::il2cpp_call!((::unity::module_base()+0x2cb00e0usize)as*mut u8,crate::unity_engine::rendering::universal::colorgradingmode::ColorGradingMode;
817(UniversalRenderPipelineAsset)__receiver)
818 }
819 }
820 #[doc = "`set_colorGradingMode(crate::unity_engine::rendering::universal::colorgradingmode::ColorGradingMode)` overload"]
821 fn set_color_grading_mode(
822 self,
823 value: impl ::core::convert::Into<crate::unity_engine::rendering::universal::colorgradingmode::ColorGradingMode>,
824 ) -> () {
825 unsafe {
826 let __receiver =
827 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
828 ::unity::il2cpp_call!((::unity::module_base()+0x2cb00f0usize)as*mut u8,();
829(UniversalRenderPipelineAsset)__receiver,(crate::unity_engine::rendering::universal::colorgradingmode::ColorGradingMode)::core::convert::Into::into(value))
830 }
831 }
832 #[doc = "`get_colorGradingLutSize()` overload"]
833 fn get_color_grading_lut_size(self) -> i32 {
834 unsafe {
835 let __receiver =
836 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
837 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0100usize)as*mut u8,i32;
838(UniversalRenderPipelineAsset)__receiver)
839 }
840 }
841 #[doc = "`set_colorGradingLutSize(i32)` overload"]
842 fn set_color_grading_lut_size(self, value: impl ::core::convert::Into<i32>) -> () {
843 unsafe {
844 let __receiver =
845 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
846 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0110usize)as*mut u8,();
847(UniversalRenderPipelineAsset)__receiver,(i32)::core::convert::Into::into(value))
848 }
849 }
850 #[doc = "`get_useAdaptivePerformance()` overload"]
851 fn get_use_adaptive_performance(self) -> bool {
852 unsafe {
853 let __receiver =
854 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
855 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0150usize)as*mut u8,bool;
856(UniversalRenderPipelineAsset)__receiver)
857 }
858 }
859 #[doc = "`set_useAdaptivePerformance(bool)` overload"]
860 fn set_use_adaptive_performance(self, value: impl ::core::convert::Into<bool>) -> () {
861 unsafe {
862 let __receiver =
863 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
864 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0160usize)as*mut u8,();
865(UniversalRenderPipelineAsset)__receiver,(bool)::core::convert::Into::into(value))
866 }
867 }
868 #[doc = "`get_defaultMaterial()` overload"]
869 fn get_default_material(self) -> crate::unity_engine::material::Material {
870 unsafe {
871 let __receiver =
872 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
873 {
874 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
875 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
876 panic!(
877 "unity: virtual slot {}
878 out of range (vtable len {}
879) on the runtime class behind {}
880 (method `{}
881`)",
882 5usize,
883 __vt.len(),
884 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
885 "get_defaultMaterial",
886 )
887 });
888 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
889 ::core::mem::transmute(__vi.method_ptr);
890 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
891 __inner(__receiver, __mi)
892 }
893 }
894 }
895 #[doc = "`get_defaultParticleMaterial()` overload"]
896 fn get_default_particle_material(self) -> crate::unity_engine::material::Material {
897 unsafe {
898 let __receiver =
899 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
900 {
901 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
902 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
903 panic!(
904 "unity: virtual slot {}
905 out of range (vtable len {}
906) on the runtime class behind {}
907 (method `{}
908`)",
909 12usize,
910 __vt.len(),
911 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
912 "get_defaultParticleMaterial",
913 )
914 });
915 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
916 ::core::mem::transmute(__vi.method_ptr);
917 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
918 __inner(__receiver, __mi)
919 }
920 }
921 }
922 #[doc = "`get_defaultLineMaterial()` overload"]
923 fn get_default_line_material(self) -> crate::unity_engine::material::Material {
924 unsafe {
925 let __receiver =
926 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
927 {
928 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
929 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
930 panic!(
931 "unity: virtual slot {}
932 out of range (vtable len {}
933) on the runtime class behind {}
934 (method `{}
935`)",
936 13usize,
937 __vt.len(),
938 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
939 "get_defaultLineMaterial",
940 )
941 });
942 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
943 ::core::mem::transmute(__vi.method_ptr);
944 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
945 __inner(__receiver, __mi)
946 }
947 }
948 }
949 #[doc = "`get_defaultTerrainMaterial()` overload"]
950 fn get_default_terrain_material(self) -> crate::unity_engine::material::Material {
951 unsafe {
952 let __receiver =
953 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
954 {
955 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
956 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
957 panic!(
958 "unity: virtual slot {}
959 out of range (vtable len {}
960) on the runtime class behind {}
961 (method `{}
962`)",
963 14usize,
964 __vt.len(),
965 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
966 "get_defaultTerrainMaterial",
967 )
968 });
969 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
970 ::core::mem::transmute(__vi.method_ptr);
971 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
972 __inner(__receiver, __mi)
973 }
974 }
975 }
976 #[doc = "`get_defaultUIMaterial()` overload"]
977 fn get_default_ui_material(self) -> crate::unity_engine::material::Material {
978 unsafe {
979 let __receiver =
980 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
981 {
982 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
983 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
984 panic!(
985 "unity: virtual slot {}
986 out of range (vtable len {}
987) on the runtime class behind {}
988 (method `{}
989`)",
990 15usize,
991 __vt.len(),
992 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
993 "get_defaultUIMaterial",
994 )
995 });
996 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
997 ::core::mem::transmute(__vi.method_ptr);
998 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
999 __inner(__receiver, __mi)
1000 }
1001 }
1002 }
1003 #[doc = "`get_defaultUIOverdrawMaterial()` overload"]
1004 fn get_default_ui_overdraw_material(self) -> crate::unity_engine::material::Material {
1005 unsafe {
1006 let __receiver =
1007 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1008 {
1009 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1010 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
1011 panic!(
1012 "unity: virtual slot {}
1013 out of range (vtable len {}
1014) on the runtime class behind {}
1015 (method `{}
1016`)",
1017 16usize,
1018 __vt.len(),
1019 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
1020 "get_defaultUIOverdrawMaterial",
1021 )
1022 });
1023 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1024 ::core::mem::transmute(__vi.method_ptr);
1025 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1026 __inner(__receiver, __mi)
1027 }
1028 }
1029 }
1030 #[doc = "`get_defaultUIETC1SupportedMaterial()` overload"]
1031 fn get_default_uietc1_supported_material(self) -> crate::unity_engine::material::Material {
1032 unsafe {
1033 let __receiver =
1034 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1035 {
1036 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1037 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
1038 panic!(
1039 "unity: virtual slot {}
1040 out of range (vtable len {}
1041) on the runtime class behind {}
1042 (method `{}
1043`)",
1044 17usize,
1045 __vt.len(),
1046 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
1047 "get_defaultUIETC1SupportedMaterial",
1048 )
1049 });
1050 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1051 ::core::mem::transmute(__vi.method_ptr);
1052 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1053 __inner(__receiver, __mi)
1054 }
1055 }
1056 }
1057 #[doc = "`get_default2DMaterial()` overload"]
1058 fn get_default2_d_material(self) -> crate::unity_engine::material::Material {
1059 unsafe {
1060 let __receiver =
1061 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1062 {
1063 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1064 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
1065 panic!(
1066 "unity: virtual slot {}
1067 out of range (vtable len {}
1068) on the runtime class behind {}
1069 (method `{}
1070`)",
1071 18usize,
1072 __vt.len(),
1073 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
1074 "get_default2DMaterial",
1075 )
1076 });
1077 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1078 ::core::mem::transmute(__vi.method_ptr);
1079 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1080 __inner(__receiver, __mi)
1081 }
1082 }
1083 }
1084 #[doc = "`get_defaultShader()` overload"]
1085 fn get_default_shader(self) -> crate::unity_engine::shader::Shader {
1086 unsafe {
1087 let __receiver =
1088 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1089 {
1090 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1091 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
1092 panic!(
1093 "unity: virtual slot {}
1094 out of range (vtable len {}
1095) on the runtime class behind {}
1096 (method `{}
1097`)",
1098 19usize,
1099 __vt.len(),
1100 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
1101 "get_defaultShader",
1102 )
1103 });
1104 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
1105 ::core::mem::transmute(__vi.method_ptr);
1106 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1107 __inner(__receiver, __mi)
1108 }
1109 }
1110 }
1111 #[doc = "`OnBeforeSerialize()` overload"]
1112 fn on_before_serialize(self) -> () {
1113 unsafe {
1114 let __receiver =
1115 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1116 {
1117 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1118 let __vi = *__vt.get(25usize).unwrap_or_else(|| {
1119 panic!(
1120 "unity: virtual slot {}
1121 out of range (vtable len {}
1122) on the runtime class behind {}
1123 (method `{}
1124`)",
1125 25usize,
1126 __vt.len(),
1127 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
1128 "OnBeforeSerialize",
1129 )
1130 });
1131 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1132 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1133 __inner(__receiver, __mi)
1134 }
1135 }
1136 }
1137 #[doc = "`OnAfterDeserialize()` overload"]
1138 fn on_after_deserialize(self) -> () {
1139 unsafe {
1140 let __receiver =
1141 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1142 {
1143 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1144 let __vi = *__vt.get(26usize).unwrap_or_else(|| {
1145 panic!(
1146 "unity: virtual slot {}
1147 out of range (vtable len {}
1148) on the runtime class behind {}
1149 (method `{}
1150`)",
1151 26usize,
1152 __vt.len(),
1153 <UniversalRenderPipelineAsset as ::unity::ClassIdentity>::NAME,
1154 "OnAfterDeserialize",
1155 )
1156 });
1157 let __inner: extern "C" fn(UniversalRenderPipelineAsset, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1158 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1159 __inner(__receiver, __mi)
1160 }
1161 }
1162 }
1163 #[doc = "`ValidateShadowBias(f32)` overload"]
1164 fn validate_shadow_bias(self, value: impl ::core::convert::Into<f32>) -> f32 {
1165 unsafe {
1166 let __receiver =
1167 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1168 ::unity::il2cpp_call!((::unity::module_base()+0x2caff10usize)as*mut u8,f32;
1169(UniversalRenderPipelineAsset)__receiver,(f32)::core::convert::Into::into(value))
1170 }
1171 }
1172 #[doc = "`ValidatePerObjectLights(i32)` overload"]
1173 fn validate_per_object_lights(self, value: impl ::core::convert::Into<i32>) -> i32 {
1174 unsafe {
1175 let __receiver =
1176 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1177 ::unity::il2cpp_call!((::unity::module_base()+0x2cafc00usize)as*mut u8,i32;
1178(UniversalRenderPipelineAsset)__receiver,(i32)::core::convert::Into::into(value))
1179 }
1180 }
1181 #[doc = "`ValidateRenderScale(f32)` overload"]
1182 fn validate_render_scale(self, value: impl ::core::convert::Into<f32>) -> f32 {
1183 unsafe {
1184 let __receiver =
1185 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1186 ::unity::il2cpp_call!((::unity::module_base()+0x2cafaf0usize)as*mut u8,f32;
1187(UniversalRenderPipelineAsset)__receiver,(f32)::core::convert::Into::into(value))
1188 }
1189 }
1190 #[doc = "`ValidateRendererDataList(bool)` overload"]
1191 fn validate_renderer_data_list(self, partial: impl ::core::convert::Into<bool>) -> bool {
1192 unsafe {
1193 let __receiver =
1194 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1195 ::unity::il2cpp_call!((::unity::module_base()+0x2cb03f0usize)as*mut u8,bool;
1196(UniversalRenderPipelineAsset)__receiver,(bool)::core::convert::Into::into(partial))
1197 }
1198 }
1199 #[doc = "`ValidateRendererData(i32)` overload"]
1200 fn validate_renderer_data(self, index: impl ::core::convert::Into<i32>) -> bool {
1201 unsafe {
1202 let __receiver =
1203 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1204 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0480usize)as*mut u8,bool;
1205(UniversalRenderPipelineAsset)__receiver,(i32)::core::convert::Into::into(index))
1206 }
1207 }
1208 #[doc = "`GetCustomShadowData(i32)` overload"]
1209 fn get_custom_shadow_data(
1210 self,
1211 index: impl ::core::convert::Into<i32>,
1212 ) -> crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData {
1213 unsafe {
1214 let __receiver =
1215 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1216 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0560usize)as*mut u8,crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData;
1217(UniversalRenderPipelineAsset)__receiver,(i32)::core::convert::Into::into(index))
1218 }
1219 }
1220 #[doc = "`ApplyCustomShadowData(crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData)` overload"]
1221 fn apply_custom_shadow_data(
1222 self,
1223 data: impl ::core::convert::Into<crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData>,
1224 ) -> () {
1225 unsafe {
1226 let __receiver =
1227 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1228 ::unity::il2cpp_call!((::unity::module_base()+0x2cb05b0usize)as*mut u8,();
1229(UniversalRenderPipelineAsset)__receiver,(crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData)::core::convert::Into::into(data))
1230 }
1231 }
1232 #[doc = "`ApplyCustomShadowData(crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData, crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData, f32)` overload"]
1233 fn apply_custom_shadow_data_2(
1234 self,
1235 data_a: impl ::core::convert::Into<crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData>,
1236 data_b: impl ::core::convert::Into<crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData>,
1237 t: impl ::core::convert::Into<f32>,
1238 ) -> () {
1239 unsafe {
1240 let __receiver =
1241 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1242 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0740usize)as*mut u8,();
1243(UniversalRenderPipelineAsset)__receiver,(crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData)::core::convert::Into::into(data_a),(crate::unity_engine::rendering::universal::custom::customshadowdata::CustomShadowData)::core::convert::Into::into(data_b),(f32)::core::convert::Into::into(t))
1244 }
1245 }
1246 #[doc = "`UpdateShadowCascade2Split(f32)` overload"]
1247 fn update_shadow_cascade2_split(self, split1: impl ::core::convert::Into<f32>) -> () {
1248 unsafe {
1249 let __receiver =
1250 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1251 ::unity::il2cpp_call!((::unity::module_base()+0x2cb06f0usize)as*mut u8,();
1252(UniversalRenderPipelineAsset)__receiver,(f32)::core::convert::Into::into(split1))
1253 }
1254 }
1255 #[doc = "`get_shadowCascadeOption()` overload"]
1256 fn get_shadow_cascade_option(self) -> crate::unity_engine::rendering::universal::shadowcascadesoption::ShadowCascadesOption {
1257 unsafe {
1258 let __receiver =
1259 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1260 ::unity::il2cpp_call!((::unity::module_base()+0x2cb08f0usize)as*mut u8,crate::unity_engine::rendering::universal::shadowcascadesoption::ShadowCascadesOption;
1261(UniversalRenderPipelineAsset)__receiver)
1262 }
1263 }
1264 #[doc = "`set_shadowCascadeOption(crate::unity_engine::rendering::universal::shadowcascadesoption::ShadowCascadesOption)` overload"]
1265 fn set_shadow_cascade_option(
1266 self,
1267 value: impl ::core::convert::Into<crate::unity_engine::rendering::universal::shadowcascadesoption::ShadowCascadesOption>,
1268 ) -> () {
1269 unsafe {
1270 let __receiver =
1271 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1272 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0990usize)as*mut u8,();
1273(UniversalRenderPipelineAsset)__receiver,(crate::unity_engine::rendering::universal::shadowcascadesoption::ShadowCascadesOption)::core::convert::Into::into(value))
1274 }
1275 }
1276 #[doc = "`.ctor()` overload"]
1277 fn ctor(self) -> () {
1278 unsafe {
1279 let __receiver =
1280 <UniversalRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1281 ::unity::il2cpp_call!((::unity::module_base()+0x2cb0a10usize)as*mut u8,();
1282(UniversalRenderPipelineAsset)__receiver)
1283 }
1284 }
1285}
1286
1287#[cfg(feature = "unity_engine-rendering-universal-universalrenderpipelineasset")]
1288impl<__T: IUniversalRenderPipelineAsset> IUniversalRenderPipelineAssetMethods for __T {}
1289
1290#[cfg(feature = "unity_engine-rendering-universal-universalrenderpipelineasset")]
1291impl UniversalRenderPipelineAsset {
1292 pub fn get_sharpen_filter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1293 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1294 }
1295
1296 pub fn set_sharpen_filter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1297 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1298 }
1299
1300 pub fn get_lut_pattern_v_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1301 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1302 }
1303
1304 pub fn set_lut_pattern_v_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1305 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1306 }
1307
1308 pub fn calc_lut_pattern_params_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1309 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1310 }
1311
1312 pub fn get_custom_alpha_map_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1313 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1314 }
1315
1316 pub fn set_custom_alpha_map_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1317 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1318 }
1319
1320 pub fn get_custom_rendering_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1321 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1322 }
1323
1324 pub fn set_custom_rendering_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1325 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1326 }
1327
1328 pub fn load_builtin_renderer_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1329 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1330 }
1331
1332 pub fn create_pipeline_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1333 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1334 }
1335
1336 pub fn destroy_renderers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1337 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1338 }
1339
1340 pub fn destroy_renderer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1341 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1342 }
1343
1344 pub fn on_validate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1345 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1346 }
1347
1348 pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1349 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1350 }
1351
1352 pub fn create_renderers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1353 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1354 }
1355
1356 pub fn get_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1357 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1358 }
1359
1360 pub fn get_scriptable_renderer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1361 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1362 }
1363
1364 pub fn get_renderer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1365 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1366 }
1367
1368 pub fn get_scriptable_renderer_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1369 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1370 }
1371
1372 pub fn get_renderer_index_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1373 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1374 }
1375
1376 pub fn get_supports_camera_depth_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1377 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1378 }
1379
1380 pub fn set_supports_camera_depth_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1381 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1382 }
1383
1384 pub fn get_supports_camera_opaque_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1385 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1386 }
1387
1388 pub fn set_supports_camera_opaque_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1389 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1390 }
1391
1392 pub fn get_opaque_downsampling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1393 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1394 }
1395
1396 pub fn get_supports_terrain_holes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1397 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1398 }
1399
1400 pub fn get_supports_hdr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1401 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1402 }
1403
1404 pub fn set_supports_hdr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1405 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1406 }
1407
1408 pub fn get_msaa_sample_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1409 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1410 }
1411
1412 pub fn set_msaa_sample_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1413 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1414 }
1415
1416 pub fn get_render_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1417 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1418 }
1419
1420 pub fn set_render_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1421 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1422 }
1423
1424 pub fn get_main_light_rendering_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1425 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1426 }
1427
1428 pub fn get_supports_main_light_shadows_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1429 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1430 }
1431
1432 pub fn get_main_light_shadowmap_resolution_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1433 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1434 }
1435
1436 pub fn get_additional_lights_rendering_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1437 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1438 }
1439
1440 pub fn get_max_additional_lights_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1441 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1442 }
1443
1444 pub fn set_max_additional_lights_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1445 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1446 }
1447
1448 pub fn get_supports_additional_light_shadows_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1449 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1450 }
1451
1452 pub fn get_additional_lights_shadowmap_resolution_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1453 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1454 }
1455
1456 pub fn get_shadow_distance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1457 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1458 }
1459
1460 pub fn set_shadow_distance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1461 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1462 }
1463
1464 pub fn get_shadow_cascade_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1465 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1466 }
1467
1468 pub fn set_shadow_cascade_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1469 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1470 }
1471
1472 pub fn get_cascade2_split_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1473 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1474 }
1475
1476 pub fn get_cascade3_split_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1477 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1478 }
1479
1480 pub fn get_cascade4_split_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1481 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1482 }
1483
1484 pub fn get_shadow_depth_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1485 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1486 }
1487
1488 pub fn set_shadow_depth_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1489 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1490 }
1491
1492 pub fn get_shadow_normal_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1493 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1494 }
1495
1496 pub fn set_shadow_normal_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1497 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1498 }
1499
1500 pub fn get_supports_soft_shadows_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1501 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1502 }
1503
1504 pub fn get_supports_dynamic_batching_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1505 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1506 }
1507
1508 pub fn set_supports_dynamic_batching_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1509 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1510 }
1511
1512 pub fn get_supports_mixed_lighting_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1513 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1514 }
1515
1516 pub fn get_shader_variant_log_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1517 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1518 }
1519
1520 pub fn set_shader_variant_log_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1521 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1522 }
1523
1524 pub fn get_debug_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1525 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1526 }
1527
1528 pub fn set_debug_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1529 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1530 }
1531
1532 pub fn get_use_srp_batcher_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1533 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1534 }
1535
1536 pub fn set_use_srp_batcher_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1537 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1538 }
1539
1540 pub fn get_color_grading_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1541 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1542 }
1543
1544 pub fn set_color_grading_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1545 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1546 }
1547
1548 pub fn get_color_grading_lut_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1549 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1550 }
1551
1552 pub fn set_color_grading_lut_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1553 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1554 }
1555
1556 pub fn get_use_adaptive_performance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1557 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1558 }
1559
1560 pub fn set_use_adaptive_performance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1561 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1562 }
1563
1564 pub fn get_default_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1565 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1566 }
1567
1568 pub fn get_default_particle_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1569 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1570 }
1571
1572 pub fn get_default_line_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1573 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1574 }
1575
1576 pub fn get_default_terrain_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1577 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1578 }
1579
1580 pub fn get_default_ui_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1581 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1582 }
1583
1584 pub fn get_default_ui_overdraw_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1585 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1586 }
1587
1588 pub fn get_default_uietc1_supported_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1589 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1590 }
1591
1592 pub fn get_default2_d_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1593 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
1594 }
1595
1596 pub fn get_default_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1597 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1598 }
1599
1600 pub fn on_before_serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1601 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1602 }
1603
1604 pub fn on_after_deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1605 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1606 }
1607
1608 pub fn validate_shadow_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1609 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1610 }
1611
1612 pub fn validate_per_object_lights_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1613 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1614 }
1615
1616 pub fn validate_render_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1617 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1618 }
1619
1620 pub fn validate_renderer_data_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1621 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1622 }
1623
1624 pub fn validate_renderer_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1625 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1626 }
1627
1628 pub fn get_custom_shadow_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1629 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1630 }
1631
1632 pub fn apply_custom_shadow_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1633 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
1634 }
1635
1636 pub fn apply_custom_shadow_data_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1637 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
1638 }
1639
1640 pub fn update_shadow_cascade2_split_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1641 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
1642 }
1643
1644 pub fn get_shadow_cascade_option_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1645 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
1646 }
1647
1648 pub fn set_shadow_cascade_option_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1649 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
1650 }
1651
1652 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1653 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
1654 }
1655}
1656
1657#[cfg(feature = "unity_engine-rendering-universal-universalrenderpipelineasset")]
1658impl UniversalRenderPipelineAsset {
1659 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `CreatePipeline`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1660 pub unsafe fn create_pipeline(
1661 this: impl ::core::convert::Into<::unity::IlInstance>,
1662 ) -> crate::unity_engine::rendering::renderpipeline::RenderPipeline {
1663 let __mi = Self::create_pipeline_method_info();
1664 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::rendering::renderpipeline::RenderPipeline =
1665 ::core::mem::transmute(__mi.method_ptr);
1666 __inner(this.into(), ::core::option::Option::None)
1667 }
1668
1669 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `OnValidate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1670 pub unsafe fn on_validate(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1671 let __mi = Self::on_validate_method_info();
1672 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1673 __inner(this.into(), ::core::option::Option::None)
1674 }
1675
1676 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `OnDisable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1677 pub unsafe fn on_disable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1678 let __mi = Self::on_disable_method_info();
1679 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1680 __inner(this.into(), ::core::option::Option::None)
1681 }
1682
1683 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `get_defaultMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1684 pub unsafe fn get_default_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
1685 let __mi = Self::get_default_material_method_info();
1686 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1687 ::core::mem::transmute(__mi.method_ptr);
1688 __inner(this.into(), ::core::option::Option::None)
1689 }
1690
1691 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `get_defaultParticleMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1692 pub unsafe fn get_default_particle_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
1693 let __mi = Self::get_default_particle_material_method_info();
1694 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1695 ::core::mem::transmute(__mi.method_ptr);
1696 __inner(this.into(), ::core::option::Option::None)
1697 }
1698
1699 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `get_defaultLineMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1700 pub unsafe fn get_default_line_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
1701 let __mi = Self::get_default_line_material_method_info();
1702 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1703 ::core::mem::transmute(__mi.method_ptr);
1704 __inner(this.into(), ::core::option::Option::None)
1705 }
1706
1707 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `get_defaultTerrainMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1708 pub unsafe fn get_default_terrain_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
1709 let __mi = Self::get_default_terrain_material_method_info();
1710 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1711 ::core::mem::transmute(__mi.method_ptr);
1712 __inner(this.into(), ::core::option::Option::None)
1713 }
1714
1715 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `get_defaultUIMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1716 pub unsafe fn get_default_ui_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
1717 let __mi = Self::get_default_ui_material_method_info();
1718 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1719 ::core::mem::transmute(__mi.method_ptr);
1720 __inner(this.into(), ::core::option::Option::None)
1721 }
1722
1723 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `get_defaultUIOverdrawMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1724 pub unsafe fn get_default_ui_overdraw_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
1725 let __mi = Self::get_default_ui_overdraw_material_method_info();
1726 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1727 ::core::mem::transmute(__mi.method_ptr);
1728 __inner(this.into(), ::core::option::Option::None)
1729 }
1730
1731 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `get_defaultUIETC1SupportedMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1732 pub unsafe fn get_default_uietc1_supported_material(
1733 this: impl ::core::convert::Into<::unity::IlInstance>,
1734 ) -> crate::unity_engine::material::Material {
1735 let __mi = Self::get_default_uietc1_supported_material_method_info();
1736 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1737 ::core::mem::transmute(__mi.method_ptr);
1738 __inner(this.into(), ::core::option::Option::None)
1739 }
1740
1741 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `get_default2DMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1742 pub unsafe fn get_default2_d_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
1743 let __mi = Self::get_default2_d_material_method_info();
1744 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
1745 ::core::mem::transmute(__mi.method_ptr);
1746 __inner(this.into(), ::core::option::Option::None)
1747 }
1748
1749 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `get_defaultShader`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1750 pub unsafe fn get_default_shader(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::shader::Shader {
1751 let __mi = Self::get_default_shader_method_info();
1752 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
1753 ::core::mem::transmute(__mi.method_ptr);
1754 __inner(this.into(), ::core::option::Option::None)
1755 }
1756
1757 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `OnBeforeSerialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1758 pub unsafe fn on_before_serialize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1759 let __mi = Self::on_before_serialize_method_info();
1760 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1761 __inner(this.into(), ::core::option::Option::None)
1762 }
1763
1764 #[doc = "Direct (non-virtual) call to `UniversalRenderPipelineAsset`'s own `OnAfterDeserialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1765 pub unsafe fn on_after_deserialize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1766 let __mi = Self::on_after_deserialize_method_info();
1767 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1768 __inner(this.into(), ::core::option::Option::None)
1769 }
1770}
1771
1772#[cfg(feature = "unity_engine-rendering-universal-universalrenderpipelineasset")]
1773impl UniversalRenderPipelineAsset {
1774 #[doc = "`.ctor()` — no args"]
1775 pub fn new() -> Self {
1776 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1777 panic!(
1778 "{}
1779::{}
1780 failed to instantiate",
1781 ::core::stringify!(UniversalRenderPipelineAsset),
1782 ::core::stringify!(new),
1783 )
1784 });
1785 <Self as IUniversalRenderPipelineAssetMethods>::ctor(this);
1786 this
1787 }
1788}
1789
1790#[cfg(feature = "unity_engine-rendering-universal-universalrenderpipelineasset")]
1791#[doc(hidden)]
1792pub mod prelude {
1793 pub use super::{IUniversalRenderPipelineAsset, IUniversalRenderPipelineAssetMethods, UniversalRenderPipelineAsset};
1794 #[cfg(feature = "system-object")]
1795 pub use crate::system::object::IObjectMethods;
1796 #[cfg(feature = "unity_engine-object_2")]
1797 pub use crate::unity_engine::object_2::IObject_2Methods;
1798 #[cfg(feature = "unity_engine-rendering-renderpipelineasset")]
1799 pub use crate::unity_engine::rendering::renderpipelineasset::IRenderPipelineAssetMethods;
1800 #[cfg(feature = "unity_engine-scriptableobject")]
1801 pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
1802 pub use crate::{
1803 system::object::IObject,
1804 unity_engine::{object_2::IObject_2, rendering::renderpipelineasset::IRenderPipelineAsset, scriptableobject::IScriptableObject},
1805 };
1806}