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
CubemapArray.cs
Go to the documentation of this file.
1using System;
9
10namespace UnityEngine
11{
12 [NativeHeader("Runtime/Graphics/CubemapArrayTexture.h")]
14 [global::Cpp2ILInjected.Token(Token = "0x200004F")]
15 public sealed class CubemapArray : Texture
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x1700003A")]
18 public override extern bool isReadable
19 {
20 [global::Cpp2ILInjected.Token(Token = "0x6000148")]
21 [global::Cpp2ILInjected.Address(RVA = "0x1F71BB8", Offset = "0x1F71BB8", 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("CubemapArrayScripting::Create")]
29 [global::Cpp2ILInjected.Token(Token = "0x6000149")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1F71BF4", Offset = "0x1F71BF4", Length = "0x74")]
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] CubemapArray mono, int ext, int count, int mipCount, GraphicsFormat format, TextureCreationFlags flags);
35
36 [global::Cpp2ILInjected.Token(Token = "0x600014A")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1F71C68", Offset = "0x1F71C68", Length = "0xC0")]
38 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CubemapArray), Member = ".ctor", MemberParameters = new object[]
40 {
41 typeof(int),
42 typeof(int),
45 typeof(int)
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CubemapArray), Member = ".ctor", MemberParameters = new object[]
48 {
49 typeof(int),
50 typeof(int),
52 typeof(int),
53 typeof(bool)
54 }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
58 private static void Internal_Create([Writable] CubemapArray mono, int ext, int count, int mipCount, GraphicsFormat format, TextureCreationFlags flags)
59 {
60 throw null;
61 }
62
64 [global::Cpp2ILInjected.Token(Token = "0x600014B")]
65 [global::Cpp2ILInjected.Address(RVA = "0x1F71D28", Offset = "0x1F71D28", Length = "0x74")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
68 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
70 {
71 throw null;
72 }
73
76 [global::Cpp2ILInjected.Token(Token = "0x600014C")]
77 [global::Cpp2ILInjected.Address(RVA = "0x1F71D9C", Offset = "0x1F71D9C", Length = "0x90")]
78 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
79 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
81 {
82 throw null;
83 }
84
86 [global::Cpp2ILInjected.Token(Token = "0x600014D")]
87 [global::Cpp2ILInjected.Address(RVA = "0x1F71E2C", Offset = "0x1F71E2C", Length = "0xD0")]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = ".ctor", ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = "ValidateFormat", MemberParameters = new object[]
91 {
94 }, ReturnType = typeof(bool))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CubemapArray), Member = "ValidateIsNotCrunched", MemberParameters = new object[] { typeof(TextureCreationFlags) }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CubemapArray), Member = "Internal_Create", MemberParameters = new object[]
97 {
99 typeof(int),
100 typeof(int),
101 typeof(int),
104 }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
106 public CubemapArray(int width, int cubemapCount, GraphicsFormat format, TextureCreationFlags flags, [DefaultValue("-1")] int mipCount)
107 {
108 throw null;
109 }
110
111 [global::Cpp2ILInjected.Token(Token = "0x600014E")]
112 [global::Cpp2ILInjected.Address(RVA = "0x1F71F50", Offset = "0x1F71F50", Length = "0x138")]
113 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CubemapArray), Member = ".ctor", MemberParameters = new object[]
115 {
116 typeof(int),
117 typeof(int),
119 typeof(bool),
120 typeof(bool)
121 }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CubemapArray), Member = ".ctor", MemberParameters = new object[]
123 {
124 typeof(int),
125 typeof(int),
127 typeof(bool)
128 }, ReturnType = typeof(void))]
129 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = ".ctor", ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture), Member = "ValidateFormat", MemberParameters = new object[] { typeof(TextureFormat) }, ReturnType = typeof(bool))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsFormatUtility), Member = "GetGraphicsFormat", MemberParameters = new object[]
133 {
135 typeof(bool)
136 }, ReturnType = typeof(GraphicsFormat))]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsFormatUtility), Member = "IsCrunchFormat", MemberParameters = new object[] { typeof(TextureFormat) }, ReturnType = typeof(bool))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CubemapArray), Member = "ValidateIsNotCrunched", MemberParameters = new object[] { typeof(TextureCreationFlags) }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CubemapArray), Member = "Internal_Create", MemberParameters = new object[]
140 {
142 typeof(int),
143 typeof(int),
144 typeof(int),
147 }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
150 {
151 throw null;
152 }
153
154 [global::Cpp2ILInjected.Token(Token = "0x600014F")]
155 [global::Cpp2ILInjected.Address(RVA = "0x1F72088", Offset = "0x1F72088", Length = "0x14")]
156 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CubemapArray), Member = ".ctor", MemberParameters = new object[]
159 {
160 typeof(int),
161 typeof(int),
163 typeof(int),
164 typeof(bool)
165 }, ReturnType = typeof(void))]
166 public CubemapArray(int width, int cubemapCount, TextureFormat textureFormat, bool mipChain, [DefaultValue("false")] bool linear)
167 {
168 throw null;
169 }
170
172 [global::Cpp2ILInjected.Token(Token = "0x6000150")]
173 [global::Cpp2ILInjected.Address(RVA = "0x1F7209C", Offset = "0x1F7209C", Length = "0x14")]
174 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
175 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CubemapArray), Member = ".ctor", MemberParameters = new object[]
177 {
178 typeof(int),
179 typeof(int),
181 typeof(int),
182 typeof(bool)
183 }, ReturnType = typeof(void))]
185 {
186 throw null;
187 }
188
189 [global::Cpp2ILInjected.Token(Token = "0x6000151")]
190 [global::Cpp2ILInjected.Address(RVA = "0x1F71EFC", Offset = "0x1F71EFC", Length = "0x54")]
191 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CubemapArray), Member = ".ctor", MemberParameters = new object[]
192 {
193 typeof(int),
194 typeof(int),
197 typeof(int)
198 }, ReturnType = typeof(void))]
199 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CubemapArray), Member = ".ctor", MemberParameters = new object[]
200 {
201 typeof(int),
202 typeof(int),
204 typeof(int),
205 typeof(bool)
206 }, ReturnType = typeof(void))]
207 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
211 {
212 throw null;
213 }
214 }
215}
class f__AnonymousType0<< Count > j__TPar
static bool Internal_CreateImpl([Writable] CubemapArray mono, int ext, int count, int mipCount, GraphicsFormat format, TextureCreationFlags flags)
static void Internal_Create([Writable] CubemapArray mono, int ext, int count, int mipCount, GraphicsFormat format, TextureCreationFlags flags)
static void ValidateIsNotCrunched(TextureCreationFlags flags)
CubemapArray(int width, int cubemapCount, TextureFormat textureFormat, bool mipChain)
CubemapArray(int width, int cubemapCount, GraphicsFormat format, TextureCreationFlags flags, [DefaultValue("-1")] int mipCount)
CubemapArray(int width, int cubemapCount, DefaultFormat format, TextureCreationFlags flags)
CubemapArray(int width, int cubemapCount, TextureFormat textureFormat, int mipCount, bool linear)
CubemapArray(int width, int cubemapCount, TextureFormat textureFormat, bool mipChain, [DefaultValue("false")] bool linear)
CubemapArray(int width, int cubemapCount, GraphicsFormat format, TextureCreationFlags flags)
virtual int width
Definition Texture.cs:167