engage/generated/unity_engine/rendering/universal/internal/
deferredconfig.rs1#[cfg(feature = "unity_engine-rendering-universal-internal-deferredconfig-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/internal/deferredconfig/DeferredConfig.md"))]
11 #[::unity::class(namespace = "UnityEngine.Rendering.Universal.Internal", name = "DeferredConfig")]
12 #[parent(crate::system::object::Object)]
13 pub struct DeferredConfig {
14 #[static_field]
15 #[rename(name = "kPreferredCBufferSize")]
16 pub k_preferred_c_buffer_size: i32,
17 #[static_field]
18 #[rename(name = "kPreferredStructuredBufferSize")]
19 pub k_preferred_structured_buffer_size: i32,
20 #[static_field]
21 #[rename(name = "kTilePixelWidth")]
22 pub k_tile_pixel_width: i32,
23 #[static_field]
24 #[rename(name = "kTilePixelHeight")]
25 pub k_tile_pixel_height: i32,
26 #[static_field]
27 #[rename(name = "kTilerDepth")]
28 pub k_tiler_depth: i32,
29 #[static_field]
30 #[rename(name = "kTilerSubdivisions")]
31 pub k_tiler_subdivisions: i32,
32 #[static_field]
33 #[rename(name = "kAvgLightPerTile")]
34 pub k_avg_light_per_tile: i32,
35 #[static_field]
36 #[rename(name = "kTileDepthInfoIntermediateLevel")]
37 pub k_tile_depth_info_intermediate_level: i32,
38 #[static_field]
39 #[rename(name = "kHasNativeQuadSupport")]
40 pub k_has_native_quad_support: bool,
41 }
42}
43
44#[cfg(feature = "unity_engine-rendering-universal-internal-deferredconfig-types")]
45pub use __types::*;
46
47#[cfg(feature = "unity_engine-rendering-universal-internal-deferredconfig")]
48impl DeferredConfig {
49 #[doc = "`get_IsOpenGL()` overload"]
50 pub fn get_is_open_gl() -> bool {
51 unsafe {
52 ::unity::il2cpp_call!((::unity::module_base()+0x2a4ffc0usize)as*mut u8,bool;
53 )
54 }
55 }
56
57 #[doc = "`set_IsOpenGL(bool)` overload"]
58 pub fn set_is_open_gl(value: impl ::core::convert::Into<bool>) -> () {
59 unsafe {
60 ::unity::il2cpp_call!((::unity::module_base()+0x2a50010usize)as*mut u8,();
61(bool)::core::convert::Into::into(value))
62 }
63 }
64
65 #[doc = "`get_UseCBufferForDepthRange()` overload"]
66 pub fn get_use_c_buffer_for_depth_range() -> bool {
67 unsafe {
68 ::unity::il2cpp_call!((::unity::module_base()+0x2a50070usize)as*mut u8,bool;
69 )
70 }
71 }
72
73 #[doc = "`get_UseCBufferForTileList()` overload"]
74 pub fn get_use_c_buffer_for_tile_list() -> bool {
75 unsafe {
76 ::unity::il2cpp_call!((::unity::module_base()+0x2a50080usize)as*mut u8,bool;
77 )
78 }
79 }
80
81 #[doc = "`get_UseCBufferForLightData()` overload"]
82 pub fn get_use_c_buffer_for_light_data() -> bool {
83 unsafe {
84 ::unity::il2cpp_call!((::unity::module_base()+0x2a50090usize)as*mut u8,bool;
85 )
86 }
87 }
88
89 #[doc = "`get_UseCBufferForLightList()` overload"]
90 pub fn get_use_c_buffer_for_light_list() -> bool {
91 unsafe {
92 ::unity::il2cpp_call!((::unity::module_base()+0x2a500a0usize)as*mut u8,bool;
93 )
94 }
95 }
96}
97
98#[cfg(feature = "unity_engine-rendering-universal-internal-deferredconfig")]
99impl DeferredConfig {
100 pub fn get_is_open_gl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
101 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
102 }
103
104 pub fn set_is_open_gl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
105 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
106 }
107
108 pub fn get_use_c_buffer_for_depth_range_method_info() -> &'static ::unity::il2cpp::MethodInfo {
109 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
110 }
111
112 pub fn get_use_c_buffer_for_tile_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
113 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
114 }
115
116 pub fn get_use_c_buffer_for_light_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
117 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
118 }
119
120 pub fn get_use_c_buffer_for_light_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
121 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
122 }
123}
124
125#[cfg(feature = "unity_engine-rendering-universal-internal-deferredconfig")]
126#[doc(hidden)]
127pub mod prelude {
128 pub use super::{DeferredConfig, IDeferredConfig};
129 pub use crate::system::object::IObject;
130 #[cfg(feature = "system-object")]
131 pub use crate::system::object::IObjectMethods;
132}