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
RenderPipelineManager.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x02000111 RID: 273
10 public static class RenderPipelineManager
11 {
12 // Token: 0x17000124 RID: 292
13 // (get) Token: 0x06000577 RID: 1399 RVA: 0x00009C78 File Offset: 0x00007E78
14 // (set) Token: 0x06000578 RID: 1400 RVA: 0x00009C88 File Offset: 0x00007E88
16 {
17 get
18 {
19 /*
20An exception occurred when decompiling this method (06000577)
21
22ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Rendering.RenderPipeline UnityEngine.Rendering.RenderPipelineManager::get_currentPipeline()
23
24 ---> System.Exception: Basic block has to end with unconditional control flow.
25{
26 IL_0000:
27 brtrue(IL_0000, ldc.i4:bool(1))
28}
29
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 1852
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 1878
32 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
33 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
34 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
35 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
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 88
37 --- End of inner exception stack trace ---
38 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
39 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
40*/;
41 }
42 private set
43 {
44 if (value != null)
45 {
46 Type type = value.GetType();
47 return;
48 }
49 }
50 }
51
52 // Token: 0x06000579 RID: 1401 RVA: 0x00009CA0 File Offset: 0x00007EA0
54 internal static void OnActiveRenderPipelineTypeChanged()
55 {
56 if (!true)
57 {
58 }
59 if (true)
60 {
61 return;
62 }
63 }
64
65 // Token: 0x0600057A RID: 1402 RVA: 0x00009CB4 File Offset: 0x00007EB4
68 {
69 if (!true)
70 {
71 }
72 if (!true)
73 {
74 }
76 }
77
78 // Token: 0x0600057B RID: 1403 RVA: 0x00009CCC File Offset: 0x00007ECC
80 internal static void CleanupRenderPipeline()
81 {
82 if (!true)
83 {
84 }
85 if (!true)
86 {
87 }
88 if (true)
89 {
90 if (!true)
91 {
92 }
93 if (!true)
94 {
95 }
96 if (!true)
97 {
98 if (!true)
99 {
100 }
101 if (!true)
102 {
103 }
104 return;
105 }
106 }
107 }
108
109 // Token: 0x0600057C RID: 1404 RVA: 0x00009CF4 File Offset: 0x00007EF4
111 private static string GetCurrentPipelineAssetType()
112 {
113 /*
114An exception occurred when decompiling this method (0600057C)
115
116ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String UnityEngine.Rendering.RenderPipelineManager::GetCurrentPipelineAssetType()
117
118 ---> System.Exception: Basic block has to end with unconditional control flow.
119{
120 IL_0000:
121 brtrue(IL_0000, ldc.i4:bool(1))
122}
123
124 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
125 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
126 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
127 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
128 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
129 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
130 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
131 --- End of inner exception stack trace ---
132 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
133 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
134*/;
135 }
136
137 // Token: 0x0600057D RID: 1405 RVA: 0x00009D04 File Offset: 0x00007F04
140 {
141 if (!true)
142 {
143 }
145 if (!true)
146 {
147 }
148 int num = 1;
149 if (num == 0)
150 {
151 }
152 if (renderRequests != null)
153 {
154 return;
155 }
156 if (num == 0)
157 {
158 }
159 }
160
161 // Token: 0x0600057E RID: 1406 RVA: 0x00009D2C File Offset: 0x00007F2C
163 {
164 if (!true)
165 {
166 }
168 if (!true)
169 {
170 }
171 if (true)
172 {
173 if (!true)
174 {
175 }
176 if (!true)
177 {
178 }
179 if (!true)
180 {
181 return;
182 }
183 }
184 if (!true)
185 {
186 }
189 }
190
191 // Token: 0x0600057F RID: 1407 RVA: 0x00009D5C File Offset: 0x00007F5C
192 // Note: this type is marked as 'beforefieldinit'.
194 {
195 }
196
197 // Token: 0x04000485 RID: 1157
199
200 // Token: 0x04000486 RID: 1158
201 private static List<Camera> s_Cameras;
202
203 // Token: 0x04000487 RID: 1159
204 private static string s_currentPipelineType;
205
206 // Token: 0x04000488 RID: 1160
207 private static string s_builtinPipelineName;
208
209 // Token: 0x04000489 RID: 1161
211
212 // Token: 0x0400048A RID: 1162
216 }
217}
class f__AnonymousType0<< Count > j__TPar
new Type GetType()
Definition Type.cs:287
static void PrepareRenderPipeline(RenderPipelineAsset pipelineAsset)
static void DoRenderLoop_Internal(RenderPipelineAsset pipe, IntPtr loopPtr, List< Camera.RenderRequest > renderRequests)
static void HandleRenderPipelineChange(RenderPipelineAsset pipelineAsset)