Skip to main content

engage/generated/unity_engine/experimental/rendering/render_graph_module/
rendergraphpass_1.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass_1-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::experimental::rendering::render_graph_module::rendergraphpass::{IRenderGraphPass, RenderGraphPass},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/rendergraphpass_1/RenderGraphPass_1.md"))]
14    #[::unity::class(namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule", name = "RenderGraphPass`1")]
15    #[parent(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass)]
16    #[parent(crate::system::object::Object)]
17    pub struct RenderGraphPass_1<T0: ::unity::ClassIdentity> {
18        #[rename(name = "data")]
19        pub data: T0,
20        #[rename(name = "renderFunc")]
21        pub render_func: crate::unity_engine::experimental::rendering::render_graph_module::renderfunc_1::RenderFunc_1<T0>,
22    }
23}
24
25#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass_1-types")]
26pub use __types::*;
27
28#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass_1")]
29#[::unity::methods]
30impl<T0: ::unity::ClassIdentity> RenderGraphPass_1<T0> {
31    #[doc = "`Execute(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)` overload"]
32    #[method(name = "Execute", args = 1)]
33    pub fn execute(
34        self,
35        render_graph_context: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext,
36    ) -> ();
37
38    #[doc = "`Initialize(i32, T0, ::unity::Il2CppString, crate::unity_engine::rendering::profilingsampler::ProfilingSampler)` overload"]
39    #[method(name = "Initialize", args = 4)]
40    pub fn initialize(
41        self,
42        pass_index: i32,
43        pass_data: T0,
44        pass_name: ::unity::Il2CppString,
45        sampler: crate::unity_engine::rendering::profilingsampler::ProfilingSampler,
46    ) -> ();
47
48    #[doc = "`Release(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphobjectpool::RenderGraphObjectPool)` overload"]
49    #[method(name = "Release", args = 1)]
50    pub fn release(self, pool: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphobjectpool::RenderGraphObjectPool)
51        -> ();
52
53    #[doc = "`HasRenderFunc()` overload"]
54    #[method(name = "HasRenderFunc", args = 0)]
55    pub fn has_render_func(self) -> bool;
56
57    #[doc = "`.ctor()` overload"]
58    #[method(name = ".ctor", args = 0)]
59    pub fn ctor(self) -> ();
60}
61
62#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass_1")]
63impl<T0: ::unity::ClassIdentity> RenderGraphPass_1<T0> {
64    #[doc = "`.ctor()` — no args"]
65    pub fn new() -> Self {
66        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
67            panic!(
68                "{}
69::{}
70 failed to instantiate",
71                ::core::stringify!(RenderGraphPass_1),
72                ::core::stringify!(new),
73            )
74        });
75        <Self as IRenderGraphPass_1Methods<T0>>::ctor(this);
76        this
77    }
78}
79
80#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass_1")]
81#[doc(hidden)]
82pub mod prelude {
83    pub use super::{IRenderGraphPass_1, IRenderGraphPass_1Methods, RenderGraphPass_1};
84    #[cfg(feature = "system-object")]
85    pub use crate::system::object::IObjectMethods;
86    #[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-rendergraphpass")]
87    pub use crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::IRenderGraphPassMethods;
88    pub use crate::{system::object::IObject, unity_engine::experimental::rendering::render_graph_module::rendergraphpass::IRenderGraphPass};
89}