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
StencilMaterial.cs
Go to the documentation of this file.
1using System;
5
6namespace UnityEngine.UI
7{
8 // Token: 0x02000070 RID: 112
9 public static class StencilMaterial
10 {
11 // Token: 0x06000493 RID: 1171 RVA: 0x0000E9A0 File Offset: 0x0000CBA0
13 [Obsolete("Use Material.Add instead.", true)]
14 public static Material Add(Material baseMat, int stencilID)
15 {
16 }
17
18 // Token: 0x06000494 RID: 1172 RVA: 0x0000E9B0 File Offset: 0x0000CBB0
19 public static Material Add(Material baseMat, int stencilID, StencilOp operation, CompareFunction compareFunction, ColorWriteMask colorWriteMask)
20 {
21 if (!true)
22 {
23 }
24 Material material;
25 return material;
26 }
27
28 // Token: 0x06000495 RID: 1173 RVA: 0x0000E9C4 File Offset: 0x0000CBC4
29 private static void LogWarningWhenNotInBatchmode(string warning, Object context)
30 {
31 bool isBatchMode = Application.isBatchMode;
32 }
33
34 // Token: 0x06000496 RID: 1174 RVA: 0x0000E9E4 File Offset: 0x0000CBE4
35 public static Material Add(Material baseMat, int stencilID, StencilOp operation, CompareFunction compareFunction, ColorWriteMask colorWriteMask, int readMask, int writeMask)
36 {
37 if (!true)
38 {
39 }
40 if ("_ColorMask" == null)
41 {
42 }
43 if ("_ColorMask" == null)
44 {
45 }
46 string text;
47 if (text == null || text != null)
48 {
49 if ("_ColorMask" != null)
50 {
51 }
52 if ("_ColorMask" == null)
53 {
54 }
55 return "_ColorMask";
56 }
58 }
59
60 // Token: 0x06000497 RID: 1175 RVA: 0x0000EA38 File Offset: 0x0000CC38
61 public static void Remove(Material customMat)
62 {
63 int num = 1;
64 if (num == 0)
65 {
66 }
67 if (num == 0)
68 {
69 }
70 }
71
72 // Token: 0x06000498 RID: 1176 RVA: 0x0000EA54 File Offset: 0x0000CC54
73 public static void ClearAll()
74 {
75 if (!true)
76 {
77 }
78 }
79
80 // Token: 0x06000499 RID: 1177 RVA: 0x0000EA68 File Offset: 0x0000CC68
81 // Note: this type is marked as 'beforefieldinit'.
83 {
84 }
85
86 // Token: 0x04000238 RID: 568
88
89 // Token: 0x02000071 RID: 113
90 private class MatEntry
91 {
92 // Token: 0x0600049A RID: 1178 RVA: 0x0000EA78 File Offset: 0x0000CC78
93 public MatEntry()
94 {
95 }
96
97 // Token: 0x04000239 RID: 569
99
100 // Token: 0x0400023A RID: 570
102
103 // Token: 0x0400023B RID: 571
104 public int count;
105
106 // Token: 0x0400023C RID: 572
107 public int stencilId;
108
109 // Token: 0x0400023D RID: 573
111
112 // Token: 0x0400023E RID: 574
114
115 // Token: 0x0400023F RID: 575
116 public int readMask;
117
118 // Token: 0x04000240 RID: 576
119 public int writeMask;
120
121 // Token: 0x04000241 RID: 577
122 public bool useAlphaClip;
123
124 // Token: 0x04000242 RID: 578
126 }
127 }
128}
class f__AnonymousType0<< Count > j__TPar
static void Remove(Material customMat)
static Material Add(Material baseMat, int stencilID, StencilOp operation, CompareFunction compareFunction, ColorWriteMask colorWriteMask, int readMask, int writeMask)
static Material Add(Material baseMat, int stencilID)
static Material Add(Material baseMat, int stencilID, StencilOp operation, CompareFunction compareFunction, ColorWriteMask colorWriteMask)
static List< StencilMaterial.MatEntry > m_List
static void LogWarningWhenNotInBatchmode(string warning, Object context)