engage/generated/unity_engine/rendering/universal/internal/
lightflag.rs1#[cfg(feature = "unity_engine-rendering-universal-internal-lightflag-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 r#enum::{Enum, IEnum},
11 valuetype::{IValueType, ValueType},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/universal/internal/lightflag/LightFlag.md"))]
15 #[repr(C)]
16 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17 pub struct LightFlag {
18 pub value: i32,
19 }
20 impl ::unity::ClassIdentity for LightFlag {
21 const NAME: &'static str = "LightFlag";
22 const NAMESPACE: &'static str = "UnityEngine.Rendering.Universal.Internal";
23
24 fn class() -> ::unity::Class {
25 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27 }
28 }
29 impl ::unity::IlType for LightFlag {
30 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32 }
33 }
34 impl LightFlag {
35 pub fn subtractive_mixed_lighting() -> Self {
36 Self { value: 4 }
37 }
38 }
39}
40
41#[cfg(feature = "unity_engine-rendering-universal-internal-lightflag-types")]
42pub use __types::*;
43
44#[cfg(feature = "unity_engine-rendering-universal-internal-lightflag")]
45#[doc(hidden)]
46pub mod prelude {
47 pub use super::LightFlag;
48 #[cfg(feature = "system-object")]
49 pub use crate::system::object::IObjectMethods;
50 #[cfg(feature = "system-enum")]
51 pub use crate::system::r#enum::IEnumMethods;
52 #[cfg(feature = "system-valuetype")]
53 pub use crate::system::valuetype::IValueTypeMethods;
54 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
55}