engage/generated/unity_engine/rendering/universal/
renderingdata.rs1#[cfg(feature = "unity_engine-rendering-universal-renderingdata-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/renderingdata/RenderingData.md"))]
14 #[repr(C)]
15 #[derive(::core::clone::Clone, ::core::marker::Copy)]
16 pub struct RenderingData {
17 pub cull_results: crate::unity_engine::rendering::cullingresults::CullingResults,
18 pub camera_data: crate::unity_engine::rendering::universal::cameradata::CameraData,
19 pub light_data: crate::unity_engine::rendering::universal::lightdata::LightData,
20 pub shadow_data: crate::unity_engine::rendering::universal::shadowdata::ShadowData,
21 pub post_processing_data: crate::unity_engine::rendering::universal::postprocessingdata::PostProcessingData,
22 pub supports_dynamic_batching: bool,
23 pub per_object_data: crate::unity_engine::rendering::perobjectdata::PerObjectData,
24 pub post_processing_enabled: bool,
25 pub gpu_save_mode: bool,
26 }
27 impl ::unity::ClassIdentity for RenderingData {
28 const NAME: &'static str = "RenderingData";
29 const NAMESPACE: &'static str = "UnityEngine.Rendering.Universal";
30
31 fn class() -> ::unity::Class {
32 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
33 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
34 }
35 }
36 impl ::unity::IlType for RenderingData {
37 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
38 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
39 }
40 }
41}
42
43#[cfg(feature = "unity_engine-rendering-universal-renderingdata-types")]
44pub use __types::*;
45
46#[cfg(feature = "unity_engine-rendering-universal-renderingdata")]
47#[doc(hidden)]
48pub mod prelude {
49 pub use super::RenderingData;
50 #[cfg(feature = "system-object")]
51 pub use crate::system::object::IObjectMethods;
52 #[cfg(feature = "system-valuetype")]
53 pub use crate::system::valuetype::IValueTypeMethods;
54 pub use crate::system::{object::IObject, valuetype::IValueType};
55}