Skip to main content

engage/generated/unity_engine/rendering/universal/
postprocessdata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-universal-postprocessdata-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::{
11            object_2::{IObject_2, Object_2},
12            scriptableobject::{IScriptableObject, ScriptableObject},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/universal/postprocessdata/PostProcessData_ShaderResources.md"))]
17    #[::unity::class(namespace = "UnityEngine.Rendering.Universal", name = "PostProcessData.ShaderResources")]
18    #[parent(crate::system::object::Object)]
19    pub struct PostProcessData_ShaderResources {
20        #[offset(16)]
21        #[rename(name = "stopNanPS")]
22        pub stop_nan_ps: crate::unity_engine::shader::Shader,
23        #[offset(24)]
24        #[rename(name = "subpixelMorphologicalAntialiasingPS")]
25        pub subpixel_morphological_antialiasing_ps: crate::unity_engine::shader::Shader,
26        #[offset(32)]
27        #[rename(name = "gaussianDepthOfFieldPS")]
28        pub gaussian_depth_of_field_ps: crate::unity_engine::shader::Shader,
29        #[offset(40)]
30        #[rename(name = "bokehDepthOfFieldPS")]
31        pub bokeh_depth_of_field_ps: crate::unity_engine::shader::Shader,
32        #[offset(48)]
33        #[rename(name = "cameraMotionBlurPS")]
34        pub camera_motion_blur_ps: crate::unity_engine::shader::Shader,
35        #[offset(56)]
36        #[rename(name = "paniniProjectionPS")]
37        pub panini_projection_ps: crate::unity_engine::shader::Shader,
38        #[offset(64)]
39        #[rename(name = "lutBuilderLdrPS")]
40        pub lut_builder_ldr_ps: crate::unity_engine::shader::Shader,
41        #[offset(72)]
42        #[rename(name = "lutBuilderHdrPS")]
43        pub lut_builder_hdr_ps: crate::unity_engine::shader::Shader,
44        #[offset(80)]
45        #[rename(name = "bloomPS")]
46        pub bloom_ps: crate::unity_engine::shader::Shader,
47        #[offset(88)]
48        #[rename(name = "uberPostPS")]
49        pub uber_post_ps: crate::unity_engine::shader::Shader,
50        #[offset(96)]
51        #[rename(name = "finalPostPassPS")]
52        pub final_post_pass_ps: crate::unity_engine::shader::Shader,
53        #[offset(104)]
54        #[rename(name = "customBlurPS")]
55        pub custom_blur_ps: crate::unity_engine::shader::Shader,
56        #[offset(112)]
57        #[rename(name = "customFilterPS")]
58        pub custom_filter_ps: crate::unity_engine::shader::Shader,
59        #[offset(120)]
60        #[rename(name = "customUberPostPS")]
61        pub custom_uber_post_ps: crate::unity_engine::shader::Shader,
62    }
63
64    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/universal/postprocessdata/PostProcessData.md"))]
65    #[::unity::class(namespace = "UnityEngine.Rendering.Universal", name = "PostProcessData")]
66    #[parent(crate::unity_engine::scriptableobject::ScriptableObject)]
67    pub struct PostProcessData {
68        #[offset(24)]
69        #[rename(name = "shaders")]
70        pub shaders: crate::unity_engine::rendering::universal::postprocessdata::PostProcessData_ShaderResources,
71        #[offset(32)]
72        #[rename(name = "textures")]
73        pub textures: crate::unity_engine::rendering::universal::postprocessdata::PostProcessData_TextureResources,
74    }
75
76    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/universal/postprocessdata/PostProcessData_TextureResources.md"))]
77    #[::unity::class(namespace = "UnityEngine.Rendering.Universal", name = "PostProcessData.TextureResources")]
78    #[parent(crate::system::object::Object)]
79    pub struct PostProcessData_TextureResources {
80        #[offset(16)]
81        #[rename(name = "blueNoise16LTex")]
82        pub blue_noise16_l_tex: ::unity::Array<crate::unity_engine::texture2d::Texture2D>,
83        #[offset(24)]
84        #[rename(name = "filmGrainTex")]
85        pub film_grain_tex: ::unity::Array<crate::unity_engine::texture2d::Texture2D>,
86        #[offset(32)]
87        #[rename(name = "smaaAreaTex")]
88        pub smaa_area_tex: crate::unity_engine::texture2d::Texture2D,
89        #[offset(40)]
90        #[rename(name = "smaaSearchTex")]
91        pub smaa_search_tex: crate::unity_engine::texture2d::Texture2D,
92    }
93}
94
95#[cfg(feature = "unity_engine-rendering-universal-postprocessdata-types")]
96pub use __types::*;
97
98#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
99pub trait IPostProcessData_ShaderResourcesMethods: IPostProcessData_ShaderResources {
100    #[doc = "`.ctor()` overload"]
101    fn ctor(self) -> () {
102        unsafe {
103            let __receiver =
104                <PostProcessData_ShaderResources as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105            ::unity::il2cpp_call!((::unity::module_base()+0x2cb77b0usize)as*mut u8,();
106(PostProcessData_ShaderResources)__receiver)
107        }
108    }
109}
110
111#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
112impl<__T: IPostProcessData_ShaderResources> IPostProcessData_ShaderResourcesMethods for __T {}
113
114#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
115impl PostProcessData_ShaderResources {
116    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
117        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
118    }
119}
120
121#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
122impl PostProcessData_ShaderResources {
123    #[doc = "`.ctor()` — no args"]
124    pub fn new() -> Self {
125        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
126            panic!(
127                "{}
128::{}
129 failed to instantiate",
130                ::core::stringify!(PostProcessData_ShaderResources),
131                ::core::stringify!(new),
132            )
133        });
134        <Self as IPostProcessData_ShaderResourcesMethods>::ctor(this);
135        this
136    }
137}
138
139#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
140pub trait IPostProcessDataMethods: IPostProcessData {
141    #[doc = "`.ctor()` overload"]
142    fn ctor(self) -> () {
143        unsafe {
144            let __receiver = <PostProcessData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145            ::unity::il2cpp_call!((::unity::module_base()+0x3197320usize)as*mut u8,();
146(PostProcessData)__receiver)
147        }
148    }
149}
150
151#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
152impl<__T: IPostProcessData> IPostProcessDataMethods for __T {}
153
154#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
155impl PostProcessData {
156    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
157        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
158    }
159}
160
161#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
162impl PostProcessData {
163    #[doc = "`.ctor()` — no args"]
164    pub fn new() -> Self {
165        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
166            panic!(
167                "{}
168::{}
169 failed to instantiate",
170                ::core::stringify!(PostProcessData),
171                ::core::stringify!(new),
172            )
173        });
174        <Self as IPostProcessDataMethods>::ctor(this);
175        this
176    }
177}
178
179#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
180pub trait IPostProcessData_TextureResourcesMethods: IPostProcessData_TextureResources {
181    #[doc = "`.ctor()` overload"]
182    fn ctor(self) -> () {
183        unsafe {
184            let __receiver =
185                <PostProcessData_TextureResources as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
186            ::unity::il2cpp_call!((::unity::module_base()+0x2cb77c0usize)as*mut u8,();
187(PostProcessData_TextureResources)__receiver)
188        }
189    }
190}
191
192#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
193impl<__T: IPostProcessData_TextureResources> IPostProcessData_TextureResourcesMethods for __T {}
194
195#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
196impl PostProcessData_TextureResources {
197    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
199    }
200}
201
202#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
203impl PostProcessData_TextureResources {
204    #[doc = "`.ctor()` — no args"]
205    pub fn new() -> Self {
206        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
207            panic!(
208                "{}
209::{}
210 failed to instantiate",
211                ::core::stringify!(PostProcessData_TextureResources),
212                ::core::stringify!(new),
213            )
214        });
215        <Self as IPostProcessData_TextureResourcesMethods>::ctor(this);
216        this
217    }
218}
219
220#[cfg(feature = "unity_engine-rendering-universal-postprocessdata")]
221#[doc(hidden)]
222pub mod prelude {
223    pub use super::{
224        IPostProcessData, IPostProcessDataMethods, IPostProcessData_ShaderResources, IPostProcessData_ShaderResourcesMethods,
225        IPostProcessData_TextureResources, IPostProcessData_TextureResourcesMethods, PostProcessData, PostProcessData_ShaderResources,
226        PostProcessData_TextureResources,
227    };
228    #[cfg(feature = "system-object")]
229    pub use crate::system::object::IObjectMethods;
230    #[cfg(feature = "unity_engine-object_2")]
231    pub use crate::unity_engine::object_2::IObject_2Methods;
232    #[cfg(feature = "unity_engine-scriptableobject")]
233    pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
234    pub use crate::{
235        system::object::IObject,
236        unity_engine::{object_2::IObject_2, scriptableobject::IScriptableObject},
237    };
238}