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
Texture2DArray.cs
Go to the documentation of this file.
1using System;
9
10namespace UnityEngine
11{
12 [NativeHeader("Runtime/Graphics/Texture2DArray.h")]
13 [global::Cpp2ILInjected.Token(Token = "0x200004E")]
14 public sealed class Texture2DArray : Texture
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x17000039")]
17 public override extern bool isReadable
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x600013C")]
20 [global::Cpp2ILInjected.Address(RVA = "0x1F71468", Offset = "0x1F71468", Length = "0x3C")]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
22 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
23 [MethodImpl(4096)]
24 get;
25 }
26
27 [FreeFunction("Texture2DArrayScripting::Create")]
28 [global::Cpp2ILInjected.Token(Token = "0x600013D")]
29 [global::Cpp2ILInjected.Address(RVA = "0x1F714A4", Offset = "0x1F714A4", Length = "0x84")]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
31 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
32 [MethodImpl(4096)]
33 private static extern bool Internal_CreateImpl([Writable] Texture2DArray mono, int w, int h, int d, int mipCount, GraphicsFormat format, TextureCreationFlags flags);
34
35 [global::Cpp2ILInjected.Token(Token = "0x600013E")]
36 [global::Cpp2ILInjected.Address(RVA = "0x1F71528", Offset = "0x1F71528", Length = "0xD0")]
37 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2DArray), Member = ".ctor", MemberParameters = new object[]
39 {
40 typeof(int),
41 typeof(int),
42 typeof(int),
45 typeof(int)
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2DArray), Member = ".ctor", MemberParameters = new object[]
48 {
49 typeof(int),
50 typeof(int),
51 typeof(int),
53 typeof(int),
54 typeof(bool)
55 }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
59 private static void Internal_Create([Writable] Texture2DArray mono, int w, int h, int d, int mipCount, GraphicsFormat format, TextureCreationFlags flags)
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x600013F")]
65 [global::Cpp2ILInjected.Address(RVA = "0x1F715F8", Offset = "0x1F715F8", Length = "0xDC")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2DArray), Member = ".ctor", MemberParameters = new object[]
68 {
69 typeof(int),
70 typeof(int),
71 typeof(int),
73 typeof(int),
74 typeof(bool)
75 }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = "ValidateFormat", MemberParameters = new object[] { typeof(TextureFormat) }, ReturnType = typeof(bool))]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Mathf), Member = "IsPowerOfTwo", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enum), Member = "ToString", ReturnType = typeof(string))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
81 {
82 typeof(string),
83 typeof(object)
84 }, ReturnType = typeof(string))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
88 {
89 throw null;
90 }
91
92 [global::Cpp2ILInjected.Token(Token = "0x6000140")]
93 [global::Cpp2ILInjected.Address(RVA = "0x1F716D4", Offset = "0x1F716D4", Length = "0x128")]
94 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2DArray), Member = ".ctor", MemberParameters = new object[]
96 {
97 typeof(int),
98 typeof(int),
99 typeof(int),
102 typeof(int)
103 }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = "ValidateFormat", MemberParameters = new object[]
106 {
109 }, ReturnType = typeof(bool))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsFormatUtility), Member = "IsPVRTCFormat", MemberParameters = new object[] { typeof(GraphicsFormat) }, ReturnType = typeof(bool))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Mathf), Member = "IsPowerOfTwo", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enum), Member = "ToString", ReturnType = typeof(string))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
114 {
115 typeof(string),
116 typeof(object)
117 }, ReturnType = typeof(string))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
121 {
122 throw null;
123 }
124
126 [global::Cpp2ILInjected.Token(Token = "0x6000141")]
127 [global::Cpp2ILInjected.Address(RVA = "0x1F717FC", Offset = "0x1F717FC", Length = "0x7C")]
128 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
129 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
130 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
132 {
133 throw null;
134 }
135
138 [global::Cpp2ILInjected.Token(Token = "0x6000142")]
139 [global::Cpp2ILInjected.Address(RVA = "0x1F71878", Offset = "0x1F71878", Length = "0xA0")]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
143 {
144 throw null;
145 }
146
148 [global::Cpp2ILInjected.Token(Token = "0x6000143")]
149 [global::Cpp2ILInjected.Address(RVA = "0x1F71918", Offset = "0x1F71918", Length = "0xDC")]
150 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = ".ctor", ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2DArray), Member = "ValidateFormat", MemberParameters = new object[]
153 {
155 typeof(int),
156 typeof(int)
157 }, ReturnType = typeof(bool))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2DArray), Member = "ValidateIsNotCrunched", MemberParameters = new object[] { typeof(TextureCreationFlags) }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2DArray), Member = "Internal_Create", MemberParameters = new object[]
160 {
162 typeof(int),
163 typeof(int),
164 typeof(int),
165 typeof(int),
168 }, ReturnType = typeof(void))]
169 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
171 {
172 throw null;
173 }
174
175 [global::Cpp2ILInjected.Token(Token = "0x6000144")]
176 [global::Cpp2ILInjected.Address(RVA = "0x1F71A48", Offset = "0x1F71A48", Length = "0x148")]
177 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
178 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2DArray), Member = ".ctor", MemberParameters = new object[]
179 {
180 typeof(int),
181 typeof(int),
182 typeof(int),
184 typeof(bool),
185 typeof(bool)
186 }, ReturnType = typeof(void))]
187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2DArray), Member = ".ctor", MemberParameters = new object[]
188 {
189 typeof(int),
190 typeof(int),
191 typeof(int),
193 typeof(bool)
194 }, ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = ".ctor", ReturnType = typeof(void))]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2DArray), Member = "ValidateFormat", MemberParameters = new object[]
198 {
200 typeof(int),
201 typeof(int)
202 }, ReturnType = typeof(bool))]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsFormatUtility), Member = "GetGraphicsFormat", MemberParameters = new object[]
204 {
206 typeof(bool)
207 }, ReturnType = typeof(GraphicsFormat))]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsFormatUtility), Member = "IsCrunchFormat", MemberParameters = new object[] { typeof(TextureFormat) }, ReturnType = typeof(bool))]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2DArray), Member = "ValidateIsNotCrunched", MemberParameters = new object[] { typeof(TextureCreationFlags) }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2DArray), Member = "Internal_Create", MemberParameters = new object[]
211 {
213 typeof(int),
214 typeof(int),
215 typeof(int),
216 typeof(int),
219 }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
221 public Texture2DArray(int width, int height, int depth, TextureFormat textureFormat, int mipCount, bool linear)
222 {
223 throw null;
224 }
225
226 [global::Cpp2ILInjected.Token(Token = "0x6000145")]
227 [global::Cpp2ILInjected.Address(RVA = "0x1F71B90", Offset = "0x1F71B90", Length = "0x14")]
228 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
229 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
230 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2DArray), Member = ".ctor", MemberParameters = new object[]
231 {
232 typeof(int),
233 typeof(int),
234 typeof(int),
236 typeof(int),
237 typeof(bool)
238 }, ReturnType = typeof(void))]
239 public Texture2DArray(int width, int height, int depth, TextureFormat textureFormat, bool mipChain, [DefaultValue("false")] bool linear)
240 {
241 throw null;
242 }
243
245 [global::Cpp2ILInjected.Token(Token = "0x6000146")]
246 [global::Cpp2ILInjected.Address(RVA = "0x1F71BA4", Offset = "0x1F71BA4", Length = "0x14")]
247 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
248 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
249 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2DArray), Member = ".ctor", MemberParameters = new object[]
250 {
251 typeof(int),
252 typeof(int),
253 typeof(int),
255 typeof(int),
256 typeof(bool)
257 }, ReturnType = typeof(void))]
259 {
260 throw null;
261 }
262
263 [global::Cpp2ILInjected.Token(Token = "0x6000147")]
264 [global::Cpp2ILInjected.Address(RVA = "0x1F719F4", Offset = "0x1F719F4", Length = "0x54")]
265 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2DArray), Member = ".ctor", MemberParameters = new object[]
266 {
267 typeof(int),
268 typeof(int),
269 typeof(int),
272 typeof(int)
273 }, ReturnType = typeof(void))]
274 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2DArray), Member = ".ctor", MemberParameters = new object[]
275 {
276 typeof(int),
277 typeof(int),
278 typeof(int),
280 typeof(int),
281 typeof(bool)
282 }, ReturnType = typeof(void))]
283 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
284 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
285 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
287 {
288 throw null;
289 }
290 }
291}
class f__AnonymousType0<< Count > j__TPar
Texture2DArray(int width, int height, int depth, GraphicsFormat format, TextureCreationFlags flags)
static bool Internal_CreateImpl([Writable] Texture2DArray mono, int w, int h, int d, int mipCount, GraphicsFormat format, TextureCreationFlags flags)
Texture2DArray(int width, int height, int depth, TextureFormat textureFormat, bool mipChain)
static void ValidateIsNotCrunched(TextureCreationFlags flags)
bool ValidateFormat(TextureFormat format, int width, int height)
Texture2DArray(int width, int height, int depth, GraphicsFormat format, TextureCreationFlags flags, int mipCount)
Texture2DArray(int width, int height, int depth, DefaultFormat format, TextureCreationFlags flags)
Texture2DArray(int width, int height, int depth, TextureFormat textureFormat, bool mipChain, [DefaultValue("false")] bool linear)
bool ValidateFormat(GraphicsFormat format, int width, int height)
static void Internal_Create([Writable] Texture2DArray mono, int w, int h, int d, int mipCount, GraphicsFormat format, TextureCreationFlags flags)
Texture2DArray(int width, int height, int depth, TextureFormat textureFormat, int mipCount, bool linear)
virtual int width
Definition Texture.cs:167
virtual int height
Definition Texture.cs:189