engage/generated/unity_engine/experimental/rendering/render_graph_module/
renderfunc_1.rs1#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-renderfunc_1-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 delegate::{Delegate, IDelegate},
10 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
11 object::{IObject, Object},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/render_graph_module/renderfunc_1/RenderFunc_1.md"))]
15 #[::unity::class(namespace = "UnityEngine.Experimental.Rendering.RenderGraphModule", name = "RenderFunc`1")]
16 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
17 #[parent(crate::system::delegate::Delegate)]
18 #[parent(crate::system::object::Object)]
19 pub struct RenderFunc_1<T0: ::unity::ClassIdentity> {}
20}
21
22#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-renderfunc_1-types")]
23pub use __types::*;
24
25#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-renderfunc_1")]
26#[::unity::methods]
27impl<T0: ::unity::ClassIdentity> RenderFunc_1<T0> {
28 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
29 #[method(name = ".ctor", args = 2)]
30 pub fn ctor(self, object: crate::system::object::Object, method: ::unity::IntPtr) -> ();
31
32 #[doc = "`Invoke(T0, crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext)` overload"]
33 #[method(name = "Invoke", args = 2)]
34 pub fn invoke(
35 self,
36 data: T0,
37 render_graph_context: crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext,
38 ) -> ();
39}
40
41#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-renderfunc_1")]
42impl<T0: ::unity::ClassIdentity> RenderFunc_1<T0> {
43 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
44 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
45 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
46 panic!(
47 "{}
48::{}
49 failed to instantiate",
50 ::core::stringify!(RenderFunc_1),
51 ::core::stringify!(new),
52 )
53 });
54 <Self as IRenderFunc_1Methods<T0>>::ctor(this, object, method);
55 this
56 }
57}
58
59#[cfg(feature = "unity_engine-experimental-rendering-render_graph_module-renderfunc_1")]
60#[doc(hidden)]
61pub mod prelude {
62 pub use super::{IRenderFunc_1, IRenderFunc_1Methods, RenderFunc_1};
63 #[cfg(feature = "system-delegate")]
64 pub use crate::system::delegate::IDelegateMethods;
65 #[cfg(feature = "system-multicastdelegate")]
66 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
67 #[cfg(feature = "system-object")]
68 pub use crate::system::object::IObjectMethods;
69 pub use crate::system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject};
70}