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
Texture.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x20003A9")]
9 public abstract class Texture : GraphicsResource
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x1700034B")]
12 internal int SortingKey
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x6001908")]
15 [global::Cpp2ILInjected.Address(RVA = "0xAC5CD4", Offset = "0xAC5CD4", Length = "0x8")]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
17 get
18 {
19 throw null;
20 }
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x1700034C")]
25 {
26 [global::Cpp2ILInjected.Token(Token = "0x6001909")]
27 [global::Cpp2ILInjected.Address(RVA = "0xAC5CDC", Offset = "0xAC5CDC", Length = "0x8")]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 get
30 {
31 throw null;
32 }
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x1700034D")]
36 public int LevelCount
37 {
38 [global::Cpp2ILInjected.Token(Token = "0x600190A")]
39 [global::Cpp2ILInjected.Address(RVA = "0xAC5CE4", Offset = "0xAC5CE4", Length = "0x8")]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
41 get
42 {
43 throw null;
44 }
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x600190B")]
48 [global::Cpp2ILInjected.Address(RVA = "0xAC5CEC", Offset = "0xAC5CEC", Length = "0xAC")]
49 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
51 {
53 typeof(int),
54 typeof(int),
55 typeof(bool),
58 typeof(bool),
59 typeof(int)
60 }, ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
63 {
64 typeof(int),
65 typeof(int)
66 }, ReturnType = typeof(int))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
68 internal static int CalculateMipLevels(int width, int height = 0, int depth = 0)
69 {
70 throw null;
71 }
72
73 [global::Cpp2ILInjected.Token(Token = "0x600190C")]
74 [global::Cpp2ILInjected.Address(RVA = "0xAC5D98", Offset = "0xAC5D98", Length = "0x74")]
75 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
76 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
77 internal static void GetSizeForLevel(int width, int height, int level, out int w, out int h)
78 {
79 throw null;
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x600190D")]
83 [global::Cpp2ILInjected.Address(RVA = "0xAC5E0C", Offset = "0xAC5E0C", Length = "0x98")]
84 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
86 internal static void GetSizeForLevel(int width, int height, int depth, int level, out int w, out int h, out int d)
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x600190E")]
92 [global::Cpp2ILInjected.Address(RVA = "0xAC5EA4", Offset = "0xAC5EA4", Length = "0x94")]
93 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsExtensions), Member = "GetSize", MemberParameters = new object[] { typeof(SurfaceFormat) }, ReturnType = typeof(int))]
96 internal int GetPitch(int width)
97 {
98 throw null;
99 }
100
101 [global::Cpp2ILInjected.Token(Token = "0x600190F")]
102 [global::Cpp2ILInjected.Address(RVA = "0xAC5F38", Offset = "0xAC5F38", Length = "0x4")]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RenderTarget2D), Member = "GraphicsDeviceResetting", ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
105 protected internal override void GraphicsDeviceResetting()
106 {
107 throw null;
108 }
109
110 [global::Cpp2ILInjected.Token(Token = "0x6001910")]
111 [global::Cpp2ILInjected.Address(RVA = "0xAC5F3C", Offset = "0xAC5F3C", Length = "0x5C")]
112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = ".ctor", MemberParameters = new object[]
113 {
115 typeof(int),
116 typeof(int),
117 typeof(bool),
120 typeof(bool),
121 typeof(int)
122 }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interlocked), Member = "Increment", MemberParameters = new object[] { typeof(ref int) }, ReturnType = typeof(int))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsResource), Member = ".ctor", ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
127 protected Texture()
128 {
129 throw null;
130 }
131
132 [global::Cpp2ILInjected.Token(Token = "0x4002774")]
133 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
135
136 [global::Cpp2ILInjected.Token(Token = "0x4002775")]
137 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
138 internal int _levelCount;
139
140 [global::Cpp2ILInjected.Token(Token = "0x4002776")]
141 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
143
144 [global::Cpp2ILInjected.Token(Token = "0x4002777")]
145 private static int _lastSortingKey;
146 }
147}
class f__AnonymousType0<< Count > j__TPar
static int CalculateMipLevels(int width, int height=0, int depth=0)
Definition Texture.cs:68
static void GetSizeForLevel(int width, int height, int depth, int level, out int w, out int h, out int d)
Definition Texture.cs:86
static void GetSizeForLevel(int width, int height, int level, out int w, out int h)
Definition Texture.cs:77