engage/generated/unity_engine/rendering/
builtinshaderdefine.rs1#[cfg(feature = "unity_engine-rendering-builtinshaderdefine-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/builtinshaderdefine/BuiltinShaderDefine.md"))]
15 #[repr(C)]
16 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17 pub struct BuiltinShaderDefine {
18 pub value: i32,
19 }
20 impl ::unity::ClassIdentity for BuiltinShaderDefine {
21 const NAME: &'static str = "BuiltinShaderDefine";
22 const NAMESPACE: &'static str = "UnityEngine.Rendering";
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 BuiltinShaderDefine {
30 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32 }
33 }
34 impl BuiltinShaderDefine {
35 pub fn unity_no_dxt5nm() -> Self {
36 Self { value: 0 }
37 }
38
39 pub fn unity_no_rgbm() -> Self {
40 Self { value: 1 }
41 }
42
43 pub fn unity_use_native_hdr() -> Self {
44 Self { value: 2 }
45 }
46
47 pub fn unity_enable_reflection_buffers() -> Self {
48 Self { value: 3 }
49 }
50
51 pub fn unity_framebuffer_fetch_available() -> Self {
52 Self { value: 4 }
53 }
54
55 pub fn unity_enable_native_shadow_lookups() -> Self {
56 Self { value: 5 }
57 }
58
59 pub fn unity_metal_shadows_use_point_filtering() -> Self {
60 Self { value: 6 }
61 }
62
63 pub fn unity_no_cubemap_array() -> Self {
64 Self { value: 7 }
65 }
66
67 pub fn unity_no_screenspace_shadows() -> Self {
68 Self { value: 8 }
69 }
70
71 pub fn unity_use_dither_mask_for_alphablended_shadows() -> Self {
72 Self { value: 9 }
73 }
74
75 pub fn unity_pbs_use_brdf1() -> Self {
76 Self { value: 10 }
77 }
78
79 pub fn unity_pbs_use_brdf2() -> Self {
80 Self { value: 11 }
81 }
82
83 pub fn unity_pbs_use_brdf3() -> Self {
84 Self { value: 12 }
85 }
86
87 pub fn unity_no_full_standard_shader() -> Self {
88 Self { value: 13 }
89 }
90
91 pub fn unity_speccube_box_projection() -> Self {
92 Self { value: 14 }
93 }
94
95 pub fn unity_speccube_blending() -> Self {
96 Self { value: 15 }
97 }
98
99 pub fn unity_enable_detail_normalmap() -> Self {
100 Self { value: 16 }
101 }
102
103 pub fn shader_api_mobile() -> Self {
104 Self { value: 17 }
105 }
106
107 pub fn shader_api_desktop() -> Self {
108 Self { value: 18 }
109 }
110
111 pub fn unity_hardware_tier1() -> Self {
112 Self { value: 19 }
113 }
114
115 pub fn unity_hardware_tier2() -> Self {
116 Self { value: 20 }
117 }
118
119 pub fn unity_hardware_tier3() -> Self {
120 Self { value: 21 }
121 }
122
123 pub fn unity_colorspace_gamma() -> Self {
124 Self { value: 22 }
125 }
126
127 pub fn unity_light_probe_proxy_volume() -> Self {
128 Self { value: 23 }
129 }
130
131 pub fn unity_half_precision_fragment_shader_registers() -> Self {
132 Self { value: 24 }
133 }
134
135 pub fn unity_lightmap_dldr_encoding() -> Self {
136 Self { value: 25 }
137 }
138
139 pub fn unity_lightmap_rgbm_encoding() -> Self {
140 Self { value: 26 }
141 }
142
143 pub fn unity_lightmap_full_hdr() -> Self {
144 Self { value: 27 }
145 }
146
147 pub fn unity_virtual_texturing() -> Self {
148 Self { value: 28 }
149 }
150
151 pub fn unity_pretransform_to_display_orientation() -> Self {
152 Self { value: 29 }
153 }
154
155 pub fn unity_astc_normalmap_encoding() -> Self {
156 Self { value: 30 }
157 }
158
159 pub fn shader_api_gles30() -> Self {
160 Self { value: 31 }
161 }
162
163 pub fn unity_unified_shader_precision_model() -> Self {
164 Self { value: 32 }
165 }
166 }
167}
168
169#[cfg(feature = "unity_engine-rendering-builtinshaderdefine-types")]
170pub use __types::*;
171
172#[cfg(feature = "unity_engine-rendering-builtinshaderdefine")]
173#[doc(hidden)]
174pub mod prelude {
175 pub use super::BuiltinShaderDefine;
176 #[cfg(feature = "system-object")]
177 pub use crate::system::object::IObjectMethods;
178 #[cfg(feature = "system-enum")]
179 pub use crate::system::r#enum::IEnumMethods;
180 #[cfg(feature = "system-valuetype")]
181 pub use crate::system::valuetype::IValueTypeMethods;
182 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
183}