Skip to main content

engage/generated/unity_engine/rendering/lwrp/
lightweightrenderpipelineasset.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-lwrp-lightweightrenderpipelineasset-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/lwrp/lightweightrenderpipelineasset/LightweightRenderPipelineAsset.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering.LWRP", name = "LightweightRenderPipelineAsset")]
12    #[parent(crate::system::object::Object)]
13    pub struct LightweightRenderPipelineAsset {}
14}
15
16#[cfg(feature = "unity_engine-rendering-lwrp-lightweightrenderpipelineasset-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-rendering-lwrp-lightweightrenderpipelineasset")]
20pub trait ILightweightRenderPipelineAssetMethods: ILightweightRenderPipelineAsset {
21    #[doc = "`.ctor()` overload"]
22    fn ctor(self) -> () {
23        unsafe {
24            let __receiver =
25                <LightweightRenderPipelineAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
26            ::unity::il2cpp_call!((::unity::module_base()+0x2ef5fd0usize)as*mut u8,();
27(LightweightRenderPipelineAsset)__receiver)
28        }
29    }
30}
31
32#[cfg(feature = "unity_engine-rendering-lwrp-lightweightrenderpipelineasset")]
33impl<__T: ILightweightRenderPipelineAsset> ILightweightRenderPipelineAssetMethods for __T {}
34
35#[cfg(feature = "unity_engine-rendering-lwrp-lightweightrenderpipelineasset")]
36impl LightweightRenderPipelineAsset {
37    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
38        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
39    }
40}
41
42#[cfg(feature = "unity_engine-rendering-lwrp-lightweightrenderpipelineasset")]
43impl LightweightRenderPipelineAsset {
44    #[doc = "`.ctor()` — no args"]
45    pub fn new() -> Self {
46        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
47            panic!(
48                "{}
49::{}
50 failed to instantiate",
51                ::core::stringify!(LightweightRenderPipelineAsset),
52                ::core::stringify!(new),
53            )
54        });
55        <Self as ILightweightRenderPipelineAssetMethods>::ctor(this);
56        this
57    }
58}
59
60#[cfg(feature = "unity_engine-rendering-lwrp-lightweightrenderpipelineasset")]
61#[doc(hidden)]
62pub mod prelude {
63    pub use super::{ILightweightRenderPipelineAsset, ILightweightRenderPipelineAssetMethods, LightweightRenderPipelineAsset};
64    pub use crate::system::object::IObject;
65    #[cfg(feature = "system-object")]
66    pub use crate::system::object::IObjectMethods;
67}