engage/generated/unity_engine/rendering/universal/
shaderpropertyid.rs1#[cfg(feature = "unity_engine-rendering-universal-shaderpropertyid-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/shaderpropertyid/ShaderPropertyId.md"))]
11 #[::unity::class(namespace = "UnityEngine.Rendering.Universal", name = "ShaderPropertyId")]
12 #[parent(crate::system::object::Object)]
13 pub struct ShaderPropertyId {
14 #[static_field]
15 #[rename(name = "glossyEnvironmentColor")]
16 pub glossy_environment_color: i32,
17 #[static_field]
18 #[rename(name = "subtractiveShadowColor")]
19 pub subtractive_shadow_color: i32,
20 #[static_field]
21 #[rename(name = "ambientSkyColor")]
22 pub ambient_sky_color: i32,
23 #[static_field]
24 #[rename(name = "ambientEquatorColor")]
25 pub ambient_equator_color: i32,
26 #[static_field]
27 #[rename(name = "ambientGroundColor")]
28 pub ambient_ground_color: i32,
29 #[static_field]
30 #[rename(name = "time")]
31 pub time: i32,
32 #[static_field]
33 #[rename(name = "sinTime")]
34 pub sin_time: i32,
35 #[static_field]
36 #[rename(name = "cosTime")]
37 pub cos_time: i32,
38 #[static_field]
39 #[rename(name = "deltaTime")]
40 pub delta_time: i32,
41 #[static_field]
42 #[rename(name = "timeParameters")]
43 pub time_parameters: i32,
44 #[static_field]
45 #[rename(name = "scaledScreenParams")]
46 pub scaled_screen_params: i32,
47 #[static_field]
48 #[rename(name = "worldSpaceCameraPos")]
49 pub world_space_camera_pos: i32,
50 #[static_field]
51 #[rename(name = "screenParams")]
52 pub screen_params: i32,
53 #[static_field]
54 #[rename(name = "projectionParams")]
55 pub projection_params: i32,
56 #[static_field]
57 #[rename(name = "zBufferParams")]
58 pub z_buffer_params: i32,
59 #[static_field]
60 #[rename(name = "orthoParams")]
61 pub ortho_params: i32,
62 #[static_field]
63 #[rename(name = "viewMatrix")]
64 pub view_matrix: i32,
65 #[static_field]
66 #[rename(name = "projectionMatrix")]
67 pub projection_matrix: i32,
68 #[static_field]
69 #[rename(name = "viewAndProjectionMatrix")]
70 pub view_and_projection_matrix: i32,
71 #[static_field]
72 #[rename(name = "inverseViewMatrix")]
73 pub inverse_view_matrix: i32,
74 #[static_field]
75 #[rename(name = "inverseProjectionMatrix")]
76 pub inverse_projection_matrix: i32,
77 #[static_field]
78 #[rename(name = "inverseViewAndProjectionMatrix")]
79 pub inverse_view_and_projection_matrix: i32,
80 #[static_field]
81 #[rename(name = "cameraProjectionMatrix")]
82 pub camera_projection_matrix: i32,
83 #[static_field]
84 #[rename(name = "inverseCameraProjectionMatrix")]
85 pub inverse_camera_projection_matrix: i32,
86 #[static_field]
87 #[rename(name = "worldToCameraMatrix")]
88 pub world_to_camera_matrix: i32,
89 #[static_field]
90 #[rename(name = "cameraToWorldMatrix")]
91 pub camera_to_world_matrix: i32,
92 #[static_field]
93 #[rename(name = "sourceTex")]
94 pub source_tex: i32,
95 #[static_field]
96 #[rename(name = "scaleBias")]
97 pub scale_bias: i32,
98 #[static_field]
99 #[rename(name = "scaleBiasRt")]
100 pub scale_bias_rt: i32,
101 #[static_field]
102 #[rename(name = "autoReductionParams")]
103 pub auto_reduction_params: i32,
104 #[static_field]
105 #[rename(name = "customAlpha")]
106 pub custom_alpha: i32,
107 }
108}
109
110#[cfg(feature = "unity_engine-rendering-universal-shaderpropertyid-types")]
111pub use __types::*;
112
113#[cfg(feature = "unity_engine-rendering-universal-shaderpropertyid")]
114impl ShaderPropertyId {
115 #[doc = "`.cctor()` overload"]
116 pub fn cctor() -> () {
117 unsafe {
118 ::unity::il2cpp_call!((::unity::module_base()+0x2ed7690usize)as*mut u8,();
119 )
120 }
121 }
122}
123
124#[cfg(feature = "unity_engine-rendering-universal-shaderpropertyid")]
125impl ShaderPropertyId {
126 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
127 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
128 }
129}
130
131#[cfg(feature = "unity_engine-rendering-universal-shaderpropertyid")]
132#[doc(hidden)]
133pub mod prelude {
134 pub use super::{IShaderPropertyId, ShaderPropertyId};
135 pub use crate::system::object::IObject;
136 #[cfg(feature = "system-object")]
137 pub use crate::system::object::IObjectMethods;
138}