terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Texture2D.cs
Go to the documentation of this file.
1using System;
3using System.IO;
9using Terraria;
13using UnityEngine;
14
16{
17 [global::Cpp2ILInjected.Token(Token = "0x20003AA")]
18 public class Texture2D : Texture
19 {
20 [global::Cpp2ILInjected.Token(Token = "0x6001911")]
21 [global::Cpp2ILInjected.Address(RVA = "0xAC5F98", Offset = "0xAC5F98", Length = "0x158")]
22 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureAtlasEntry), Member = "LoadData", MemberParameters = new object[]
24 {
26 typeof(short)
27 }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ContentManager), Member = "UnloadSourceTextures", ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UnloadSplashScreenTextures", ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
32 {
33 typeof(global::UnityEngine.Object),
34 typeof(global::UnityEngine.Object)
35 }, ReturnType = typeof(bool))]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Resources), Member = "UnloadAsset", MemberParameters = new object[] { typeof(global::UnityEngine.Object) }, ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
38 public void ResetLoaded()
39 {
40 throw null;
41 }
42
43 [global::Cpp2ILInjected.Token(Token = "0x1700034E")]
45 {
46 [global::Cpp2ILInjected.Token(Token = "0x6001912")]
47 [global::Cpp2ILInjected.Address(RVA = "0xAC6128", Offset = "0xAC6128", Length = "0x48")]
48 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = "get_UnityBindTexture", ReturnType = typeof(Texture))]
51 get
52 {
53 throw null;
54 }
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x6001913")]
58 [global::Cpp2ILInjected.Address(RVA = "0xAC61EC", Offset = "0xAC61EC", Length = "0x138")]
59 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
62 {
63 typeof(global::UnityEngine.Object),
64 typeof(global::UnityEngine.Object)
65 }, ReturnType = typeof(bool))]
66 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
68 {
69 throw null;
70 }
71
72 [global::Cpp2ILInjected.Token(Token = "0x6001914")]
73 [global::Cpp2ILInjected.Address(RVA = "0xAC6324", Offset = "0xAC6324", Length = "0x2F8")]
74 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = "get_UnityTexture", ReturnType = typeof(Texture2D))]
76 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
78 {
79 typeof(string),
80 typeof(string)
81 }, ReturnType = typeof(string))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Action<, , , >), Member = ".ctor", MemberParameters = new object[]
83 {
84 typeof(object),
86 }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ContentManager), Member = "LoadUnityTexturePageAsync", MemberParameters = new object[]
88 {
89 typeof(string),
90 typeof(string),
91 typeof(string),
92 typeof(int),
93 typeof(Action<Texture2D, Texture2D, Texture2D, int>)
94 }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Resources), Member = "Load", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::UnityEngine.Object))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
97 {
98 typeof(global::UnityEngine.Object),
99 typeof(global::UnityEngine.Object)
100 }, ReturnType = typeof(bool))]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
102 private void LoadSourceTexture()
103 {
104 throw null;
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x1700034F")]
109 {
110 [global::Cpp2ILInjected.Token(Token = "0x6001915")]
111 [global::Cpp2ILInjected.Address(RVA = "0xAC661C", Offset = "0xAC661C", Length = "0x48")]
112 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = "get_UnityBindTexture", ReturnType = typeof(Texture))]
115 get
116 {
117 throw null;
118 }
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x17000350")]
123 {
124 [global::Cpp2ILInjected.Token(Token = "0x6001916")]
125 [global::Cpp2ILInjected.Address(RVA = "0xAC6170", Offset = "0xAC6170", Length = "0x7C")]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ScreenPostProcessor), Member = "OnRenderImage", MemberParameters = new object[]
127 {
130 }, ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MaterialBuffer.MaterialEntry), Member = ".ctor", MemberParameters = new object[]
132 {
139 }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GraphicsDevice), Member = "GetMaterial", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Material))]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = "get_UnityTextureWidth", ReturnType = typeof(int))]
142 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = "get_UnityTextureHeight", ReturnType = typeof(int))]
143 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
145 {
146 typeof(global::UnityEngine.Object),
147 typeof(global::UnityEngine.Object)
148 }, ReturnType = typeof(bool))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = "get_UnityTexture", ReturnType = typeof(Texture2D))]
150 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
151 get
152 {
153 throw null;
154 }
155 }
156
157 [global::Cpp2ILInjected.Token(Token = "0x6001917")]
158 [global::Cpp2ILInjected.Address(RVA = "0xAC676C", Offset = "0xAC676C", Length = "0x9C")]
159 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureAtlasDB), Member = "LoadCallback", MemberParameters = new object[]
161 {
165 typeof(int)
166 }, ReturnType = typeof(void))]
167 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasDB), Member = "AltlasTexture", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Texture2D))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasDB), Member = "AltlasAlphaTexture", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Texture2D))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasDB), Member = "AltlasPalTexture", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Texture2D))]
172 {
173 throw null;
174 }
175
176 [global::Cpp2ILInjected.Token(Token = "0x17000351")]
178 {
179 [global::Cpp2ILInjected.Token(Token = "0x6001918")]
180 [global::Cpp2ILInjected.Address(RVA = "0xAC6664", Offset = "0xAC6664", Length = "0x108")]
181 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
182 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMap), Member = "ClearMap", ReturnType = typeof(void))]
183 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMap), Member = "ApplyMap", ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMap), Member = "CleanupMapTargets", ReturnType = typeof(void))]
185 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMap), Member = "DrawToMap", ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMap), Member = "ApplySection", MemberParameters = new object[]
187 {
188 typeof(int),
189 typeof(int),
190 typeof(int),
191 typeof(int)
192 }, ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMap), Member = "DrawToMap_Section", MemberParameters = new object[]
194 {
195 typeof(int),
196 typeof(int)
197 }, ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PixelShader), Member = "ApplyValuesToMaterial", MemberParameters = new object[]
199 {
202 }, ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = "get_UnityBindTexture", ReturnType = typeof(Texture))]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ContentManager), Member = "LoadTexture2D", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Texture2D))]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "LoadBackground", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
206 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Initializers.AssetInitializer.<LoadAssetsWhileInInitialBlackScreen_InSteps>d__3", Member = "MoveNext", ReturnType = typeof(bool))]
207 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AssetInitializer), Member = "LoadAssetsWhileInInitialBlackScreen", ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LiquidRenderer), Member = "SetWaveMaskData", MemberParameters = new object[] { typeof(ref Texture2D) }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 17)]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasDB), Member = "LoadTexturesAsync", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = "LoadSourceTexture", ReturnType = typeof(void))]
213 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasDB), Member = "AltlasTexture", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Texture2D))]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasDB), Member = "AltlasAlphaTexture", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Texture2D))]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasDB), Member = "AltlasPalTexture", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Texture2D))]
216 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
217 get
218 {
219 throw null;
220 }
221 }
222
223 [global::Cpp2ILInjected.Token(Token = "0x17000352")]
225 {
226 [global::Cpp2ILInjected.Token(Token = "0x6001919")]
227 [global::Cpp2ILInjected.Address(RVA = "0xAC6808", Offset = "0xAC6808", Length = "0x8")]
228 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
229 get
230 {
231 throw null;
232 }
233 }
234
235 [global::Cpp2ILInjected.Token(Token = "0x17000353")]
237 {
238 [global::Cpp2ILInjected.Token(Token = "0x600191A")]
239 [global::Cpp2ILInjected.Address(RVA = "0xAC6810", Offset = "0xAC6810", Length = "0x8")]
240 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
241 get
242 {
243 throw null;
244 }
245 }
246
247 [global::Cpp2ILInjected.Token(Token = "0x600191B")]
248 [global::Cpp2ILInjected.Address(RVA = "0xAC6818", Offset = "0xAC6818", Length = "0x50")]
249 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureAtlasDB), Member = "SetNumberOfAtlasPages", MemberParameters = new object[] { typeof(short) }, ReturnType = typeof(void))]
250 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
251 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
252 public static int GetBatchId()
253 {
254 throw null;
255 }
256
257 [global::Cpp2ILInjected.Token(Token = "0x600191C")]
258 [global::Cpp2ILInjected.Address(RVA = "0xAC60F0", Offset = "0xAC60F0", Length = "0x38")]
259 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
260 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "LoadProjectile", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "LoadWall", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
262 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "LoadTiles", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
263 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Initializers.AssetInitializer.<LoadTextures_InSteps>d__11", Member = "MoveNext", ReturnType = typeof(bool))]
264 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AssetInitializer), Member = "LoadTextures", MemberParameters = new object[] { typeof(AssetRequestMode) }, ReturnType = typeof(void))]
265 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 11)]
266 public void RefreshBatchIndex()
267 {
268 throw null;
269 }
270
271 [global::Cpp2ILInjected.Token(Token = "0x17000354")]
273 {
274 [global::Cpp2ILInjected.Token(Token = "0x600191D")]
275 [global::Cpp2ILInjected.Address(RVA = "0xAC6868", Offset = "0xAC6868", Length = "0x34")]
276 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
277 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
278 {
279 typeof(int),
280 typeof(int),
281 typeof(int),
282 typeof(int)
283 }, ReturnType = typeof(void))]
284 get
285 {
286 throw null;
287 }
288 }
289
290 [global::Cpp2ILInjected.Token(Token = "0x600191E")]
291 [global::Cpp2ILInjected.Address(RVA = "0xAC689C", Offset = "0xAC689C", Length = "0x60")]
292 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ContentManager), Member = "LoadTexture2D", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Texture2D))]
293 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
295 {
297 typeof(int),
298 typeof(int),
299 typeof(bool),
300 typeof(SurfaceFormat),
301 typeof(Texture2D.SurfaceType),
302 typeof(bool),
303 typeof(int)
304 }, ReturnType = typeof(void))]
305 public Texture2D(string sourceAsset, int width, int height)
306 {
307 throw null;
308 }
309
310 [global::Cpp2ILInjected.Token(Token = "0x600191F")]
311 [global::Cpp2ILInjected.Address(RVA = "0xAC6B28", Offset = "0xAC6B28", Length = "0xAC")]
312 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
313 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMap), Member = "InitialiseTargets", ReturnType = typeof(void))]
314 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ContentManager), Member = "CreateTextureAsset", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(object))]
315 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ContentManager), Member = "CreateTextureAssets", MemberParameters = new object[]
316 {
317 typeof(object),
318 typeof(object)
319 }, ReturnType = typeof(object))]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LiquidRenderer), Member = "SetWaveMaskData", MemberParameters = new object[] { typeof(ref Texture2D) }, ReturnType = typeof(void))]
321 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
322 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
323 {
325 typeof(int),
326 typeof(int),
327 typeof(bool),
328 typeof(SurfaceFormat),
329 typeof(Texture2D.SurfaceType),
330 typeof(bool),
331 typeof(int)
332 }, ReturnType = typeof(void))]
333 public Texture2D(Texture2D texture)
334 {
335 throw null;
336 }
337
338 [global::Cpp2ILInjected.Token(Token = "0x6001920")]
339 [global::Cpp2ILInjected.Address(RVA = "0xAC6BD4", Offset = "0xAC6BD4", Length = "0xAC")]
340 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
341 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DistortionRenderTargetManager), Member = "InitialiseCamera", ReturnType = typeof(void))]
342 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaterRenderTargetManager), Member = "InitialiseCamera", ReturnType = typeof(void))]
343 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
344 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
345 {
347 typeof(int),
348 typeof(int),
349 typeof(bool),
352 typeof(bool),
353 typeof(int)
354 }, ReturnType = typeof(void))]
355 public Texture2D(RenderTexture texture)
356 {
357 throw null;
358 }
359
360 [global::Cpp2ILInjected.Token(Token = "0x6001921")]
361 [global::Cpp2ILInjected.Address(RVA = "0xAC6C80", Offset = "0xAC6C80", Length = "0xE0")]
362 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
363 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ContentManager), Member = "CreateTextureAssets", MemberParameters = new object[]
364 {
365 typeof(object),
366 typeof(object)
367 }, ReturnType = typeof(object))]
368 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
369 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
370 {
372 typeof(int),
373 typeof(int),
374 typeof(bool),
375 typeof(SurfaceFormat),
376 typeof(Texture2D.SurfaceType),
377 typeof(bool),
378 typeof(int)
379 }, ReturnType = typeof(void))]
381 {
382 throw null;
383 }
384
385 [global::Cpp2ILInjected.Token(Token = "0x6001922")]
386 [global::Cpp2ILInjected.Address(RVA = "0xAC6D60", Offset = "0xAC6D60", Length = "0x174")]
387 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
388 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ContentManager), Member = "CreateTextureAssetsWithPal", MemberParameters = new object[]
389 {
390 typeof(object),
391 typeof(object),
392 typeof(object)
393 }, ReturnType = typeof(object))]
394 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
395 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
396 {
397 typeof(global::UnityEngine.Object),
398 typeof(global::UnityEngine.Object)
399 }, ReturnType = typeof(bool))]
400 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
401 {
403 typeof(int),
404 typeof(int),
405 typeof(bool),
406 typeof(SurfaceFormat),
407 typeof(Texture2D.SurfaceType),
408 typeof(bool),
409 typeof(int)
410 }, ReturnType = typeof(void))]
411 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
413 {
414 throw null;
415 }
416
417 [global::Cpp2ILInjected.Token(Token = "0x6001923")]
418 [global::Cpp2ILInjected.Address(RVA = "0xAC6ED4", Offset = "0xAC6ED4", Length = "0xF8")]
419 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
420 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
421 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
422 {
424 typeof(int),
425 typeof(int),
426 typeof(bool),
429 typeof(bool),
430 typeof(int)
431 }, ReturnType = typeof(void))]
432 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogError", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
433 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
434 public Texture2D(Texture2D texture, TextureAtlasEntry entry)
435 {
436 throw null;
437 }
438
439 [global::Cpp2ILInjected.Token(Token = "0x6001924")]
440 [global::Cpp2ILInjected.Address(RVA = "0xAC6FCC", Offset = "0xAC6FCC", Length = "0x118")]
441 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
442 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ContentManager), Member = "LoadTexture2D", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Texture2D))]
443 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
444 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
445 {
447 typeof(int),
448 typeof(int),
449 typeof(bool),
450 typeof(SurfaceFormat),
451 typeof(Texture2D.SurfaceType),
452 typeof(bool),
453 typeof(int)
454 }, ReturnType = typeof(void))]
455 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogError", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
456 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
458 {
459 throw null;
460 }
461
462 [global::Cpp2ILInjected.Token(Token = "0x6001925")]
463 [global::Cpp2ILInjected.Address(RVA = "0xAC70E4", Offset = "0xAC70E4", Length = "0x74")]
464 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
465 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
466 {
467 typeof(int),
468 typeof(int)
469 }, ReturnType = typeof(void))]
470 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
471 private void CreateEmptyTexture(object data)
472 {
473 throw null;
474 }
475
476 [global::Cpp2ILInjected.Token(Token = "0x6001926")]
477 [global::Cpp2ILInjected.Address(RVA = "0xAC7158", Offset = "0xAC7158", Length = "0x134")]
478 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureManager), Member = "Initialize", ReturnType = typeof(void))]
479 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BasicDebugDrawer), Member = ".ctor", MemberParameters = new object[] { typeof(GraphicsDevice) }, ReturnType = typeof(void))]
480 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
481 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
482 {
484 typeof(int),
485 typeof(int),
486 typeof(bool),
487 typeof(SurfaceFormat),
488 typeof(Texture2D.SurfaceType),
489 typeof(bool),
490 typeof(int)
491 }, ReturnType = typeof(void))]
492 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "get_IsMainThread", ReturnType = typeof(bool))]
493 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
494 {
495 typeof(int),
496 typeof(int)
497 }, ReturnType = typeof(void))]
498 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MainThreadExecution.ExecutionSnippet), Member = ".ctor", MemberParameters = new object[]
499 {
500 typeof(object),
502 }, ReturnType = typeof(void))]
503 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MainThreadExecution), Member = "ExecuteOnMainThread", MemberParameters = new object[]
504 {
506 typeof(object)
507 }, ReturnType = typeof(void))]
508 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
509 public Texture2D(GraphicsDevice device, int width, int height)
510 {
511 throw null;
512 }
513
514 [global::Cpp2ILInjected.Token(Token = "0x6001927")]
515 [global::Cpp2ILInjected.Address(RVA = "0xAC728C", Offset = "0xAC728C", Length = "0x28")]
516 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
517 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
518 {
520 typeof(int),
521 typeof(int),
522 typeof(bool),
525 typeof(bool),
526 typeof(int)
527 }, ReturnType = typeof(void))]
528 public Texture2D(GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format)
529 {
530 throw null;
531 }
532
533 [global::Cpp2ILInjected.Token(Token = "0x6001928")]
534 [global::Cpp2ILInjected.Address(RVA = "0xAC72B4", Offset = "0xAC72B4", Length = "0x24")]
535 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
536 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
537 {
539 typeof(int),
540 typeof(int),
541 typeof(bool),
544 typeof(bool),
545 typeof(int)
546 }, ReturnType = typeof(void))]
547 public Texture2D(GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format, int arraySize)
548 {
549 throw null;
550 }
551
552 [global::Cpp2ILInjected.Token(Token = "0x6001929")]
553 [global::Cpp2ILInjected.Address(RVA = "0xAC72D8", Offset = "0xAC72D8", Length = "0x28")]
554 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RenderTarget2D), Member = ".ctor", MemberParameters = new object[]
555 {
557 typeof(int),
558 typeof(int),
559 typeof(bool),
562 typeof(int),
565 }, ReturnType = typeof(void))]
566 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
567 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
568 {
570 typeof(int),
571 typeof(int),
572 typeof(bool),
573 typeof(SurfaceFormat),
574 typeof(Texture2D.SurfaceType),
575 typeof(bool),
576 typeof(int)
577 }, ReturnType = typeof(void))]
578 internal Texture2D(GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format, Texture2D.SurfaceType type)
579 {
580 throw null;
581 }
582
583 [global::Cpp2ILInjected.Token(Token = "0x600192A")]
584 [global::Cpp2ILInjected.Address(RVA = "0xAC68FC", Offset = "0xAC68FC", Length = "0x22C")]
585 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
586 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RenderTarget2D), Member = ".ctor", MemberParameters = new object[]
587 {
589 typeof(int),
590 typeof(int),
591 typeof(bool),
594 typeof(int),
596 typeof(bool),
597 typeof(int)
598 }, ReturnType = typeof(void))]
599 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RenderTarget2D), Member = ".ctor", MemberParameters = new object[]
600 {
602 typeof(int),
603 typeof(int),
604 typeof(bool),
605 typeof(SurfaceFormat),
606 typeof(DepthFormat),
607 typeof(int),
609 typeof(bool)
610 }, ReturnType = typeof(void))]
611 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RenderTarget2D), Member = ".ctor", MemberParameters = new object[]
612 {
614 typeof(int),
615 typeof(int),
616 typeof(bool),
617 typeof(SurfaceFormat),
618 typeof(DepthFormat),
619 typeof(int),
621 }, ReturnType = typeof(void))]
622 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RenderTarget2D), Member = ".ctor", MemberParameters = new object[]
623 {
625 typeof(int),
626 typeof(int),
627 typeof(bool),
628 typeof(SurfaceFormat),
629 typeof(DepthFormat)
630 }, ReturnType = typeof(void))]
631 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RenderTarget2D), Member = ".ctor", MemberParameters = new object[]
632 {
634 typeof(int),
635 typeof(int)
636 }, ReturnType = typeof(void))]
637 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
638 {
639 typeof(string),
640 typeof(int),
641 typeof(int)
642 }, ReturnType = typeof(void))]
643 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[] { typeof(Texture2D) }, ReturnType = typeof(void))]
644 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[] { typeof(RenderTexture) }, ReturnType = typeof(void))]
645 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
646 {
649 }, ReturnType = typeof(void))]
650 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
651 {
655 }, ReturnType = typeof(void))]
656 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
657 {
660 }, ReturnType = typeof(void))]
661 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
662 {
665 }, ReturnType = typeof(void))]
666 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
667 {
669 typeof(int),
670 typeof(int)
671 }, ReturnType = typeof(void))]
672 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
673 {
675 typeof(int),
676 typeof(int),
677 typeof(bool),
678 typeof(SurfaceFormat)
679 }, ReturnType = typeof(void))]
680 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
681 {
683 typeof(int),
684 typeof(int),
685 typeof(bool),
686 typeof(SurfaceFormat),
687 typeof(int)
688 }, ReturnType = typeof(void))]
689 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
690 {
692 typeof(int),
693 typeof(int),
694 typeof(bool),
695 typeof(SurfaceFormat),
696 typeof(Texture2D.SurfaceType)
697 }, ReturnType = typeof(void))]
698 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 16)]
699 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = ".ctor", ReturnType = typeof(void))]
700 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
701 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = "CalculateMipLevels", MemberParameters = new object[]
702 {
703 typeof(int),
704 typeof(int),
705 typeof(int)
706 }, ReturnType = typeof(int))]
707 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
708 {
709 typeof(string),
710 typeof(string)
711 }, ReturnType = typeof(void))]
712 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
713 protected Texture2D(GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format, Texture2D.SurfaceType type, bool shared, int arraySize)
714 {
715 throw null;
716 }
717
718 [global::Cpp2ILInjected.Token(Token = "0x600192B")]
719 [global::Cpp2ILInjected.Address(RVA = "0xAC7300", Offset = "0xAC7300", Length = "0x4")]
720 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
721 public void SaveAsPng(Stream stream, int width, int height)
722 {
723 throw null;
724 }
725
726 [global::Cpp2ILInjected.Token(Token = "0x600192C")]
727 [global::Cpp2ILInjected.Address(RVA = "0x15A0DB4", Offset = "0x15A0DB4", Length = "0x4")]
728 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
729 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
730 public void SetData<T>(T[] data, int start, int length)
731 {
732 throw null;
733 }
734
735 [global::Cpp2ILInjected.Token(Token = "0x600192D")]
736 [global::Cpp2ILInjected.Address(RVA = "0xAC7304", Offset = "0xAC7304", Length = "0x34")]
737 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
738 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
739 private static void ConvertToABGR(int pixelHeight, int pixelWidth, int[] pixels)
740 {
741 throw null;
742 }
743
744 [global::Cpp2ILInjected.Token(Token = "0x4002778")]
745 [global::Cpp2ILInjected.FieldOffset(Offset = "0x3C")]
746 public int UnityWidth;
747
748 [global::Cpp2ILInjected.Token(Token = "0x4002779")]
749 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
750 public int UnityHeight;
751
752 [global::Cpp2ILInjected.Token(Token = "0x400277A")]
753 [global::Cpp2ILInjected.FieldOffset(Offset = "0x44")]
754 public readonly int Width;
755
756 [global::Cpp2ILInjected.Token(Token = "0x400277B")]
757 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
758 public readonly int Height;
759
760 [global::Cpp2ILInjected.Token(Token = "0x400277C")]
761 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4C")]
762 internal int ArraySize;
763
764 [global::Cpp2ILInjected.Token(Token = "0x400277D")]
765 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
766 internal float TexelWidth;
767
768 [global::Cpp2ILInjected.Token(Token = "0x400277E")]
769 [global::Cpp2ILInjected.FieldOffset(Offset = "0x54")]
770 internal float TexelHeight;
771
772 [global::Cpp2ILInjected.Token(Token = "0x400277F")]
773 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
774 public float TextureOffsetScale;
775
776 [global::Cpp2ILInjected.Token(Token = "0x4002780")]
777 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5C")]
778 public bool SharedBatching;
779
780 [global::Cpp2ILInjected.Token(Token = "0x4002781")]
781 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5D")]
783
784 [global::Cpp2ILInjected.Token(Token = "0x4002782")]
785 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
787
788 [global::Cpp2ILInjected.Token(Token = "0x4002783")]
789 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
790 private bool loadRequested;
791
792 [global::Cpp2ILInjected.Token(Token = "0x4002784")]
793 public static bool ignoreLoad;
794
795 [global::Cpp2ILInjected.Token(Token = "0x4002785")]
796 [global::Cpp2ILInjected.FieldOffset(Offset = "0x69")]
797 private bool _textureLoaded;
798
799 [global::Cpp2ILInjected.Token(Token = "0x4002786")]
800 [global::Cpp2ILInjected.FieldOffset(Offset = "0x70")]
802
803 [global::Cpp2ILInjected.Token(Token = "0x4002787")]
804 [global::Cpp2ILInjected.FieldOffset(Offset = "0x78")]
806
807 [global::Cpp2ILInjected.Token(Token = "0x4002788")]
808 [global::Cpp2ILInjected.FieldOffset(Offset = "0x80")]
810
811 [global::Cpp2ILInjected.Token(Token = "0x4002789")]
812 [global::Cpp2ILInjected.FieldOffset(Offset = "0x88")]
814
815 [global::Cpp2ILInjected.Token(Token = "0x400278A")]
816 [global::Cpp2ILInjected.FieldOffset(Offset = "0x90")]
818
819 [global::Cpp2ILInjected.Token(Token = "0x400278B")]
820 private static int _nextTextureId;
821
822 [global::Cpp2ILInjected.Token(Token = "0x400278C")]
823 [global::Cpp2ILInjected.FieldOffset(Offset = "0x98")]
825
826 [global::Cpp2ILInjected.Token(Token = "0x400278D")]
827 [global::Cpp2ILInjected.FieldOffset(Offset = "0x9C")]
829
830 [global::Cpp2ILInjected.Token(Token = "0x400278E")]
831 [global::Cpp2ILInjected.FieldOffset(Offset = "0xA0")]
832 private string _sourceLoadAsset;
833
834 [global::Cpp2ILInjected.Token(Token = "0x20003AB")]
835 protected internal enum SurfaceType
836 {
837 [global::Cpp2ILInjected.Token(Token = "0x4002790")]
838 Texture,
839 [global::Cpp2ILInjected.Token(Token = "0x4002791")]
841 [global::Cpp2ILInjected.Token(Token = "0x4002792")]
843 }
844
845 [global::Cpp2ILInjected.Token(Token = "0x20003AC")]
847 }
848}
class f__AnonymousType0<< Count > j__TPar
delegate void ExecutionSnippet(object data)
delegate Texture2D TextureLoader(int data)
static void ConvertToABGR(int pixelHeight, int pixelWidth, int[] pixels)
Definition Texture2D.cs:739
void SaveAsPng(Stream stream, int width, int height)
Definition Texture2D.cs:721
Texture2D(Texture2D texture, Texture2D texture2)
Definition Texture2D.cs:380
Texture2D(Texture2D texture, Texture2D texture2, Texture2D texture3)
Definition Texture2D.cs:412
Texture2D(TextureAtlasDB textureAtlas, TextureAtlasEntry entry)
Definition Texture2D.cs:457
Texture2D(GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format, Texture2D.SurfaceType type)
Definition Texture2D.cs:578
Texture2D(GraphicsDevice device, int width, int height)
Definition Texture2D.cs:509
Texture2D(Texture2D texture, TextureAtlasEntry entry)
Definition Texture2D.cs:434
Texture2D(GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format)
Definition Texture2D.cs:528
void SetData< T >(T[] data, int start, int length)
Definition Texture2D.cs:730
Texture2D(string sourceAsset, int width, int height)
Definition Texture2D.cs:305
Texture2D(GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format, Texture2D.SurfaceType type, bool shared, int arraySize)
Definition Texture2D.cs:713
Texture2D(GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format, int arraySize)
Definition Texture2D.cs:547
void LoadCallback(Texture2D tex0, Texture2D tex1, Texture2D tex2, int page)
Definition Texture2D.cs:67