engage/generated/unity_engine/experimental/rendering/universal/
lightstats.rs1#[cfg(feature = "unity_engine-experimental-rendering-universal-lightstats-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/experimental/rendering/universal/lightstats/LightStats.md"))]
14 #[repr(C)]
15 #[derive(::core::clone::Clone, ::core::marker::Copy)]
16 pub struct LightStats {
17 pub total_lights: i32,
18 pub total_normal_map_usage: i32,
19 pub total_volumetric_usage: i32,
20 pub blend_styles_used: u32,
21 }
22 impl ::unity::ClassIdentity for LightStats {
23 const NAME: &'static str = "LightStats";
24 const NAMESPACE: &'static str = "UnityEngine.Experimental.Rendering.Universal";
25
26 fn class() -> ::unity::Class {
27 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
28 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
29 }
30 }
31 impl ::unity::IlType for LightStats {
32 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
33 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
34 }
35 }
36}
37
38#[cfg(feature = "unity_engine-experimental-rendering-universal-lightstats-types")]
39pub use __types::*;
40
41#[cfg(feature = "unity_engine-experimental-rendering-universal-lightstats")]
42#[doc(hidden)]
43pub mod prelude {
44 pub use super::LightStats;
45 #[cfg(feature = "system-object")]
46 pub use crate::system::object::IObjectMethods;
47 #[cfg(feature = "system-valuetype")]
48 pub use crate::system::valuetype::IValueTypeMethods;
49 pub use crate::system::{object::IObject, valuetype::IValueType};
50}