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
Texture3D.cs
Go to the documentation of this file.
1using System;
9
10namespace UnityEngine
11{
13 [NativeHeader("Runtime/Graphics/Texture3D.h")]
14 [global::Cpp2ILInjected.Token(Token = "0x200004D")]
15 public sealed class Texture3D : Texture
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x17000038")]
18 public override extern bool isReadable
19 {
20 [global::Cpp2ILInjected.Token(Token = "0x6000131")]
21 [global::Cpp2ILInjected.Address(RVA = "0x1F70DCC", Offset = "0x1F70DCC", Length = "0x3C")]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
24 [MethodImpl(4096)]
25 get;
26 }
27
28 [FreeFunction("Texture3DScripting::Create")]
29 [global::Cpp2ILInjected.Token(Token = "0x6000132")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1F70E08", Offset = "0x1F70E08", Length = "0x8C")]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
33 [MethodImpl(4096)]
34 private static extern bool Internal_CreateImpl([Writable] Texture3D mono, int w, int h, int d, int mipCount, GraphicsFormat format, TextureCreationFlags flags, IntPtr nativeTex);
35
36 [global::Cpp2ILInjected.Token(Token = "0x6000133")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1F70E94", Offset = "0x1F70E94", Length = "0xD8")]
38 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture3D), Member = ".ctor", MemberParameters = new object[]
40 {
41 typeof(int),
42 typeof(int),
43 typeof(int),
46 typeof(int)
47 }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture3D), Member = ".ctor", MemberParameters = new object[]
49 {
50 typeof(int),
51 typeof(int),
52 typeof(int),
54 typeof(int)
55 }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture3D), Member = ".ctor", MemberParameters = new object[]
57 {
58 typeof(int),
59 typeof(int),
60 typeof(int),
62 typeof(int),
64 }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
68 private static void Internal_Create([Writable] Texture3D mono, int w, int h, int d, int mipCount, GraphicsFormat format, TextureCreationFlags flags, IntPtr nativeTex)
69 {
70 throw null;
71 }
72
74 [global::Cpp2ILInjected.Token(Token = "0x6000134")]
75 [global::Cpp2ILInjected.Address(RVA = "0x1F70F6C", Offset = "0x1F70F6C", Length = "0x7C")]
76 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
78 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
79 public Texture3D(int width, int height, int depth, DefaultFormat format, TextureCreationFlags flags)
80 {
81 throw null;
82 }
83
86 [global::Cpp2ILInjected.Token(Token = "0x6000135")]
87 [global::Cpp2ILInjected.Address(RVA = "0x1F70FE8", Offset = "0x1F70FE8", Length = "0xA0")]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
90 public Texture3D(int width, int height, int depth, GraphicsFormat format, TextureCreationFlags flags)
91 {
92 throw null;
93 }
94
96 [global::Cpp2ILInjected.Token(Token = "0x6000136")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1F71088", Offset = "0x1F71088", Length = "0xEC")]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = ".ctor", ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = "ValidateFormat", MemberParameters = new object[]
101 {
104 }, ReturnType = typeof(bool))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture3D), Member = "ValidateIsNotCrunched", MemberParameters = new object[] { typeof(TextureCreationFlags) }, ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture3D), Member = "Internal_Create", MemberParameters = new object[]
107 {
109 typeof(int),
110 typeof(int),
111 typeof(int),
112 typeof(int),
116 }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
118 public Texture3D(int width, int height, int depth, GraphicsFormat format, TextureCreationFlags flags, [DefaultValue("-1")] int mipCount)
119 {
120 throw null;
121 }
122
124 [global::Cpp2ILInjected.Token(Token = "0x6000137")]
125 [global::Cpp2ILInjected.Address(RVA = "0x1F711C8", Offset = "0x1F711C8", Length = "0x14C")]
126 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
127 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture3D), Member = ".ctor", MemberParameters = new object[]
128 {
129 typeof(int),
130 typeof(int),
131 typeof(int),
133 typeof(bool)
134 }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = ".ctor", ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = "ValidateFormat", MemberParameters = new object[] { typeof(TextureFormat) }, ReturnType = typeof(bool))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsFormatUtility), Member = "GetGraphicsFormat", MemberParameters = new object[]
139 {
141 typeof(bool)
142 }, ReturnType = typeof(GraphicsFormat))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsFormatUtility), Member = "IsCrunchFormat", MemberParameters = new object[] { typeof(TextureFormat) }, ReturnType = typeof(bool))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture3D), Member = "ValidateIsNotCrunched", MemberParameters = new object[] { typeof(TextureCreationFlags) }, ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture3D), Member = "Internal_Create", MemberParameters = new object[]
146 {
148 typeof(int),
149 typeof(int),
150 typeof(int),
151 typeof(int),
155 }, ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
157 public Texture3D(int width, int height, int depth, TextureFormat textureFormat, int mipCount)
158 {
159 throw null;
160 }
161
162 [global::Cpp2ILInjected.Token(Token = "0x6000138")]
163 [global::Cpp2ILInjected.Address(RVA = "0x1F71314", Offset = "0x1F71314", Length = "0x134")]
164 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
165 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture3D), Member = ".ctor", MemberParameters = new object[]
166 {
167 typeof(int),
168 typeof(int),
169 typeof(int),
171 typeof(bool),
173 }, ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = ".ctor", ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = "ValidateFormat", MemberParameters = new object[] { typeof(TextureFormat) }, ReturnType = typeof(bool))]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsFormatUtility), Member = "GetGraphicsFormat", MemberParameters = new object[]
178 {
180 typeof(bool)
181 }, ReturnType = typeof(GraphicsFormat))]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsFormatUtility), Member = "IsCrunchFormat", MemberParameters = new object[] { typeof(TextureFormat) }, ReturnType = typeof(bool))]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture3D), Member = "ValidateIsNotCrunched", MemberParameters = new object[] { typeof(TextureCreationFlags) }, ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture3D), Member = "Internal_Create", MemberParameters = new object[]
185 {
187 typeof(int),
188 typeof(int),
189 typeof(int),
190 typeof(int),
194 }, ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
196 public Texture3D(int width, int height, int depth, TextureFormat textureFormat, int mipCount, [DefaultValue("IntPtr.Zero")] IntPtr nativeTex)
197 {
198 throw null;
199 }
200
202 [global::Cpp2ILInjected.Token(Token = "0x6000139")]
203 [global::Cpp2ILInjected.Address(RVA = "0x1F71448", Offset = "0x1F71448", Length = "0x10")]
204 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
205 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture3D), Member = ".ctor", MemberParameters = new object[]
207 {
208 typeof(int),
209 typeof(int),
210 typeof(int),
212 typeof(int)
213 }, ReturnType = typeof(void))]
214 public Texture3D(int width, int height, int depth, TextureFormat textureFormat, bool mipChain)
215 {
216 throw null;
217 }
218
219 [global::Cpp2ILInjected.Token(Token = "0x600013A")]
220 [global::Cpp2ILInjected.Address(RVA = "0x1F71458", Offset = "0x1F71458", Length = "0x10")]
221 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
222 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture3D), Member = ".ctor", MemberParameters = new object[]
224 {
225 typeof(int),
226 typeof(int),
227 typeof(int),
229 typeof(int),
231 }, ReturnType = typeof(void))]
232 public Texture3D(int width, int height, int depth, TextureFormat textureFormat, bool mipChain, [DefaultValue("IntPtr.Zero")] IntPtr nativeTex)
233 {
234 throw null;
235 }
236
237 [global::Cpp2ILInjected.Token(Token = "0x600013B")]
238 [global::Cpp2ILInjected.Address(RVA = "0x1F71174", Offset = "0x1F71174", Length = "0x54")]
239 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture3D), Member = ".ctor", MemberParameters = new object[]
240 {
241 typeof(int),
242 typeof(int),
243 typeof(int),
246 typeof(int)
247 }, ReturnType = typeof(void))]
248 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture3D), Member = ".ctor", MemberParameters = new object[]
249 {
250 typeof(int),
251 typeof(int),
252 typeof(int),
254 typeof(int)
255 }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture3D), Member = ".ctor", MemberParameters = new object[]
257 {
258 typeof(int),
259 typeof(int),
260 typeof(int),
262 typeof(int),
264 }, ReturnType = typeof(void))]
265 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
266 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
267 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
269 {
270 throw null;
271 }
272 }
273}
class f__AnonymousType0<< Count > j__TPar
Texture3D(int width, int height, int depth, GraphicsFormat format, TextureCreationFlags flags)
Definition Texture3D.cs:90
static void Internal_Create([Writable] Texture3D mono, int w, int h, int d, int mipCount, GraphicsFormat format, TextureCreationFlags flags, IntPtr nativeTex)
Definition Texture3D.cs:68
Texture3D(int width, int height, int depth, TextureFormat textureFormat, bool mipChain)
Definition Texture3D.cs:214
Texture3D(int width, int height, int depth, TextureFormat textureFormat, int mipCount, [DefaultValue("IntPtr.Zero")] IntPtr nativeTex)
Definition Texture3D.cs:196
Texture3D(int width, int height, int depth, TextureFormat textureFormat, int mipCount)
Definition Texture3D.cs:157
Texture3D(int width, int height, int depth, TextureFormat textureFormat, bool mipChain, [DefaultValue("IntPtr.Zero")] IntPtr nativeTex)
Definition Texture3D.cs:232
Texture3D(int width, int height, int depth, DefaultFormat format, TextureCreationFlags flags)
Definition Texture3D.cs:79
override bool isReadable
Definition Texture3D.cs:19
static void ValidateIsNotCrunched(TextureCreationFlags flags)
Definition Texture3D.cs:268
Texture3D(int width, int height, int depth, GraphicsFormat format, TextureCreationFlags flags, [DefaultValue("-1")] int mipCount)
Definition Texture3D.cs:118
static bool Internal_CreateImpl([Writable] Texture3D mono, int w, int h, int d, int mipCount, GraphicsFormat format, TextureCreationFlags flags, IntPtr nativeTex)
virtual int width
Definition Texture.cs:167
virtual int height
Definition Texture.cs:189