terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Texture2DArray.cs
Go to the documentation of this file.
1using System;
6
7namespace UnityEngine
8{
9 // Token: 0x0200004E RID: 78
10 [NativeHeader("Runtime/Graphics/Texture2DArray.h")]
11 public sealed class Texture2DArray : Texture
12 {
13 // Token: 0x17000039 RID: 57
14 // (get) Token: 0x0600013C RID: 316 RVA: 0x00003B44 File Offset: 0x00001D44
15 public override bool isReadable
16 {
17 get
18 {
19 throw new MissingMethodException();
20 }
21 }
22
23 // Token: 0x0600013D RID: 317 RVA: 0x00003B58 File Offset: 0x00001D58
24 [FreeFunction("Texture2DArrayScripting::Create")]
25 private static bool Internal_CreateImpl([Writable] Texture2DArray mono, int w, int h, int d, int mipCount, GraphicsFormat format, TextureCreationFlags flags)
26 {
27 throw new MissingMethodException();
28 }
29
30 // Token: 0x0600013E RID: 318 RVA: 0x00003B6C File Offset: 0x00001D6C
31 private static void Internal_Create([Writable] Texture2DArray mono, int w, int h, int d, int mipCount, GraphicsFormat format, TextureCreationFlags flags)
32 {
33 throw new MissingMethodException();
34 }
35
36 // Token: 0x0600013F RID: 319 RVA: 0x00003B80 File Offset: 0x00001D80
38 {
39 bool flag = base.ValidateFormat(format);
40 return Mathf.IsPowerOfTwo(width);
41 }
42
43 // Token: 0x06000140 RID: 320 RVA: 0x00003BA8 File Offset: 0x00001DA8
45 {
47 return Mathf.IsPowerOfTwo(width);
48 }
49
50 // Token: 0x06000141 RID: 321 RVA: 0x00003BD0 File Offset: 0x00001DD0
53 {
54 throw new MissingMethodException();
55 }
56
57 // Token: 0x06000142 RID: 322 RVA: 0x00003BE4 File Offset: 0x00001DE4
61 {
62 if (!true)
63 {
64 }
65 }
66
67 // Token: 0x06000143 RID: 323 RVA: 0x00003BF4 File Offset: 0x00001DF4
70 {
71 if (!true)
72 {
73 }
74 base..ctor();
75 bool flag = this.ValidateFormat(format, width, height);
78 }
79
80 // Token: 0x06000144 RID: 324 RVA: 0x00003C2C File Offset: 0x00001E2C
81 public Texture2DArray(int width, int height, int depth, TextureFormat textureFormat, int mipCount, bool linear)
82 {
83 if (!true)
84 {
85 }
86 bool flag = this.ValidateFormat(textureFormat, width, height);
87 if (!true)
88 {
89 }
90 if (!true)
91 {
92 }
94 }
95
96 // Token: 0x06000145 RID: 325 RVA: 0x00003C58 File Offset: 0x00001E58
97 public Texture2DArray(int width, int height, int depth, TextureFormat textureFormat, bool mipChain, [DefaultValue("false")] bool linear)
98 {
99 }
100
101 // Token: 0x06000146 RID: 326 RVA: 0x00003C68 File Offset: 0x00001E68
104 {
105 }
106
107 // Token: 0x06000147 RID: 327 RVA: 0x00003C78 File Offset: 0x00001E78
109 {
110 }
111 }
112}
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:41
virtual int height
Definition Texture.cs:56
static bool IsPowerOfTwo(int value)
Definition Mathf.cs:20