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
Cubemap.cs
Go to the documentation of this file.
1using System;
6
7namespace UnityEngine
8{
9 // Token: 0x0200004C RID: 76
11 [NativeHeader("Runtime/Graphics/CubemapTexture.h")]
12 public sealed class Cubemap : Texture
13 {
14 // Token: 0x06000124 RID: 292 RVA: 0x000038C8 File Offset: 0x00001AC8
15 [FreeFunction("CubemapScripting::Create")]
17 {
18 throw new MissingMethodException();
19 }
20
21 // Token: 0x06000125 RID: 293 RVA: 0x000038DC File Offset: 0x00001ADC
23 {
24 throw new MissingMethodException();
25 }
26
27 // Token: 0x17000037 RID: 55
28 // (get) Token: 0x06000126 RID: 294 RVA: 0x000038F0 File Offset: 0x00001AF0
29 public override bool isReadable
30 {
31 get
32 {
33 throw new MissingMethodException();
34 }
35 }
36
37 // Token: 0x06000127 RID: 295 RVA: 0x00003904 File Offset: 0x00001B04
39 {
40 bool flag = base.ValidateFormat(format);
41 return Mathf.IsPowerOfTwo(width);
42 }
43
44 // Token: 0x06000128 RID: 296 RVA: 0x0000392C File Offset: 0x00001B2C
46 {
48 return Mathf.IsPowerOfTwo(width);
49 }
50
51 // Token: 0x06000129 RID: 297 RVA: 0x00003954 File Offset: 0x00001B54
54 {
55 throw new MissingMethodException();
56 }
57
58 // Token: 0x0600012A RID: 298 RVA: 0x00003968 File Offset: 0x00001B68
62 {
63 if (!true)
64 {
65 }
66 base..ctor();
67 bool flag = this.ValidateFormat(format, width);
68 if (!true)
69 {
70 }
71 }
72
73 // Token: 0x0600012B RID: 299 RVA: 0x0000398C File Offset: 0x00001B8C
75 {
76 }
77
78 // Token: 0x0600012C RID: 300 RVA: 0x0000399C File Offset: 0x00001B9C
81 {
82 if (!true)
83 {
84 }
85 base..ctor();
86 bool flag = this.ValidateFormat(format, width);
88 }
89
90 // Token: 0x0600012D RID: 301 RVA: 0x000039C4 File Offset: 0x00001BC4
92 {
93 if (!true)
94 {
95 }
96 base..ctor();
97 bool flag = this.ValidateFormat(textureFormat, width);
98 if (!true)
99 {
100 }
101 long num = 0L;
103 if (!true)
104 {
105 }
107 }
108
109 // Token: 0x0600012E RID: 302 RVA: 0x000039FC File Offset: 0x00001BFC
113
114 // Token: 0x0600012F RID: 303 RVA: 0x00003A0C File Offset: 0x00001C0C
116 {
117 }
118
119 // Token: 0x06000130 RID: 304 RVA: 0x00003A1C File Offset: 0x00001C1C
121 {
122 }
123 }
124}
class f__AnonymousType0<< Count > j__TPar
bool ValidateFormat(TextureFormat format, int width)
Definition Cubemap.cs:38
override bool isReadable
Definition Cubemap.cs:30
static void Internal_Create([Writable] Cubemap mono, int ext, int mipCount, GraphicsFormat format, TextureCreationFlags flags, IntPtr nativeTex)
Definition Cubemap.cs:22
bool ValidateFormat(GraphicsFormat format, int width)
Definition Cubemap.cs:45
Cubemap(int width, GraphicsFormat format, TextureCreationFlags flags, int mipCount)
Definition Cubemap.cs:80
Cubemap(int width, TextureFormat textureFormat, int mipCount, IntPtr nativeTex)
Definition Cubemap.cs:91
static void ValidateIsNotCrunched(TextureCreationFlags flags)
Definition Cubemap.cs:120
Cubemap(int width, TextureFormat textureFormat, bool mipChain)
Definition Cubemap.cs:115
Cubemap(int width, DefaultFormat format, TextureCreationFlags flags)
Definition Cubemap.cs:53
Cubemap(int width, TextureFormat format, int mipCount)
Definition Cubemap.cs:74
static bool Internal_CreateImpl([Writable] Cubemap mono, int ext, int mipCount, GraphicsFormat format, TextureCreationFlags flags, IntPtr nativeTex)
Definition Cubemap.cs:16
Cubemap(int width, TextureFormat textureFormat, bool mipChain, IntPtr nativeTex)
Definition Cubemap.cs:110
Cubemap(int width, GraphicsFormat format, TextureCreationFlags flags)
Definition Cubemap.cs:61
static GraphicsFormat GetGraphicsFormat(TextureFormat format, bool isSRGB)
virtual int width
Definition Texture.cs:41
static bool IsPowerOfTwo(int value)
Definition Mathf.cs:20