1#[cfg(feature = "unity_engine-rendering-renderpipelineasset-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 scriptableobject::{IScriptableObject, ScriptableObject},
13 },
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/renderpipelineasset/RenderPipelineAsset.md"))]
17 #[::unity::class(namespace = "UnityEngine.Rendering", name = "RenderPipelineAsset")]
18 #[parent(crate::unity_engine::scriptableobject::ScriptableObject)]
19 pub struct RenderPipelineAsset {}
20}
21
22#[cfg(feature = "unity_engine-rendering-renderpipelineasset-types")]
23pub use __types::*;
24
25#[cfg(feature = "unity_engine-rendering-renderpipelineasset")]
26pub trait IRenderPipelineAssetMethods: IRenderPipelineAsset {
27 #[doc = "`InternalCreatePipeline()` overload"]
28 fn internal_create_pipeline(self) -> crate::unity_engine::rendering::renderpipeline::RenderPipeline {
29 unsafe {
30 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
31 ::unity::il2cpp_call!((::unity::module_base()+0x2f802d0usize)as*mut u8,crate::unity_engine::rendering::renderpipeline::RenderPipeline;
32(RenderPipelineAsset)__receiver)
33 }
34 }
35 #[doc = "`get_renderingLayerMaskNames()` overload"]
36 fn get_rendering_layer_mask_names(self) -> ::unity::Array<::unity::Il2CppString> {
37 unsafe {
38 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
39 {
40 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
41 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
42 panic!(
43 "unity: virtual slot {}
44 out of range (vtable len {}
45) on the runtime class behind {}
46 (method `{}
47`)",
48 4usize,
49 __vt.len(),
50 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
51 "get_renderingLayerMaskNames",
52 )
53 });
54 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> ::unity::Array<::unity::Il2CppString> =
55 ::core::mem::transmute(__vi.method_ptr);
56 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
57 __inner(__receiver, __mi)
58 }
59 }
60 }
61 #[doc = "`get_defaultMaterial()` overload"]
62 fn get_default_material(self) -> crate::unity_engine::material::Material {
63 unsafe {
64 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
65 {
66 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
67 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
68 panic!(
69 "unity: virtual slot {}
70 out of range (vtable len {}
71) on the runtime class behind {}
72 (method `{}
73`)",
74 5usize,
75 __vt.len(),
76 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
77 "get_defaultMaterial",
78 )
79 });
80 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
81 ::core::mem::transmute(__vi.method_ptr);
82 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
83 __inner(__receiver, __mi)
84 }
85 }
86 }
87 #[doc = "`get_autodeskInteractiveShader()` overload"]
88 fn get_autodesk_interactive_shader(self) -> crate::unity_engine::shader::Shader {
89 unsafe {
90 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 {
92 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
93 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
94 panic!(
95 "unity: virtual slot {}
96 out of range (vtable len {}
97) on the runtime class behind {}
98 (method `{}
99`)",
100 6usize,
101 __vt.len(),
102 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
103 "get_autodeskInteractiveShader",
104 )
105 });
106 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
107 ::core::mem::transmute(__vi.method_ptr);
108 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
109 __inner(__receiver, __mi)
110 }
111 }
112 }
113 #[doc = "`get_autodeskInteractiveTransparentShader()` overload"]
114 fn get_autodesk_interactive_transparent_shader(self) -> crate::unity_engine::shader::Shader {
115 unsafe {
116 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117 {
118 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
119 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
120 panic!(
121 "unity: virtual slot {}
122 out of range (vtable len {}
123) on the runtime class behind {}
124 (method `{}
125`)",
126 7usize,
127 __vt.len(),
128 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
129 "get_autodeskInteractiveTransparentShader",
130 )
131 });
132 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
133 ::core::mem::transmute(__vi.method_ptr);
134 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
135 __inner(__receiver, __mi)
136 }
137 }
138 }
139 #[doc = "`get_autodeskInteractiveMaskedShader()` overload"]
140 fn get_autodesk_interactive_masked_shader(self) -> crate::unity_engine::shader::Shader {
141 unsafe {
142 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143 {
144 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
145 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
146 panic!(
147 "unity: virtual slot {}
148 out of range (vtable len {}
149) on the runtime class behind {}
150 (method `{}
151`)",
152 8usize,
153 __vt.len(),
154 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
155 "get_autodeskInteractiveMaskedShader",
156 )
157 });
158 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
159 ::core::mem::transmute(__vi.method_ptr);
160 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
161 __inner(__receiver, __mi)
162 }
163 }
164 }
165 #[doc = "`get_terrainDetailLitShader()` overload"]
166 fn get_terrain_detail_lit_shader(self) -> crate::unity_engine::shader::Shader {
167 unsafe {
168 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169 {
170 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
171 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
172 panic!(
173 "unity: virtual slot {}
174 out of range (vtable len {}
175) on the runtime class behind {}
176 (method `{}
177`)",
178 9usize,
179 __vt.len(),
180 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
181 "get_terrainDetailLitShader",
182 )
183 });
184 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
185 ::core::mem::transmute(__vi.method_ptr);
186 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
187 __inner(__receiver, __mi)
188 }
189 }
190 }
191 #[doc = "`get_terrainDetailGrassShader()` overload"]
192 fn get_terrain_detail_grass_shader(self) -> crate::unity_engine::shader::Shader {
193 unsafe {
194 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195 {
196 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
197 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
198 panic!(
199 "unity: virtual slot {}
200 out of range (vtable len {}
201) on the runtime class behind {}
202 (method `{}
203`)",
204 10usize,
205 __vt.len(),
206 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
207 "get_terrainDetailGrassShader",
208 )
209 });
210 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
211 ::core::mem::transmute(__vi.method_ptr);
212 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
213 __inner(__receiver, __mi)
214 }
215 }
216 }
217 #[doc = "`get_terrainDetailGrassBillboardShader()` overload"]
218 fn get_terrain_detail_grass_billboard_shader(self) -> crate::unity_engine::shader::Shader {
219 unsafe {
220 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221 {
222 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
223 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
224 panic!(
225 "unity: virtual slot {}
226 out of range (vtable len {}
227) on the runtime class behind {}
228 (method `{}
229`)",
230 11usize,
231 __vt.len(),
232 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
233 "get_terrainDetailGrassBillboardShader",
234 )
235 });
236 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
237 ::core::mem::transmute(__vi.method_ptr);
238 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
239 __inner(__receiver, __mi)
240 }
241 }
242 }
243 #[doc = "`get_defaultParticleMaterial()` overload"]
244 fn get_default_particle_material(self) -> crate::unity_engine::material::Material {
245 unsafe {
246 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
247 {
248 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
249 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
250 panic!(
251 "unity: virtual slot {}
252 out of range (vtable len {}
253) on the runtime class behind {}
254 (method `{}
255`)",
256 12usize,
257 __vt.len(),
258 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
259 "get_defaultParticleMaterial",
260 )
261 });
262 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
263 ::core::mem::transmute(__vi.method_ptr);
264 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
265 __inner(__receiver, __mi)
266 }
267 }
268 }
269 #[doc = "`get_defaultLineMaterial()` overload"]
270 fn get_default_line_material(self) -> crate::unity_engine::material::Material {
271 unsafe {
272 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
273 {
274 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
275 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
276 panic!(
277 "unity: virtual slot {}
278 out of range (vtable len {}
279) on the runtime class behind {}
280 (method `{}
281`)",
282 13usize,
283 __vt.len(),
284 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
285 "get_defaultLineMaterial",
286 )
287 });
288 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
289 ::core::mem::transmute(__vi.method_ptr);
290 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
291 __inner(__receiver, __mi)
292 }
293 }
294 }
295 #[doc = "`get_defaultTerrainMaterial()` overload"]
296 fn get_default_terrain_material(self) -> crate::unity_engine::material::Material {
297 unsafe {
298 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
299 {
300 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
301 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
302 panic!(
303 "unity: virtual slot {}
304 out of range (vtable len {}
305) on the runtime class behind {}
306 (method `{}
307`)",
308 14usize,
309 __vt.len(),
310 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
311 "get_defaultTerrainMaterial",
312 )
313 });
314 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
315 ::core::mem::transmute(__vi.method_ptr);
316 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
317 __inner(__receiver, __mi)
318 }
319 }
320 }
321 #[doc = "`get_defaultUIMaterial()` overload"]
322 fn get_default_ui_material(self) -> crate::unity_engine::material::Material {
323 unsafe {
324 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
325 {
326 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
327 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
328 panic!(
329 "unity: virtual slot {}
330 out of range (vtable len {}
331) on the runtime class behind {}
332 (method `{}
333`)",
334 15usize,
335 __vt.len(),
336 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
337 "get_defaultUIMaterial",
338 )
339 });
340 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
341 ::core::mem::transmute(__vi.method_ptr);
342 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
343 __inner(__receiver, __mi)
344 }
345 }
346 }
347 #[doc = "`get_defaultUIOverdrawMaterial()` overload"]
348 fn get_default_ui_overdraw_material(self) -> crate::unity_engine::material::Material {
349 unsafe {
350 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
351 {
352 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
353 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
354 panic!(
355 "unity: virtual slot {}
356 out of range (vtable len {}
357) on the runtime class behind {}
358 (method `{}
359`)",
360 16usize,
361 __vt.len(),
362 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
363 "get_defaultUIOverdrawMaterial",
364 )
365 });
366 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
367 ::core::mem::transmute(__vi.method_ptr);
368 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
369 __inner(__receiver, __mi)
370 }
371 }
372 }
373 #[doc = "`get_defaultUIETC1SupportedMaterial()` overload"]
374 fn get_default_uietc1_supported_material(self) -> crate::unity_engine::material::Material {
375 unsafe {
376 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
377 {
378 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
379 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
380 panic!(
381 "unity: virtual slot {}
382 out of range (vtable len {}
383) on the runtime class behind {}
384 (method `{}
385`)",
386 17usize,
387 __vt.len(),
388 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
389 "get_defaultUIETC1SupportedMaterial",
390 )
391 });
392 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
393 ::core::mem::transmute(__vi.method_ptr);
394 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
395 __inner(__receiver, __mi)
396 }
397 }
398 }
399 #[doc = "`get_default2DMaterial()` overload"]
400 fn get_default2_d_material(self) -> crate::unity_engine::material::Material {
401 unsafe {
402 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403 {
404 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
405 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
406 panic!(
407 "unity: virtual slot {}
408 out of range (vtable len {}
409) on the runtime class behind {}
410 (method `{}
411`)",
412 18usize,
413 __vt.len(),
414 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
415 "get_default2DMaterial",
416 )
417 });
418 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
419 ::core::mem::transmute(__vi.method_ptr);
420 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
421 __inner(__receiver, __mi)
422 }
423 }
424 }
425 #[doc = "`get_defaultShader()` overload"]
426 fn get_default_shader(self) -> crate::unity_engine::shader::Shader {
427 unsafe {
428 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
429 {
430 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
431 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
432 panic!(
433 "unity: virtual slot {}
434 out of range (vtable len {}
435) on the runtime class behind {}
436 (method `{}
437`)",
438 19usize,
439 __vt.len(),
440 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
441 "get_defaultShader",
442 )
443 });
444 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
445 ::core::mem::transmute(__vi.method_ptr);
446 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
447 __inner(__receiver, __mi)
448 }
449 }
450 }
451 #[doc = "`get_defaultSpeedTree7Shader()` overload"]
452 fn get_default_speed_tree7_shader(self) -> crate::unity_engine::shader::Shader {
453 unsafe {
454 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
455 {
456 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
457 let __vi = *__vt.get(20usize).unwrap_or_else(|| {
458 panic!(
459 "unity: virtual slot {}
460 out of range (vtable len {}
461) on the runtime class behind {}
462 (method `{}
463`)",
464 20usize,
465 __vt.len(),
466 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
467 "get_defaultSpeedTree7Shader",
468 )
469 });
470 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
471 ::core::mem::transmute(__vi.method_ptr);
472 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
473 __inner(__receiver, __mi)
474 }
475 }
476 }
477 #[doc = "`get_defaultSpeedTree8Shader()` overload"]
478 fn get_default_speed_tree8_shader(self) -> crate::unity_engine::shader::Shader {
479 unsafe {
480 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
481 {
482 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
483 let __vi = *__vt.get(21usize).unwrap_or_else(|| {
484 panic!(
485 "unity: virtual slot {}
486 out of range (vtable len {}
487) on the runtime class behind {}
488 (method `{}
489`)",
490 21usize,
491 __vt.len(),
492 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
493 "get_defaultSpeedTree8Shader",
494 )
495 });
496 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
497 ::core::mem::transmute(__vi.method_ptr);
498 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
499 __inner(__receiver, __mi)
500 }
501 }
502 }
503 #[doc = "`CreatePipeline()` overload"]
504 fn create_pipeline(self) -> crate::unity_engine::rendering::renderpipeline::RenderPipeline {
505 unsafe {
506 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
507 {
508 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
509 let __vi = *__vt.get(22usize).unwrap_or_else(|| {
510 panic!(
511 "unity: virtual slot {}
512 out of range (vtable len {}
513) on the runtime class behind {}
514 (method `{}
515`)",
516 22usize,
517 __vt.len(),
518 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
519 "CreatePipeline",
520 )
521 });
522 let __inner: extern "C" fn(
523 RenderPipelineAsset,
524 ::unity::OptionalMethod,
525 ) -> crate::unity_engine::rendering::renderpipeline::RenderPipeline = ::core::mem::transmute(__vi.method_ptr);
526 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
527 __inner(__receiver, __mi)
528 }
529 }
530 }
531 #[doc = "`OnValidate()` overload"]
532 fn on_validate(self) -> () {
533 unsafe {
534 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
535 {
536 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
537 let __vi = *__vt.get(23usize).unwrap_or_else(|| {
538 panic!(
539 "unity: virtual slot {}
540 out of range (vtable len {}
541) on the runtime class behind {}
542 (method `{}
543`)",
544 23usize,
545 __vt.len(),
546 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
547 "OnValidate",
548 )
549 });
550 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
551 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
552 __inner(__receiver, __mi)
553 }
554 }
555 }
556 #[doc = "`OnDisable()` overload"]
557 fn on_disable(self) -> () {
558 unsafe {
559 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
560 {
561 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
562 let __vi = *__vt.get(24usize).unwrap_or_else(|| {
563 panic!(
564 "unity: virtual slot {}
565 out of range (vtable len {}
566) on the runtime class behind {}
567 (method `{}
568`)",
569 24usize,
570 __vt.len(),
571 <RenderPipelineAsset as ::unity::ClassIdentity>::NAME,
572 "OnDisable",
573 )
574 });
575 let __inner: extern "C" fn(RenderPipelineAsset, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
576 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
577 __inner(__receiver, __mi)
578 }
579 }
580 }
581 #[doc = "`.ctor()` overload"]
582 fn ctor(self) -> () {
583 unsafe {
584 let __receiver = <RenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
585 ::unity::il2cpp_call!((::unity::module_base()+0x2f80ee0usize)as*mut u8,();
586(RenderPipelineAsset)__receiver)
587 }
588 }
589}
590
591#[cfg(feature = "unity_engine-rendering-renderpipelineasset")]
592impl<__T: IRenderPipelineAsset> IRenderPipelineAssetMethods for __T {}
593
594#[cfg(feature = "unity_engine-rendering-renderpipelineasset")]
595impl RenderPipelineAsset {
596 pub fn internal_create_pipeline_method_info() -> &'static ::unity::il2cpp::MethodInfo {
597 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
598 }
599
600 pub fn get_rendering_layer_mask_names_method_info() -> &'static ::unity::il2cpp::MethodInfo {
601 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
602 }
603
604 pub fn get_default_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
605 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
606 }
607
608 pub fn get_autodesk_interactive_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
609 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
610 }
611
612 pub fn get_autodesk_interactive_transparent_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
613 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
614 }
615
616 pub fn get_autodesk_interactive_masked_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
617 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
618 }
619
620 pub fn get_terrain_detail_lit_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
621 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
622 }
623
624 pub fn get_terrain_detail_grass_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
625 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
626 }
627
628 pub fn get_terrain_detail_grass_billboard_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
629 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
630 }
631
632 pub fn get_default_particle_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
633 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
634 }
635
636 pub fn get_default_line_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
637 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
638 }
639
640 pub fn get_default_terrain_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
641 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
642 }
643
644 pub fn get_default_ui_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
645 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
646 }
647
648 pub fn get_default_ui_overdraw_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
649 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
650 }
651
652 pub fn get_default_uietc1_supported_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
653 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
654 }
655
656 pub fn get_default2_d_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
657 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
658 }
659
660 pub fn get_default_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
661 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
662 }
663
664 pub fn get_default_speed_tree7_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
665 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
666 }
667
668 pub fn get_default_speed_tree8_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
669 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
670 }
671
672 pub fn create_pipeline_method_info() -> &'static ::unity::il2cpp::MethodInfo {
673 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
674 }
675
676 pub fn on_validate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
677 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
678 }
679
680 pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
681 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
682 }
683
684 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
685 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
686 }
687}
688
689#[cfg(feature = "unity_engine-rendering-renderpipelineasset")]
690impl RenderPipelineAsset {
691 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_renderingLayerMaskNames`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
692 pub unsafe fn get_rendering_layer_mask_names(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Array<::unity::Il2CppString> {
693 let __mi = Self::get_rendering_layer_mask_names_method_info();
694 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Array<::unity::Il2CppString> =
695 ::core::mem::transmute(__mi.method_ptr);
696 __inner(this.into(), ::core::option::Option::None)
697 }
698
699 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_defaultMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
700 pub unsafe fn get_default_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
701 let __mi = Self::get_default_material_method_info();
702 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
703 ::core::mem::transmute(__mi.method_ptr);
704 __inner(this.into(), ::core::option::Option::None)
705 }
706
707 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_autodeskInteractiveShader`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
708 pub unsafe fn get_autodesk_interactive_shader(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::shader::Shader {
709 let __mi = Self::get_autodesk_interactive_shader_method_info();
710 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
711 ::core::mem::transmute(__mi.method_ptr);
712 __inner(this.into(), ::core::option::Option::None)
713 }
714
715 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_autodeskInteractiveTransparentShader`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
716 pub unsafe fn get_autodesk_interactive_transparent_shader(
717 this: impl ::core::convert::Into<::unity::IlInstance>,
718 ) -> crate::unity_engine::shader::Shader {
719 let __mi = Self::get_autodesk_interactive_transparent_shader_method_info();
720 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
721 ::core::mem::transmute(__mi.method_ptr);
722 __inner(this.into(), ::core::option::Option::None)
723 }
724
725 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_autodeskInteractiveMaskedShader`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
726 pub unsafe fn get_autodesk_interactive_masked_shader(
727 this: impl ::core::convert::Into<::unity::IlInstance>,
728 ) -> crate::unity_engine::shader::Shader {
729 let __mi = Self::get_autodesk_interactive_masked_shader_method_info();
730 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
731 ::core::mem::transmute(__mi.method_ptr);
732 __inner(this.into(), ::core::option::Option::None)
733 }
734
735 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_terrainDetailLitShader`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
736 pub unsafe fn get_terrain_detail_lit_shader(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::shader::Shader {
737 let __mi = Self::get_terrain_detail_lit_shader_method_info();
738 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
739 ::core::mem::transmute(__mi.method_ptr);
740 __inner(this.into(), ::core::option::Option::None)
741 }
742
743 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_terrainDetailGrassShader`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
744 pub unsafe fn get_terrain_detail_grass_shader(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::shader::Shader {
745 let __mi = Self::get_terrain_detail_grass_shader_method_info();
746 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
747 ::core::mem::transmute(__mi.method_ptr);
748 __inner(this.into(), ::core::option::Option::None)
749 }
750
751 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_terrainDetailGrassBillboardShader`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
752 pub unsafe fn get_terrain_detail_grass_billboard_shader(
753 this: impl ::core::convert::Into<::unity::IlInstance>,
754 ) -> crate::unity_engine::shader::Shader {
755 let __mi = Self::get_terrain_detail_grass_billboard_shader_method_info();
756 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
757 ::core::mem::transmute(__mi.method_ptr);
758 __inner(this.into(), ::core::option::Option::None)
759 }
760
761 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_defaultParticleMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
762 pub unsafe fn get_default_particle_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
763 let __mi = Self::get_default_particle_material_method_info();
764 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
765 ::core::mem::transmute(__mi.method_ptr);
766 __inner(this.into(), ::core::option::Option::None)
767 }
768
769 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_defaultLineMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
770 pub unsafe fn get_default_line_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
771 let __mi = Self::get_default_line_material_method_info();
772 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
773 ::core::mem::transmute(__mi.method_ptr);
774 __inner(this.into(), ::core::option::Option::None)
775 }
776
777 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_defaultTerrainMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
778 pub unsafe fn get_default_terrain_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
779 let __mi = Self::get_default_terrain_material_method_info();
780 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
781 ::core::mem::transmute(__mi.method_ptr);
782 __inner(this.into(), ::core::option::Option::None)
783 }
784
785 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_defaultUIMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
786 pub unsafe fn get_default_ui_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
787 let __mi = Self::get_default_ui_material_method_info();
788 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
789 ::core::mem::transmute(__mi.method_ptr);
790 __inner(this.into(), ::core::option::Option::None)
791 }
792
793 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_defaultUIOverdrawMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
794 pub unsafe fn get_default_ui_overdraw_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
795 let __mi = Self::get_default_ui_overdraw_material_method_info();
796 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
797 ::core::mem::transmute(__mi.method_ptr);
798 __inner(this.into(), ::core::option::Option::None)
799 }
800
801 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_defaultUIETC1SupportedMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
802 pub unsafe fn get_default_uietc1_supported_material(
803 this: impl ::core::convert::Into<::unity::IlInstance>,
804 ) -> crate::unity_engine::material::Material {
805 let __mi = Self::get_default_uietc1_supported_material_method_info();
806 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
807 ::core::mem::transmute(__mi.method_ptr);
808 __inner(this.into(), ::core::option::Option::None)
809 }
810
811 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_default2DMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
812 pub unsafe fn get_default2_d_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
813 let __mi = Self::get_default2_d_material_method_info();
814 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
815 ::core::mem::transmute(__mi.method_ptr);
816 __inner(this.into(), ::core::option::Option::None)
817 }
818
819 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_defaultShader`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
820 pub unsafe fn get_default_shader(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::shader::Shader {
821 let __mi = Self::get_default_shader_method_info();
822 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
823 ::core::mem::transmute(__mi.method_ptr);
824 __inner(this.into(), ::core::option::Option::None)
825 }
826
827 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_defaultSpeedTree7Shader`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
828 pub unsafe fn get_default_speed_tree7_shader(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::shader::Shader {
829 let __mi = Self::get_default_speed_tree7_shader_method_info();
830 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
831 ::core::mem::transmute(__mi.method_ptr);
832 __inner(this.into(), ::core::option::Option::None)
833 }
834
835 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `get_defaultSpeedTree8Shader`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
836 pub unsafe fn get_default_speed_tree8_shader(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::shader::Shader {
837 let __mi = Self::get_default_speed_tree8_shader_method_info();
838 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::shader::Shader =
839 ::core::mem::transmute(__mi.method_ptr);
840 __inner(this.into(), ::core::option::Option::None)
841 }
842
843 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `CreatePipeline`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
844 pub unsafe fn create_pipeline(
845 this: impl ::core::convert::Into<::unity::IlInstance>,
846 ) -> crate::unity_engine::rendering::renderpipeline::RenderPipeline {
847 let __mi = Self::create_pipeline_method_info();
848 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::rendering::renderpipeline::RenderPipeline =
849 ::core::mem::transmute(__mi.method_ptr);
850 __inner(this.into(), ::core::option::Option::None)
851 }
852
853 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `OnValidate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
854 pub unsafe fn on_validate(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
855 let __mi = Self::on_validate_method_info();
856 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
857 __inner(this.into(), ::core::option::Option::None)
858 }
859
860 #[doc = "Direct (non-virtual) call to `RenderPipelineAsset`'s own `OnDisable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
861 pub unsafe fn on_disable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
862 let __mi = Self::on_disable_method_info();
863 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
864 __inner(this.into(), ::core::option::Option::None)
865 }
866}
867
868#[cfg(feature = "unity_engine-rendering-renderpipelineasset")]
869impl RenderPipelineAsset {
870 #[doc = "`.ctor()` — no args"]
871 pub fn new() -> Self {
872 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
873 panic!(
874 "{}
875::{}
876 failed to instantiate",
877 ::core::stringify!(RenderPipelineAsset),
878 ::core::stringify!(new),
879 )
880 });
881 <Self as IRenderPipelineAssetMethods>::ctor(this);
882 this
883 }
884}
885
886#[cfg(feature = "unity_engine-rendering-renderpipelineasset")]
887#[doc(hidden)]
888pub mod prelude {
889 pub use super::{IRenderPipelineAsset, IRenderPipelineAssetMethods, RenderPipelineAsset};
890 #[cfg(feature = "system-object")]
891 pub use crate::system::object::IObjectMethods;
892 #[cfg(feature = "unity_engine-object_2")]
893 pub use crate::unity_engine::object_2::IObject_2Methods;
894 #[cfg(feature = "unity_engine-scriptableobject")]
895 pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
896 pub use crate::{
897 system::object::IObject,
898 unity_engine::{object_2::IObject_2, scriptableobject::IScriptableObject},
899 };
900}