Skip to main content

engage/generated/unity_engine/rendering/
cameracapturebridge.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-cameracapturebridge-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/cameracapturebridge/CameraCaptureBridge.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering", name = "CameraCaptureBridge")]
12    #[parent(crate::system::object::Object)]
13    pub struct CameraCaptureBridge {
14        #[static_field]
15        #[rename(name = "actionDict")]
16        pub action_dict: crate::system::collections::generic::dictionary_2::Dictionary_2<
17            crate::unity_engine::camera::Camera,
18            crate::system::collections::generic::hashset_1::HashSet_1<
19                crate::system::action_2::Action_2<
20                    crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
21                    crate::unity_engine::rendering::commandbuffer::CommandBuffer,
22                >,
23            >,
24        >,
25        #[static_field]
26        #[rename(name = "_enabled")]
27        pub enabled_field: bool,
28    }
29}
30
31#[cfg(feature = "unity_engine-rendering-cameracapturebridge-types")]
32pub use __types::*;
33
34#[cfg(feature = "unity_engine-rendering-cameracapturebridge")]
35impl CameraCaptureBridge {
36    #[doc = "`.cctor()` overload"]
37    pub fn cctor() -> () {
38        unsafe {
39            ::unity::il2cpp_call!((::unity::module_base()+0x352e310usize)as*mut u8,();
40            )
41        }
42    }
43
44    #[doc = "`get_enabled()` overload"]
45    pub fn get_enabled() -> bool {
46        unsafe {
47            ::unity::il2cpp_call!((::unity::module_base()+0x352e3b0usize)as*mut u8,bool;
48            )
49        }
50    }
51
52    #[doc = "`set_enabled(bool)` overload"]
53    pub fn set_enabled(value: impl ::core::convert::Into<bool>) -> () {
54        unsafe {
55            ::unity::il2cpp_call!((::unity::module_base()+0x352e420usize)as*mut u8,();
56(bool)::core::convert::Into::into(value))
57        }
58    }
59
60    #[doc = "`GetCaptureActions(crate::unity_engine::camera::Camera)` overload"]
61    pub fn get_capture_actions(
62        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
63    ) -> crate::system::collections::generic::ienumerator_1::IEnumerator_1<
64        crate::system::action_2::Action_2<
65            crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
66            crate::unity_engine::rendering::commandbuffer::CommandBuffer,
67        >,
68    > {
69        unsafe {
70            ::unity::il2cpp_call!((::unity::module_base()+0x352e4a0usize)as*mut u8,crate::system::collections::generic::ienumerator_1::IEnumerator_1<crate::system::action_2::Action_2<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,crate::unity_engine::rendering::commandbuffer::CommandBuffer> > ;
71(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
72        }
73    }
74
75    #[doc = "`AddCaptureAction(crate::unity_engine::camera::Camera, crate::system::action_2::Action_2<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,crate::unity_engine::rendering::commandbuffer::CommandBuffer>)` overload"]
76    pub fn add_capture_action(
77        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
78        action: impl ::core::convert::Into<
79            crate::system::action_2::Action_2<
80                crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
81                crate::unity_engine::rendering::commandbuffer::CommandBuffer,
82            >,
83        >,
84    ) -> () {
85        unsafe {
86            ::unity::il2cpp_call!((::unity::module_base()+0x352e5a0usize)as*mut u8,();
87(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera),(crate::system::action_2::Action_2<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,crate::unity_engine::rendering::commandbuffer::CommandBuffer>)::core::convert::Into::into(action))
88        }
89    }
90
91    #[doc = "`RemoveCaptureAction(crate::unity_engine::camera::Camera, crate::system::action_2::Action_2<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,crate::unity_engine::rendering::commandbuffer::CommandBuffer>)` overload"]
92    pub fn remove_capture_action(
93        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
94        action: impl ::core::convert::Into<
95            crate::system::action_2::Action_2<
96                crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
97                crate::unity_engine::rendering::commandbuffer::CommandBuffer,
98            >,
99        >,
100    ) -> () {
101        unsafe {
102            ::unity::il2cpp_call!((::unity::module_base()+0x352e700usize)as*mut u8,();
103(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera),(crate::system::action_2::Action_2<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,crate::unity_engine::rendering::commandbuffer::CommandBuffer>)::core::convert::Into::into(action))
104        }
105    }
106}
107
108#[cfg(feature = "unity_engine-rendering-cameracapturebridge")]
109impl CameraCaptureBridge {
110    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
111        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
112    }
113
114    pub fn get_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
115        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
116    }
117
118    pub fn set_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
119        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
120    }
121
122    pub fn get_capture_actions_method_info() -> &'static ::unity::il2cpp::MethodInfo {
123        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
124    }
125
126    pub fn add_capture_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
127        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
128    }
129
130    pub fn remove_capture_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
131        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
132    }
133}
134
135#[cfg(feature = "unity_engine-rendering-cameracapturebridge")]
136#[doc(hidden)]
137pub mod prelude {
138    pub use super::{CameraCaptureBridge, ICameraCaptureBridge};
139    pub use crate::system::object::IObject;
140    #[cfg(feature = "system-object")]
141    pub use crate::system::object::IObjectMethods;
142}