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
GraphicsFormatUtility.cs
Go to the documentation of this file.
1
using
System
;
2
using
UnityEngine.Bindings
;
3
4
namespace
UnityEngine.Experimental.Rendering
5
{
6
// Token: 0x0200013A RID: 314
7
[
NativeHeader
(
"Runtime/Graphics/Format.h"
)]
8
[
NativeHeader
(
"Runtime/Graphics/TextureFormat.h"
)]
9
[
NativeHeader
(
"Runtime/Graphics/GraphicsFormatUtility.bindings.h"
)]
10
public
class
GraphicsFormatUtility
11
{
12
// Token: 0x0600060A RID: 1546 RVA: 0x0000AF78 File Offset: 0x00009178
13
public
static
GraphicsFormat
GetGraphicsFormat
(
TextureFormat
format
,
bool
isSRGB
)
14
{
15
if
(!
true
)
16
{
17
}
18
throw
new
MissingMethodException
();
19
}
20
21
// Token: 0x0600060B RID: 1547 RVA: 0x0000AF90 File Offset: 0x00009190
22
[
FreeFunction
(IsThreadSafe =
true
)]
23
private
static
GraphicsFormat
GetGraphicsFormat_Native_TextureFormat
(
TextureFormat
format
,
bool
isSRGB
)
24
{
25
throw
new
MissingMethodException
();
26
}
27
28
// Token: 0x0600060C RID: 1548 RVA: 0x0000AFA4 File Offset: 0x000091A4
29
public
static
GraphicsFormat
GetGraphicsFormat
(
RenderTextureFormat
format
,
bool
isSRGB
)
30
{
31
if
(!
true
)
32
{
33
}
34
throw
new
MissingMethodException
();
35
}
36
37
// Token: 0x0600060D RID: 1549 RVA: 0x0000AFBC File Offset: 0x000091BC
38
[
FreeFunction
]
39
private
static
GraphicsFormat
GetGraphicsFormat_Native_RenderTextureFormat
(
RenderTextureFormat
format
,
bool
isSRGB
)
40
{
41
throw
new
MissingMethodException
();
42
}
43
44
// Token: 0x0600060E RID: 1550 RVA: 0x0000AFD0 File Offset: 0x000091D0
45
public
static
GraphicsFormat
GetGraphicsFormat
(
RenderTextureFormat
format
,
RenderTextureReadWrite
readWrite
)
46
{
47
ColorSpace
activeColorSpace =
QualitySettings
.
activeColorSpace
;
48
if
(
"br"
==
null
)
49
{
50
}
51
GraphicsFormat
graphicsFormat;
52
return
graphicsFormat;
53
}
54
55
// Token: 0x0600060F RID: 1551 RVA: 0x0000AFF0 File Offset: 0x000091F0
56
[
FreeFunction
(IsThreadSafe =
true
)]
57
private
static
GraphicsFormat
GetDepthStencilFormatFromBitsLegacy_Native
(
int
minimumDepthBits
)
58
{
59
throw
new
MissingMethodException
();
60
}
61
62
// Token: 0x06000610 RID: 1552 RVA: 0x0000B004 File Offset: 0x00009204
63
internal
static
GraphicsFormat
GetDepthStencilFormat
(
int
minimumDepthBits
)
64
{
65
if
(!
true
)
66
{
67
}
68
throw
new
MissingMethodException
();
69
}
70
71
// Token: 0x06000611 RID: 1553 RVA: 0x0000B01C File Offset: 0x0000921C
72
public
static
GraphicsFormat
GetDepthStencilFormat
(
int
minimumDepthBits
,
int
minimumStencilBits
)
73
{
74
if
(
true
)
75
{
76
if
(2 == 0)
77
{
78
}
79
Debug
.
Assert
(
false
);
80
if
(!
false
)
81
{
82
}
83
}
84
return
"Number of bits in DepthStencil format can't be negative."
;
85
}
86
87
// Token: 0x06000612 RID: 1554 RVA: 0x0000B048 File Offset: 0x00009248
88
[
FreeFunction
(IsThreadSafe =
true
)]
89
public
static
bool
IsSRGBFormat
(
GraphicsFormat
format
)
90
{
91
throw
new
MissingMethodException
();
92
}
93
94
// Token: 0x06000613 RID: 1555 RVA: 0x0000B05C File Offset: 0x0000925C
95
[
FreeFunction
(
"IsAnyCompressedTextureFormat"
,
true
)]
96
internal
static
bool
IsCompressedTextureFormat
(
TextureFormat
format
)
97
{
98
throw
new
MissingMethodException
();
99
}
100
101
// Token: 0x06000614 RID: 1556 RVA: 0x0000B070 File Offset: 0x00009270
102
[
FreeFunction
(IsThreadSafe =
true
)]
103
private
static
bool
CanDecompressFormat
(
GraphicsFormat
format
,
bool
wholeImage
)
104
{
105
throw
new
MissingMethodException
();
106
}
107
108
// Token: 0x06000615 RID: 1557 RVA: 0x0000B084 File Offset: 0x00009284
109
internal
static
bool
CanDecompressFormat
(
GraphicsFormat
format
)
110
{
111
if
(!
true
)
112
{
113
}
114
throw
new
MissingMethodException
();
115
}
116
117
// Token: 0x06000616 RID: 1558 RVA: 0x0000B09C File Offset: 0x0000929C
118
[
FreeFunction
(IsThreadSafe =
true
)]
119
public
static
bool
IsDepthFormat
(
GraphicsFormat
format
)
120
{
121
throw
new
MissingMethodException
();
122
}
123
124
// Token: 0x06000617 RID: 1559 RVA: 0x0000B0B0 File Offset: 0x000092B0
125
[
FreeFunction
(IsThreadSafe =
true
)]
126
public
static
bool
IsStencilFormat
(
GraphicsFormat
format
)
127
{
128
throw
new
MissingMethodException
();
129
}
130
131
// Token: 0x06000618 RID: 1560 RVA: 0x0000B0C4 File Offset: 0x000092C4
132
[
FreeFunction
(IsThreadSafe =
true
)]
133
public
static
bool
IsPVRTCFormat
(
GraphicsFormat
format
)
134
{
135
throw
new
MissingMethodException
();
136
}
137
138
// Token: 0x06000619 RID: 1561 RVA: 0x0000B0D8 File Offset: 0x000092D8
139
public
static
bool
IsCrunchFormat
(
TextureFormat
format
)
140
{
141
return
true
;
142
}
143
144
// Token: 0x0600061A RID: 1562 RVA: 0x0000B0E8 File Offset: 0x000092E8
145
// Note: this type is marked as 'beforefieldinit'.
146
static
GraphicsFormatUtility
()
147
{
148
}
149
150
// Token: 0x0400055E RID: 1374
151
private
static
readonly
GraphicsFormat
[]
tableNoStencil
;
152
153
// Token: 0x0400055F RID: 1375
154
private
static
readonly
GraphicsFormat
[]
tableStencil
;
155
}
156
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.MissingMethodException
Definition
MissingMethodException.cs:9
UnityEngine.Debug.Assert
static void Assert(bool condition)
Definition
Debug.cs:151
UnityEngine.Debug
Definition
Debug.cs:11
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.tableNoStencil
static readonly GraphicsFormat[] tableNoStencil
Definition
GraphicsFormatUtility.cs:151
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.GetDepthStencilFormat
static GraphicsFormat GetDepthStencilFormat(int minimumDepthBits, int minimumStencilBits)
Definition
GraphicsFormatUtility.cs:72
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.GraphicsFormatUtility
static GraphicsFormatUtility()
Definition
GraphicsFormatUtility.cs:146
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.IsCompressedTextureFormat
static bool IsCompressedTextureFormat(TextureFormat format)
Definition
GraphicsFormatUtility.cs:96
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.GetDepthStencilFormat
static GraphicsFormat GetDepthStencilFormat(int minimumDepthBits)
Definition
GraphicsFormatUtility.cs:63
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.GetGraphicsFormat_Native_RenderTextureFormat
static GraphicsFormat GetGraphicsFormat_Native_RenderTextureFormat(RenderTextureFormat format, bool isSRGB)
Definition
GraphicsFormatUtility.cs:39
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.IsCrunchFormat
static bool IsCrunchFormat(TextureFormat format)
Definition
GraphicsFormatUtility.cs:139
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.CanDecompressFormat
static bool CanDecompressFormat(GraphicsFormat format)
Definition
GraphicsFormatUtility.cs:109
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.IsPVRTCFormat
static bool IsPVRTCFormat(GraphicsFormat format)
Definition
GraphicsFormatUtility.cs:133
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.IsSRGBFormat
static bool IsSRGBFormat(GraphicsFormat format)
Definition
GraphicsFormatUtility.cs:89
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.GetGraphicsFormat
static GraphicsFormat GetGraphicsFormat(RenderTextureFormat format, bool isSRGB)
Definition
GraphicsFormatUtility.cs:29
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.IsDepthFormat
static bool IsDepthFormat(GraphicsFormat format)
Definition
GraphicsFormatUtility.cs:119
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.IsStencilFormat
static bool IsStencilFormat(GraphicsFormat format)
Definition
GraphicsFormatUtility.cs:126
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.CanDecompressFormat
static bool CanDecompressFormat(GraphicsFormat format, bool wholeImage)
Definition
GraphicsFormatUtility.cs:103
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.tableStencil
static readonly GraphicsFormat[] tableStencil
Definition
GraphicsFormatUtility.cs:154
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.GetGraphicsFormat_Native_TextureFormat
static GraphicsFormat GetGraphicsFormat_Native_TextureFormat(TextureFormat format, bool isSRGB)
Definition
GraphicsFormatUtility.cs:23
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.GetGraphicsFormat
static GraphicsFormat GetGraphicsFormat(TextureFormat format, bool isSRGB)
Definition
GraphicsFormatUtility.cs:13
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.GetDepthStencilFormatFromBitsLegacy_Native
static GraphicsFormat GetDepthStencilFormatFromBitsLegacy_Native(int minimumDepthBits)
Definition
GraphicsFormatUtility.cs:57
UnityEngine.Experimental.Rendering.GraphicsFormatUtility.GetGraphicsFormat
static GraphicsFormat GetGraphicsFormat(RenderTextureFormat format, RenderTextureReadWrite readWrite)
Definition
GraphicsFormatUtility.cs:45
UnityEngine.Experimental.Rendering.GraphicsFormatUtility
Definition
GraphicsFormatUtility.cs:11
UnityEngine.QualitySettings.activeColorSpace
static ColorSpace activeColorSpace
Definition
QualitySettings.cs:25
UnityEngine.QualitySettings
Definition
QualitySettings.cs:11
System.ExceptionArgument.format
@ format
System
Definition
__ComObject.cs:4
UnityEngine.Bindings
Definition
CodegenOptions.cs:4
UnityEngine.Experimental.Rendering.GraphicsFormat
GraphicsFormat
Definition
GraphicsFormat.cs:8
UnityEngine.Experimental.Rendering
Definition
BuiltinRuntimeReflectionSystem.cs:7
UnityEngine.RenderTextureFormat
RenderTextureFormat
Definition
RenderTextureFormat.cs:7
UnityEngine.RenderTextureReadWrite
RenderTextureReadWrite
Definition
RenderTextureReadWrite.cs:7
UnityEngine.TextureFormat
TextureFormat
Definition
TextureFormat.cs:8
UnityEngine.ColorSpace
ColorSpace
Definition
ColorSpace.cs:7
source
UnityEngine.CoreModule
UnityEngine
Experimental
Rendering
GraphicsFormatUtility.cs
Generated by
1.10.0