-
Notifications
You must be signed in to change notification settings - Fork 10
/
materialsystem2.dll.rs
215 lines (213 loc) · 9.44 KB
/
materialsystem2.dll.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
// Dumped By FrezzyHook.com
// 2024-07-25 22:23:28.287805200 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
// Module: materialsystem2.dll
// Classes count: 13
// Enums count: 5
pub mod materialsystem2_dll {
// Alignment: 4
// Members count: 4
#[repr(u32)]
pub enum VertJustification_e {
VERT_JUSTIFICATION_TOP = 0x0,
VERT_JUSTIFICATION_CENTER = 0x1,
VERT_JUSTIFICATION_BOTTOM = 0x2,
VERT_JUSTIFICATION_NONE = 0x3
}
// Alignment: 4
// Members count: 3
#[repr(u32)]
pub enum LayoutPositionType_e {
LAYOUTPOSITIONTYPE_VIEWPORT_RELATIVE = 0x0,
LAYOUTPOSITIONTYPE_FRACTIONAL = 0x1,
LAYOUTPOSITIONTYPE_NONE = 0x2
}
// Alignment: 4
// Members count: 3
#[repr(u32)]
pub enum ViewFadeMode_t {
VIEW_FADE_CONSTANT_COLOR = 0x0,
VIEW_FADE_MODULATE = 0x1,
VIEW_FADE_MOD2X = 0x2
}
// Alignment: 4
// Members count: 3
#[repr(u32)]
pub enum BloomBlendMode_t {
BLOOM_BLEND_ADD = 0x0,
BLOOM_BLEND_SCREEN = 0x1,
BLOOM_BLEND_BLUR = 0x2
}
// Alignment: 4
// Members count: 4
#[repr(u32)]
pub enum HorizJustification_e {
HORIZ_JUSTIFICATION_LEFT = 0x0,
HORIZ_JUSTIFICATION_CENTER = 0x1,
HORIZ_JUSTIFICATION_RIGHT = 0x2,
HORIZ_JUSTIFICATION_NONE = 0x3
}
// Parent: None
// Fields count: 1
//
// Metadata:
// MGetKV3ClassDefaults
pub mod MaterialParam_t {
pub const m_name: usize = 0x0; // CUtlString
}
// Parent: MaterialParam_t
// Fields count: 1
//
// Metadata:
// MGetKV3ClassDefaults
pub mod MaterialParamVector_t {
pub const m_value: usize = 0x8; // Vector4D
}
// Parent: MaterialParam_t
// Fields count: 1
//
// Metadata:
// MGetKV3ClassDefaults
pub mod MaterialParamString_t {
pub const m_value: usize = 0x8; // CUtlString
}
// Parent: None
// Fields count: 11
//
// Metadata:
// MGetKV3ClassDefaults
pub mod PostProcessingResource_t {
pub const m_bHasTonemapParams: usize = 0x0; // bool
pub const m_toneMapParams: usize = 0x4; // PostProcessingTonemapParameters_t
pub const m_bHasBloomParams: usize = 0x40; // bool
pub const m_bloomParams: usize = 0x44; // PostProcessingBloomParameters_t
pub const m_bHasVignetteParams: usize = 0xB4; // bool
pub const m_vignetteParams: usize = 0xB8; // PostProcessingVignetteParameters_t
pub const m_bHasLocalContrastParams: usize = 0xDC; // bool
pub const m_localConstrastParams: usize = 0xE0; // PostProcessingLocalContrastParameters_t
pub const m_nColorCorrectionVolumeDim: usize = 0xF4; // int32
pub const m_colorCorrectionVolumeData: usize = 0xF8; // CUtlBinaryBlock
pub const m_bHasColorCorrection: usize = 0x110; // bool
}
// Parent: MaterialParam_t
// Fields count: 1
//
// Metadata:
// MGetKV3ClassDefaults
pub mod MaterialParamInt_t {
pub const m_nValue: usize = 0x8; // int32
}
// Parent: None
// Fields count: 6
//
// Metadata:
// MGetKV3ClassDefaults
pub mod PostProcessingVignetteParameters_t {
pub const m_flVignetteStrength: usize = 0x0; // float32
pub const m_vCenter: usize = 0x4; // Vector2D
pub const m_flRadius: usize = 0xC; // float32
pub const m_flRoundness: usize = 0x10; // float32
pub const m_flFeather: usize = 0x14; // float32
pub const m_vColorTint: usize = 0x18; // Vector
}
// Parent: None
// Fields count: 5
//
// Metadata:
// MGetKV3ClassDefaults
pub mod PostProcessingLocalContrastParameters_t {
pub const m_flLocalContrastStrength: usize = 0x0; // float32
pub const m_flLocalContrastEdgeStrength: usize = 0x4; // float32
pub const m_flLocalContrastVignetteStart: usize = 0x8; // float32
pub const m_flLocalContrastVignetteEnd: usize = 0xC; // float32
pub const m_flLocalContrastVignetteBlur: usize = 0x10; // float32
}
// Parent: None
// Fields count: 15
//
// Metadata:
// MGetKV3ClassDefaults
pub mod PostProcessingTonemapParameters_t {
pub const m_flExposureBias: usize = 0x0; // float32
pub const m_flShoulderStrength: usize = 0x4; // float32
pub const m_flLinearStrength: usize = 0x8; // float32
pub const m_flLinearAngle: usize = 0xC; // float32
pub const m_flToeStrength: usize = 0x10; // float32
pub const m_flToeNum: usize = 0x14; // float32
pub const m_flToeDenom: usize = 0x18; // float32
pub const m_flWhitePoint: usize = 0x1C; // float32
pub const m_flLuminanceSource: usize = 0x20; // float32
pub const m_flExposureBiasShadows: usize = 0x24; // float32
pub const m_flExposureBiasHighlights: usize = 0x28; // float32
pub const m_flMinShadowLum: usize = 0x2C; // float32
pub const m_flMaxShadowLum: usize = 0x30; // float32
pub const m_flMinHighlightLum: usize = 0x34; // float32
pub const m_flMaxHighlightLum: usize = 0x38; // float32
}
// Parent: MaterialParam_t
// Fields count: 1
//
// Metadata:
// MGetKV3ClassDefaults
pub mod MaterialParamBuffer_t {
pub const m_value: usize = 0x8; // CUtlBinaryBlock
}
// Parent: None
// Fields count: 14
//
// Metadata:
// MGetKV3ClassDefaults
pub mod MaterialResourceData_t {
pub const m_materialName: usize = 0x0; // CUtlString
pub const m_shaderName: usize = 0x8; // CUtlString
pub const m_intParams: usize = 0x10; // CUtlVector<MaterialParamInt_t>
pub const m_floatParams: usize = 0x28; // CUtlVector<MaterialParamFloat_t>
pub const m_vectorParams: usize = 0x40; // CUtlVector<MaterialParamVector_t>
pub const m_textureParams: usize = 0x58; // CUtlVector<MaterialParamTexture_t>
pub const m_dynamicParams: usize = 0x70; // CUtlVector<MaterialParamBuffer_t>
pub const m_dynamicTextureParams: usize = 0x88; // CUtlVector<MaterialParamBuffer_t>
pub const m_intAttributes: usize = 0xA0; // CUtlVector<MaterialParamInt_t>
pub const m_floatAttributes: usize = 0xB8; // CUtlVector<MaterialParamFloat_t>
pub const m_vectorAttributes: usize = 0xD0; // CUtlVector<MaterialParamVector_t>
pub const m_textureAttributes: usize = 0xE8; // CUtlVector<MaterialParamTexture_t>
pub const m_stringAttributes: usize = 0x100; // CUtlVector<MaterialParamString_t>
pub const m_renderAttributesUsed: usize = 0x118; // CUtlVector<CUtlString>
}
// Parent: None
// Fields count: 10
//
// Metadata:
// MGetKV3ClassDefaults
pub mod PostProcessingBloomParameters_t {
pub const m_blendMode: usize = 0x0; // BloomBlendMode_t
pub const m_flBloomStrength: usize = 0x4; // float32
pub const m_flScreenBloomStrength: usize = 0x8; // float32
pub const m_flBlurBloomStrength: usize = 0xC; // float32
pub const m_flBloomThreshold: usize = 0x10; // float32
pub const m_flBloomThresholdWidth: usize = 0x14; // float32
pub const m_flSkyboxBloomStrength: usize = 0x18; // float32
pub const m_flBloomStartValue: usize = 0x1C; // float32
pub const m_flBlurWeight: usize = 0x20; // float32[5]
pub const m_vBlurTint: usize = 0x34; // Vector[5]
}
// Parent: MaterialParam_t
// Fields count: 1
//
// Metadata:
// MGetKV3ClassDefaults
pub mod MaterialParamFloat_t {
pub const m_flValue: usize = 0x8; // float32
}
// Parent: MaterialParam_t
// Fields count: 1
//
// Metadata:
// MGetKV3ClassDefaults
pub mod MaterialParamTexture_t {
pub const m_pValue: usize = 0x8; // CStrongHandle<InfoForResourceTypeCTextureBase>
}
}
}
}