Skip to main content

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

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