terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
MaterialBuffer.cs
Go to the documentation of this file.
1using System;
4using UnityEngine;
5
7{
8 // Token: 0x02000374 RID: 884
9 public class MaterialBuffer
10 {
11 // Token: 0x170002B8 RID: 696
12 // (get) Token: 0x0600170D RID: 5901 RVA: 0x0006478C File Offset: 0x0006298C
14 {
15 get
16 {
17 /*
18An exception occurred when decompiling this method (0600170D)
19
20ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.Dictionary`2<System.Int32,Microsoft.Xna.Framework.Graphics.MaterialBuffer/MaterialPartition> Microsoft.Xna.Framework.Graphics.MaterialBuffer::get__availableMaterials()
21
22 ---> System.Exception: Basic block has to end with unconditional control flow.
23{
24 IL_0000:
25 brtrue(IL_0000, ldc.i4:bool(1))
26}
27
28 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
29 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
30 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
31 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
32 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
33 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
34 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
35 --- End of inner exception stack trace ---
36 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
37 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
38*/;
39 }
40 }
41
42 // Token: 0x170002B9 RID: 697
43 // (get) Token: 0x0600170E RID: 5902 RVA: 0x0006479C File Offset: 0x0006299C
45 {
46 get
47 {
48 /*
49An exception occurred when decompiling this method (0600170E)
50
51ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.List`1<Microsoft.Xna.Framework.Graphics.MaterialBuffer/MaterialEntry> Microsoft.Xna.Framework.Graphics.MaterialBuffer::get__usedMaterialsDefault()
52
53 ---> System.Exception: Basic block has to end with unconditional control flow.
54{
55 IL_0000:
56 brtrue(IL_0000, ldc.i4:bool(1))
57}
58
59 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
60 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
61 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
62 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
63 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
64 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
65 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
66 --- End of inner exception stack trace ---
67 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
68 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
69*/;
70 }
71 }
72
73 // Token: 0x170002BA RID: 698
74 // (get) Token: 0x0600170F RID: 5903 RVA: 0x000647AC File Offset: 0x000629AC
75 // (set) Token: 0x06001710 RID: 5904 RVA: 0x000647BC File Offset: 0x000629BC
77 {
78 get
79 {
80 /*
81An exception occurred when decompiling this method (0600170F)
82
83ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.List`1<Microsoft.Xna.Framework.Graphics.MaterialBuffer/MaterialEntry> Microsoft.Xna.Framework.Graphics.MaterialBuffer::get__usedMaterials()
84
85 ---> System.Exception: Basic block has to end with unconditional control flow.
86{
87 IL_0000:
88 brtrue(IL_0000, ldc.i4:bool(1))
89}
90
91 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
92 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
93 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
94 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
95 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
96 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
97 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
98 --- End of inner exception stack trace ---
99 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
100 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
101*/;
102 }
103 set
104 {
105 if (!true)
106 {
107 }
108 }
109 }
110
111 // Token: 0x06001711 RID: 5905 RVA: 0x000647CC File Offset: 0x000629CC
113 {
114 if (true)
115 {
116 if (list != null)
117 {
118 return;
119 }
120 }
121 else
122 {
123 while (list != null)
124 {
125 }
126 }
128 }
129
130 // Token: 0x06001712 RID: 5906 RVA: 0x000021DB File Offset: 0x000003DB
131 public static void DestroyMaterials()
132 {
133 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
134 }
135
136 // Token: 0x06001713 RID: 5907 RVA: 0x000021DB File Offset: 0x000003DB
138 {
139 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
140 }
141
142 // Token: 0x06001714 RID: 5908 RVA: 0x000021DB File Offset: 0x000003DB
143 public static void ClearInstances()
144 {
145 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
146 }
147
148 // Token: 0x06001715 RID: 5909 RVA: 0x000647F0 File Offset: 0x000629F0
150 {
151 }
152
153 // Token: 0x06001716 RID: 5910 RVA: 0x00064804 File Offset: 0x00062A04
154 // Note: this type is marked as 'beforefieldinit'.
156 {
157 int num = Shader.PropertyToID("_MainTex");
158 int num2 = Shader.PropertyToID("_MainAlphaTex");
159 int num3 = Shader.PropertyToID("_MainPalTex");
160 int num4 = Shader.PropertyToID("_palScaleSize");
161 int num5 = Shader.PropertyToID("_SecondaryTex");
162 int num6 = Shader.PropertyToID("_ThirdTex");
163 int num7 = Shader.PropertyToID("_ForthTex");
164 int num8 = Shader.PropertyToID("_TrimMin");
165 int num9 = Shader.PropertyToID("_TrimMax");
166 }
167
168 // Token: 0x040025A9 RID: 9641
169 private static int MainTexId;
170
171 // Token: 0x040025AA RID: 9642
172 private static int MainAlphaTexId;
173
174 // Token: 0x040025AB RID: 9643
175 private static int MainPalTexId;
176
177 // Token: 0x040025AC RID: 9644
178 private static int PalScaleSizeId;
179
180 // Token: 0x040025AD RID: 9645
181 public static int SecTexId;
182
183 // Token: 0x040025AE RID: 9646
184 private static int ThirdTexId;
185
186 // Token: 0x040025AF RID: 9647
187 private static int ForthTexId;
188
189 // Token: 0x040025B0 RID: 9648
190 private static int TrimMinId;
191
192 // Token: 0x040025B1 RID: 9649
193 private static int TrimMaxId;
194
195 // Token: 0x02000375 RID: 885
196 public class MaterialEntry
197 {
198 // Token: 0x06001717 RID: 5911 RVA: 0x0006487C File Offset: 0x00062A7C
200 {
201 if (!true)
202 {
203 }
204 if (true)
205 {
206 Debug.Log("Created");
207 }
209 Shader shader = materialPartition.BaseMaterial.shader;
210 this.Material = int.MinValue;
211 if (t0 != null)
212 {
213 Texture unityBindTexture = t0.UnityBindTexture;
214 return;
215 }
216 if (-2147483648 == 0)
217 {
218 }
219 if (t1 != null)
220 {
221 Texture unityBindTexture2 = t1.UnityBindTexture;
222 return;
223 }
224 if (-2147483648 == 0)
225 {
226 }
227 if (t2 != null)
228 {
229 Texture unityBindTexture3 = t2.UnityBindTexture;
230 return;
231 }
232 if (-2147483648 == 0)
233 {
234 }
235 if (t3 != null)
236 {
237 Texture unityBindTexture4 = t3.UnityBindTexture;
238 return;
239 }
240 if (t0 != null)
241 {
243 if (-2147483648 == 0)
244 {
245 }
247 if (-2147483648 == 0)
248 {
249 }
250 if ("_MAIN_USE_PAL_A8" == null)
251 {
252 }
256 return;
257 }
258 }
259
260 // Token: 0x06001718 RID: 5912 RVA: 0x000649A8 File Offset: 0x00062BA8
261 public void SetupTrimming(Vector2 min, Vector2 max)
262 {
263 if (!true)
264 {
265 }
266 if ("_USE_TRIMMING" == null)
267 {
268 }
269 }
270
271 // Token: 0x06001719 RID: 5913 RVA: 0x000649C0 File Offset: 0x00062BC0
272 public void ClearTrimming()
273 {
274 if (this.useTrimming)
275 {
276 this.Material.DisableKeyword("_USE_TRIMMING");
277 return;
278 }
279 }
280
281 // Token: 0x0600171A RID: 5914 RVA: 0x000021DB File Offset: 0x000003DB
282 public void Relase()
283 {
284 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
285 }
286
287 // Token: 0x040025B2 RID: 9650
289
290 // Token: 0x040025B3 RID: 9651
292
293 // Token: 0x040025B4 RID: 9652
295
296 // Token: 0x040025B5 RID: 9653
298
299 // Token: 0x040025B6 RID: 9654
300 private bool useTrimming;
301 }
302
303 // Token: 0x02000376 RID: 886
304 public class MaterialPartition : Dictionary<int, List<MaterialBuffer.MaterialEntry>>
305 {
306 // Token: 0x0600171B RID: 5915 RVA: 0x000649E8 File Offset: 0x00062BE8
308 {
309 if (!true)
310 {
311 }
312 bool flag = baseMaterial.HasProperty(42207640);
313 this.HasTexture2 = true;
314 bool flag2 = this.BaseMaterial.HasProperty(42207640);
315 bool flag3 = this.BaseMaterial.HasProperty(42207640);
316 }
317
318 // Token: 0x0600171C RID: 5916 RVA: 0x00064A34 File Offset: 0x00062C34
319 public void DestroyMaterials()
320 {
321 }
322
323 // Token: 0x0600171D RID: 5917 RVA: 0x00064A78 File Offset: 0x00062C78
325 {
326 /*
327An exception occurred when decompiling this method (0600171D)
328
329ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.MaterialBuffer/MaterialEntry Microsoft.Xna.Framework.Graphics.MaterialBuffer/MaterialPartition::GetMaterial(Microsoft.Xna.Framework.Graphics.Texture2D,Microsoft.Xna.Framework.Graphics.Texture2D,Microsoft.Xna.Framework.Graphics.Texture2D,Microsoft.Xna.Framework.Graphics.Texture2D)
330
331 ---> System.Exception: Basic block has to end with unconditional control flow.
332{
333 IL_000A:
334 stloc:bool(var_1_10, ldfld:bool(MaterialPartition::HasTexture2, ldloc:MaterialPartition(this)))
335 stloc:bool(var_2_17, ldfld:bool(MaterialPartition::HasTexture3, ldloc:MaterialPartition(this)))
336 stloc:bool(var_3_1E, ldfld:bool(MaterialPartition::HasTexture4, ldloc:MaterialPartition(this)))
337}
338
339 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
340 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
341 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
342 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
343 --- End of inner exception stack trace ---
344 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
345 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
346*/;
347 }
348
349 // Token: 0x040025B7 RID: 9655
351
352 // Token: 0x040025B8 RID: 9656
354
355 // Token: 0x040025B9 RID: 9657
357
358 // Token: 0x040025BA RID: 9658
360 }
361 }
362}
class f__AnonymousType0<< Count > j__TPar
MaterialEntry(MaterialBuffer.MaterialPartition materialPartition, List< MaterialBuffer.MaterialEntry > list, Texture2D t0, Texture2D t1, Texture2D t2, Texture2D t3)
readonly List< MaterialBuffer.MaterialEntry > MaterialList
MaterialBuffer.MaterialEntry GetMaterial(Texture2D t0, Texture2D t1, Texture2D t2, Texture2D t3)
static Dictionary< int, MaterialBuffer.MaterialPartition > _availableMaterials
static Material GetMaterial(EffectPass baseEffect, Texture2D t0, Texture2D t1, Texture2D t2, Texture2D t3)
static List< MaterialBuffer.MaterialEntry > _usedMaterials
static List< MaterialBuffer.MaterialEntry > _usedMaterialsDefault
static void SetUsedMaterialList(List< MaterialBuffer.MaterialEntry > list)
static void Log(object message)
Definition Debug.cs:51
bool HasProperty(int nameID)
Definition Material.cs:113
void DisableKeyword(string keyword)
Definition Material.cs:142
static int PropertyToID(string name)
Definition Shader.cs:50