Skip to main content

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

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-universal-shadowdata-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/universal/shadowdata/ShadowData.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct ShadowData {
17        pub supports_main_light_shadows: bool,
18        pub requires_screen_space_shadow_resolve: bool,
19        pub main_light_shadowmap_width: i32,
20        pub main_light_shadowmap_height: i32,
21        pub main_light_shadow_cascades_count: i32,
22        pub main_light_shadow_cascades_split: crate::unity_engine::vector3::Vector3,
23        pub supports_additional_light_shadows: bool,
24        pub additional_lights_shadowmap_width: i32,
25        pub additional_lights_shadowmap_height: i32,
26        pub supports_soft_shadows: bool,
27        pub shadowmap_depth_buffer_bits: i32,
28        pub bias: crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>,
29    }
30    impl ::unity::ClassIdentity for ShadowData {
31        const NAME: &'static str = "ShadowData";
32        const NAMESPACE: &'static str = "UnityEngine.Rendering.Universal";
33
34        fn class() -> ::unity::Class {
35            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
36            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
37        }
38    }
39    impl ::unity::IlType for ShadowData {
40        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
41            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
42        }
43    }
44}
45
46#[cfg(feature = "unity_engine-rendering-universal-shadowdata-types")]
47pub use __types::*;
48
49#[cfg(feature = "unity_engine-rendering-universal-shadowdata")]
50#[doc(hidden)]
51pub mod prelude {
52    pub use super::ShadowData;
53    #[cfg(feature = "system-object")]
54    pub use crate::system::object::IObjectMethods;
55    #[cfg(feature = "system-valuetype")]
56    pub use crate::system::valuetype::IValueTypeMethods;
57    pub use crate::system::{object::IObject, valuetype::IValueType};
58}