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
RenderTexture.cs
Go to the documentation of this file.
1using System;
8
9namespace UnityEngine
10{
11 // Token: 0x02000050 RID: 80
13 [NativeHeader("Runtime/Camera/Camera.h")]
14 [NativeHeader("Runtime/Graphics/RenderBufferManager.h")]
15 [NativeHeader("Runtime/Graphics/GraphicsScriptBindings.h")]
16 [NativeHeader("Runtime/Graphics/RenderTexture.h")]
17 public class RenderTexture : Texture
18 {
19 // Token: 0x1700003B RID: 59
20 // (get) Token: 0x06000152 RID: 338 RVA: 0x00003D70 File Offset: 0x00001F70
21 // (set) Token: 0x06000153 RID: 339 RVA: 0x00003D84 File Offset: 0x00001F84
22 public override int width
23 {
24 get
25 {
26 throw new MissingMethodException();
27 }
28 set
29 {
30 throw new MissingMethodException();
31 }
32 }
33
34 // Token: 0x1700003C RID: 60
35 // (get) Token: 0x06000154 RID: 340 RVA: 0x00003D98 File Offset: 0x00001F98
36 // (set) Token: 0x06000155 RID: 341 RVA: 0x00003DAC File Offset: 0x00001FAC
37 public override int height
38 {
39 get
40 {
41 throw new MissingMethodException();
42 }
43 set
44 {
45 throw new MissingMethodException();
46 }
47 }
48
49 // Token: 0x1700003D RID: 61
50 // (set) Token: 0x06000156 RID: 342 RVA: 0x00003DC0 File Offset: 0x00001FC0
51 [NativeProperty("ColorFormat")]
53 {
54 set
55 {
56 throw new MissingMethodException();
57 }
58 }
59
60 // Token: 0x1700003E RID: 62
61 // (set) Token: 0x06000157 RID: 343 RVA: 0x00003DD4 File Offset: 0x00001FD4
63 {
64 set
65 {
66 throw new MissingMethodException();
67 }
68 }
69
70 // Token: 0x06000158 RID: 344 RVA: 0x00003DE8 File Offset: 0x00001FE8
71 private void SetMipMapCount(int count)
72 {
73 throw new MissingMethodException();
74 }
75
76 // Token: 0x06000159 RID: 345 RVA: 0x00003DFC File Offset: 0x00001FFC
77 internal void SetSRGBReadWrite(bool srgb)
78 {
79 throw new MissingMethodException();
80 }
81
82 // Token: 0x0600015A RID: 346 RVA: 0x00003E10 File Offset: 0x00002010
83 [FreeFunction("RenderTextureScripting::Create")]
84 private static void Internal_Create([Writable] RenderTexture rt)
85 {
86 throw new MissingMethodException();
87 }
88
89 // Token: 0x0600015B RID: 347 RVA: 0x00003E24 File Offset: 0x00002024
90 [NativeName("SetRenderTextureDescFromScript")]
95
96 // Token: 0x0600015C RID: 348 RVA: 0x00003E38 File Offset: 0x00002038
97 [NativeName("GetRenderTextureDesc")]
99 {
100 throw new MissingMethodException();
101 }
102
103 // Token: 0x0600015D RID: 349 RVA: 0x00003E4C File Offset: 0x0000204C
105 protected internal RenderTexture()
106 {
107 if (!true)
108 {
109 }
110 base..ctor();
111 }
112
113 // Token: 0x0600015E RID: 350 RVA: 0x00003E64 File Offset: 0x00002064
115 {
116 if (!true)
117 {
118 }
119 base..ctor();
120 RenderTextureMemoryless <memoryless>k__BackingField = desc.<memoryless>k__BackingField;
121 int <mipCount>k__BackingField = desc.<mipCount>k__BackingField;
122 int value__ = desc._graphicsFormat.value__;
123 throw new MissingMethodException();
124 }
125
126 // Token: 0x0600015F RID: 351 RVA: 0x00003EC4 File Offset: 0x000020C4
128 {
129 int num = 1;
130 if (num == 0)
131 {
132 }
133 base..ctor();
134 if (num == 0)
135 {
136 }
138 throw new MissingMethodException();
139 }
140
141 // Token: 0x06000160 RID: 352 RVA: 0x00003F00 File Offset: 0x00002100
143 public RenderTexture(int width, int height, int depth, DefaultFormat format)
144 {
145 throw new MissingMethodException();
146 }
147
148 // Token: 0x06000161 RID: 353 RVA: 0x00003F14 File Offset: 0x00002114
150 public RenderTexture(int width, int height, int depth, GraphicsFormat format)
151 {
152 if (!true)
153 {
154 }
155 }
156
157 // Token: 0x06000162 RID: 354 RVA: 0x00003F24 File Offset: 0x00002124
159 public RenderTexture(int width, int height, int depth, GraphicsFormat format, int mipCount)
160 {
161 if (!true)
162 {
163 }
164 base..ctor();
165 throw new MissingMethodException();
166 }
167
168 // Token: 0x06000163 RID: 355 RVA: 0x00003F6C File Offset: 0x0000216C
171 {
172 int num = 1;
173 if (num == 0)
174 {
175 }
176 base..ctor();
177 if (colorFormat == GraphicsFormat.None || num == 0)
178 {
179 }
180 throw new MissingMethodException();
181 }
182
183 // Token: 0x06000164 RID: 356 RVA: 0x00003FB0 File Offset: 0x000021B0
186 {
187 if (!true)
188 {
189 }
190 }
191
192 // Token: 0x06000165 RID: 357 RVA: 0x00003FC0 File Offset: 0x000021C0
193 public RenderTexture(int width, int height, int depth, [DefaultValue("RenderTextureFormat.Default")] RenderTextureFormat format, [DefaultValue("RenderTextureReadWrite.Default")] RenderTextureReadWrite readWrite)
194 {
195 if (!true)
196 {
197 }
198 base..ctor();
199 this.Initialize(width, height, depth, format, readWrite, 1073741824);
200 }
201
202 // Token: 0x06000166 RID: 358 RVA: 0x00003FE8 File Offset: 0x000021E8
205 {
206 if (!true)
207 {
208 }
209 }
210
211 // Token: 0x06000167 RID: 359 RVA: 0x00003FF8 File Offset: 0x000021F8
213 public RenderTexture(int width, int height, int depth)
214 {
215 }
216
217 // Token: 0x06000168 RID: 360 RVA: 0x00004008 File Offset: 0x00002208
220 {
221 if (!true)
222 {
223 }
224 base..ctor();
225 }
226
227 // Token: 0x06000169 RID: 361 RVA: 0x00004020 File Offset: 0x00002220
237
238 // Token: 0x0600016A RID: 362 RVA: 0x00004068 File Offset: 0x00002268
240 {
241 if (!true)
242 {
243 }
244 long num = 0L;
245 return GraphicsFormatUtility.GetDepthStencilFormat(int.MinValue, (int)num);
246 }
247
248 // Token: 0x1700003F RID: 63
249 // (get) Token: 0x0600016B RID: 363 RVA: 0x00004088 File Offset: 0x00002288
251 {
252 get
253 {
254 throw new MissingMethodException();
255 }
256 }
257
258 // Token: 0x0600016C RID: 364 RVA: 0x0000409C File Offset: 0x0000229C
260 {
261 if (desc._graphicsFormat != GraphicsFormat.None)
262 {
263 throw new MissingMethodException();
264 }
265 GraphicsFormat <depthStencilFormat>k__BackingField = desc.<depthStencilFormat>k__BackingField;
266 if (<depthStencilFormat>k__BackingField != GraphicsFormat.None)
267 {
268 bool flag = GraphicsFormatUtility.IsDepthFormat(<depthStencilFormat>k__BackingField);
270 int <height>k__BackingField = desc.<height>k__BackingField;
271 int <volumeDepth>k__BackingField = desc.<volumeDepth>k__BackingField;
272 int <msaaSamples>k__BackingField = desc.<msaaSamples>k__BackingField;
273 TextureDimension <dimension>k__BackingField = desc.<dimension>k__BackingField;
274 GraphicsFormat graphicsFormat = desc._graphicsFormat;
275 if (<dimension>k__BackingField == TextureDimension.None)
276 {
277 }
279 GraphicsFormat graphicsFormat2 = desc._graphicsFormat;
280 if (<dimension>k__BackingField == TextureDimension.None)
281 {
282 }
284 return;
285 }
286 }
287
288 // Token: 0x0600016D RID: 365 RVA: 0x00004160 File Offset: 0x00002360
296
297 // Token: 0x0600016E RID: 366 RVA: 0x00004194 File Offset: 0x00002394
302
303 // Token: 0x0600016F RID: 367 RVA: 0x000041A8 File Offset: 0x000023A8
305 {
306 throw new MissingMethodException();
307 }
308 }
309}
class f__AnonymousType0<< Count > j__TPar
static GraphicsFormat GetDepthStencilFormat(int minimumDepthBits)
static void Internal_Create([Writable] RenderTexture rt)
RenderTextureDescriptor GetDescriptor()
GraphicsFormat graphicsFormat
RenderTexture(int width, int height, int depth, DefaultFormat format)
RenderTexture(RenderTexture textureToCopy)
RenderTexture(RenderTextureDescriptor desc)
RenderTexture(int width, int height, GraphicsFormat colorFormat, GraphicsFormat depthStencilFormat, int mipCount)
RenderTexture(int width, int height, int depth, RenderTextureFormat format)
RenderTexture(int width, int height, int depth, [DefaultValue("RenderTextureFormat.Default")] RenderTextureFormat format, [DefaultValue("RenderTextureReadWrite.Default")] RenderTextureReadWrite readWrite)
RenderTexture(int width, int height, int depth, GraphicsFormat format, int mipCount)
void SetRenderTextureDescriptor_Injected(RenderTextureDescriptor desc)
RenderTexture(int width, int height, int depth)
RenderTexture(int width, int height, GraphicsFormat colorFormat, GraphicsFormat depthStencilFormat)
RenderTexture(int width, int height, int depth, RenderTextureFormat format, int mipCount)
void GetDescriptor_Injected([Out] RenderTextureDescriptor ret)
void SetRenderTextureDescriptor(RenderTextureDescriptor desc)
void Initialize(int width, int height, int depth, RenderTextureFormat format, RenderTextureReadWrite readWrite, int mipCount)
static void ValidateRenderTextureDesc(RenderTextureDescriptor desc)
RenderTextureDescriptor descriptor
static GraphicsFormat GetCompatibleFormat(RenderTextureFormat renderTextureFormat, RenderTextureReadWrite readWrite)
RenderTexture(int width, int height, int depth, GraphicsFormat format)
void SetSRGBReadWrite(bool srgb)
void SetMipMapCount(int count)
static GraphicsFormat GetDepthStencilFormatLegacy(int depthBits, GraphicsFormat colorFormat)
GraphicsFormat depthStencilFormat