Skip to main content

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

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-universal-customrpconstant-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/universal/customrpconstant/CustomRPConstant.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering.Universal", name = "CustomRPConstant")]
12    #[parent(crate::system::object::Object)]
13    pub struct CustomRPConstant {
14        #[static_field]
15        #[rename(name = "SilhouetteCount")]
16        pub silhouette_count: i32,
17        #[static_field]
18        #[rename(name = "ExposureCount")]
19        pub exposure_count: i32,
20    }
21}
22
23#[cfg(feature = "unity_engine-rendering-universal-customrpconstant-types")]
24pub use __types::*;
25
26#[cfg(feature = "unity_engine-rendering-universal-customrpconstant")]
27impl CustomRPConstant {
28    #[doc = "`.cctor()` overload"]
29    pub fn cctor() -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x2a4d7c0usize)as*mut u8,();
32            )
33        }
34    }
35}
36
37#[cfg(feature = "unity_engine-rendering-universal-customrpconstant")]
38impl CustomRPConstant {
39    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
40        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
41    }
42}
43
44#[cfg(feature = "unity_engine-rendering-universal-customrpconstant")]
45#[doc(hidden)]
46pub mod prelude {
47    pub use super::{CustomRPConstant, ICustomRPConstant};
48    pub use crate::system::object::IObject;
49    #[cfg(feature = "system-object")]
50    pub use crate::system::object::IObjectMethods;
51}