ris-ktx2-api 0.1.0-dev.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/LICENSE +21 -0
- package/LICENSES/Apache-2.0.txt +202 -0
- package/README.md +116 -0
- package/THIRD_PARTY_NOTICES.md +47 -0
- package/dist/index.d.ts +1338 -0
- package/dist/index.js +1130 -0
- package/dist/index.js.map +1 -0
- package/package.json +61 -0
- package/src/index.ts +6 -0
- package/src/ris-ktx2/IKtx2Factory.ts +43 -0
- package/src/ris-ktx2/IKtx2Texture.ts +178 -0
- package/src/ris-ktx2/IKtxBasisParams.ts +98 -0
- package/src/ris-ktx2/IKtxTextureCreateInfo.ts +27 -0
- package/src/ris-ktx2/KtxCreateStorage.ts +14 -0
- package/src/ris-ktx2/KtxErrorCode.ts +71 -0
- package/src/ris-ktx2/KtxTranscodeFlags.ts +32 -0
- package/src/ris-ktx2/KtxTranscodeFormat.ts +121 -0
- package/src/ris-ktx2/KtxUastcFlags.ts +66 -0
- package/src/ris-ktx2/TextureFormatInfo.ts +275 -0
- package/src/ris-ktx2/VkFormat.ts +626 -0
- package/src/ris-ktx2/_export.ts +14 -0
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vulkan `VkFormat` enumerators.
|
|
3
|
+
*
|
|
4
|
+
* Names and numeric values match the Vulkan API so they can be stored in
|
|
5
|
+
* KTX2 files and passed through to graphics APIs. Extension enumerators that
|
|
6
|
+
* share a value with a core enumerator are documented as aliases.
|
|
7
|
+
* See THIRD_PARTY_NOTICES.md.
|
|
8
|
+
*/
|
|
9
|
+
export enum VkFormat {
|
|
10
|
+
/** No format is specified. */
|
|
11
|
+
UNDEFINED = 0,
|
|
12
|
+
/** 4-bit red and green, unsigned normalized, packed into an 8-bit word. */
|
|
13
|
+
R4G4_UNORM_PACK8 = 1,
|
|
14
|
+
/** 4-bit red, green, blue, and alpha, unsigned normalized, packed into a 16-bit word. */
|
|
15
|
+
R4G4B4A4_UNORM_PACK16 = 2,
|
|
16
|
+
/** 4-bit blue, green, red, and alpha, unsigned normalized, packed into a 16-bit word. */
|
|
17
|
+
B4G4R4A4_UNORM_PACK16 = 3,
|
|
18
|
+
/** 5-bit red, 6-bit green, and 5-bit blue, unsigned normalized, packed into a 16-bit word. */
|
|
19
|
+
R5G6B5_UNORM_PACK16 = 4,
|
|
20
|
+
/** 5-bit blue, 6-bit green, and 5-bit red, unsigned normalized, packed into a 16-bit word. */
|
|
21
|
+
B5G6R5_UNORM_PACK16 = 5,
|
|
22
|
+
/** 5-bit red, 5-bit green, 5-bit blue, and 1-bit alpha, unsigned normalized, packed into a 16-bit word. */
|
|
23
|
+
R5G5B5A1_UNORM_PACK16 = 6,
|
|
24
|
+
/** 5-bit blue, 5-bit green, 5-bit red, and 1-bit alpha, unsigned normalized, packed into a 16-bit word. */
|
|
25
|
+
B5G5R5A1_UNORM_PACK16 = 7,
|
|
26
|
+
/** 1-bit alpha, 5-bit red, 5-bit green, and 5-bit blue, unsigned normalized, packed into a 16-bit word. */
|
|
27
|
+
A1R5G5B5_UNORM_PACK16 = 8,
|
|
28
|
+
/** 8-bit red, unsigned normalized. */
|
|
29
|
+
R8_UNORM = 9,
|
|
30
|
+
/** 8-bit red, signed normalized. */
|
|
31
|
+
R8_SNORM = 10,
|
|
32
|
+
/** 8-bit red, unsigned scaled. */
|
|
33
|
+
R8_USCALED = 11,
|
|
34
|
+
/** 8-bit red, signed scaled. */
|
|
35
|
+
R8_SSCALED = 12,
|
|
36
|
+
/** 8-bit red, unsigned integer. */
|
|
37
|
+
R8_UINT = 13,
|
|
38
|
+
/** 8-bit red, signed integer. */
|
|
39
|
+
R8_SINT = 14,
|
|
40
|
+
/** 8-bit red, sRGB. */
|
|
41
|
+
R8_SRGB = 15,
|
|
42
|
+
/** 8-bit red and green, unsigned normalized. */
|
|
43
|
+
R8G8_UNORM = 16,
|
|
44
|
+
/** 8-bit red and green, signed normalized. */
|
|
45
|
+
R8G8_SNORM = 17,
|
|
46
|
+
/** 8-bit red and green, unsigned scaled. */
|
|
47
|
+
R8G8_USCALED = 18,
|
|
48
|
+
/** 8-bit red and green, signed scaled. */
|
|
49
|
+
R8G8_SSCALED = 19,
|
|
50
|
+
/** 8-bit red and green, unsigned integer. */
|
|
51
|
+
R8G8_UINT = 20,
|
|
52
|
+
/** 8-bit red and green, signed integer. */
|
|
53
|
+
R8G8_SINT = 21,
|
|
54
|
+
/** 8-bit red and green, sRGB. */
|
|
55
|
+
R8G8_SRGB = 22,
|
|
56
|
+
/** 8-bit red, green, and blue, unsigned normalized. */
|
|
57
|
+
R8G8B8_UNORM = 23,
|
|
58
|
+
/** 8-bit red, green, and blue, signed normalized. */
|
|
59
|
+
R8G8B8_SNORM = 24,
|
|
60
|
+
/** 8-bit red, green, and blue, unsigned scaled. */
|
|
61
|
+
R8G8B8_USCALED = 25,
|
|
62
|
+
/** 8-bit red, green, and blue, signed scaled. */
|
|
63
|
+
R8G8B8_SSCALED = 26,
|
|
64
|
+
/** 8-bit red, green, and blue, unsigned integer. */
|
|
65
|
+
R8G8B8_UINT = 27,
|
|
66
|
+
/** 8-bit red, green, and blue, signed integer. */
|
|
67
|
+
R8G8B8_SINT = 28,
|
|
68
|
+
/** 8-bit red, green, and blue, sRGB. */
|
|
69
|
+
R8G8B8_SRGB = 29,
|
|
70
|
+
/** 8-bit blue, green, and red, unsigned normalized. */
|
|
71
|
+
B8G8R8_UNORM = 30,
|
|
72
|
+
/** 8-bit blue, green, and red, signed normalized. */
|
|
73
|
+
B8G8R8_SNORM = 31,
|
|
74
|
+
/** 8-bit blue, green, and red, unsigned scaled. */
|
|
75
|
+
B8G8R8_USCALED = 32,
|
|
76
|
+
/** 8-bit blue, green, and red, signed scaled. */
|
|
77
|
+
B8G8R8_SSCALED = 33,
|
|
78
|
+
/** 8-bit blue, green, and red, unsigned integer. */
|
|
79
|
+
B8G8R8_UINT = 34,
|
|
80
|
+
/** 8-bit blue, green, and red, signed integer. */
|
|
81
|
+
B8G8R8_SINT = 35,
|
|
82
|
+
/** 8-bit blue, green, and red, sRGB. */
|
|
83
|
+
B8G8R8_SRGB = 36,
|
|
84
|
+
/** 8-bit red, green, blue, and alpha, unsigned normalized. */
|
|
85
|
+
R8G8B8A8_UNORM = 37,
|
|
86
|
+
/** 8-bit red, green, blue, and alpha, signed normalized. */
|
|
87
|
+
R8G8B8A8_SNORM = 38,
|
|
88
|
+
/** 8-bit red, green, blue, and alpha, unsigned scaled. */
|
|
89
|
+
R8G8B8A8_USCALED = 39,
|
|
90
|
+
/** 8-bit red, green, blue, and alpha, signed scaled. */
|
|
91
|
+
R8G8B8A8_SSCALED = 40,
|
|
92
|
+
/** 8-bit red, green, blue, and alpha, unsigned integer. */
|
|
93
|
+
R8G8B8A8_UINT = 41,
|
|
94
|
+
/** 8-bit red, green, blue, and alpha, signed integer. */
|
|
95
|
+
R8G8B8A8_SINT = 42,
|
|
96
|
+
/** 8-bit red, green, blue, and alpha, sRGB. */
|
|
97
|
+
R8G8B8A8_SRGB = 43,
|
|
98
|
+
/** 8-bit blue, green, red, and alpha, unsigned normalized. */
|
|
99
|
+
B8G8R8A8_UNORM = 44,
|
|
100
|
+
/** 8-bit blue, green, red, and alpha, signed normalized. */
|
|
101
|
+
B8G8R8A8_SNORM = 45,
|
|
102
|
+
/** 8-bit blue, green, red, and alpha, unsigned scaled. */
|
|
103
|
+
B8G8R8A8_USCALED = 46,
|
|
104
|
+
/** 8-bit blue, green, red, and alpha, signed scaled. */
|
|
105
|
+
B8G8R8A8_SSCALED = 47,
|
|
106
|
+
/** 8-bit blue, green, red, and alpha, unsigned integer. */
|
|
107
|
+
B8G8R8A8_UINT = 48,
|
|
108
|
+
/** 8-bit blue, green, red, and alpha, signed integer. */
|
|
109
|
+
B8G8R8A8_SINT = 49,
|
|
110
|
+
/** 8-bit blue, green, red, and alpha, sRGB. */
|
|
111
|
+
B8G8R8A8_SRGB = 50,
|
|
112
|
+
/** 8-bit alpha, blue, green, and red, unsigned normalized, packed into a 32-bit word. */
|
|
113
|
+
A8B8G8R8_UNORM_PACK32 = 51,
|
|
114
|
+
/** 8-bit alpha, blue, green, and red, signed normalized, packed into a 32-bit word. */
|
|
115
|
+
A8B8G8R8_SNORM_PACK32 = 52,
|
|
116
|
+
/** 8-bit alpha, blue, green, and red, unsigned scaled, packed into a 32-bit word. */
|
|
117
|
+
A8B8G8R8_USCALED_PACK32 = 53,
|
|
118
|
+
/** 8-bit alpha, blue, green, and red, signed scaled, packed into a 32-bit word. */
|
|
119
|
+
A8B8G8R8_SSCALED_PACK32 = 54,
|
|
120
|
+
/** 8-bit alpha, blue, green, and red, unsigned integer, packed into a 32-bit word. */
|
|
121
|
+
A8B8G8R8_UINT_PACK32 = 55,
|
|
122
|
+
/** 8-bit alpha, blue, green, and red, signed integer, packed into a 32-bit word. */
|
|
123
|
+
A8B8G8R8_SINT_PACK32 = 56,
|
|
124
|
+
/** 8-bit alpha, blue, green, and red, sRGB, packed into a 32-bit word. */
|
|
125
|
+
A8B8G8R8_SRGB_PACK32 = 57,
|
|
126
|
+
/** 2-bit alpha, 10-bit red, 10-bit green, and 10-bit blue, unsigned normalized, packed into a 32-bit word. */
|
|
127
|
+
A2R10G10B10_UNORM_PACK32 = 58,
|
|
128
|
+
/** 2-bit alpha, 10-bit red, 10-bit green, and 10-bit blue, signed normalized, packed into a 32-bit word. */
|
|
129
|
+
A2R10G10B10_SNORM_PACK32 = 59,
|
|
130
|
+
/** 2-bit alpha, 10-bit red, 10-bit green, and 10-bit blue, unsigned scaled, packed into a 32-bit word. */
|
|
131
|
+
A2R10G10B10_USCALED_PACK32 = 60,
|
|
132
|
+
/** 2-bit alpha, 10-bit red, 10-bit green, and 10-bit blue, signed scaled, packed into a 32-bit word. */
|
|
133
|
+
A2R10G10B10_SSCALED_PACK32 = 61,
|
|
134
|
+
/** 2-bit alpha, 10-bit red, 10-bit green, and 10-bit blue, unsigned integer, packed into a 32-bit word. */
|
|
135
|
+
A2R10G10B10_UINT_PACK32 = 62,
|
|
136
|
+
/** 2-bit alpha, 10-bit red, 10-bit green, and 10-bit blue, signed integer, packed into a 32-bit word. */
|
|
137
|
+
A2R10G10B10_SINT_PACK32 = 63,
|
|
138
|
+
/** 2-bit alpha, 10-bit blue, 10-bit green, and 10-bit red, unsigned normalized, packed into a 32-bit word. */
|
|
139
|
+
A2B10G10R10_UNORM_PACK32 = 64,
|
|
140
|
+
/** 2-bit alpha, 10-bit blue, 10-bit green, and 10-bit red, signed normalized, packed into a 32-bit word. */
|
|
141
|
+
A2B10G10R10_SNORM_PACK32 = 65,
|
|
142
|
+
/** 2-bit alpha, 10-bit blue, 10-bit green, and 10-bit red, unsigned scaled, packed into a 32-bit word. */
|
|
143
|
+
A2B10G10R10_USCALED_PACK32 = 66,
|
|
144
|
+
/** 2-bit alpha, 10-bit blue, 10-bit green, and 10-bit red, signed scaled, packed into a 32-bit word. */
|
|
145
|
+
A2B10G10R10_SSCALED_PACK32 = 67,
|
|
146
|
+
/** 2-bit alpha, 10-bit blue, 10-bit green, and 10-bit red, unsigned integer, packed into a 32-bit word. */
|
|
147
|
+
A2B10G10R10_UINT_PACK32 = 68,
|
|
148
|
+
/** 2-bit alpha, 10-bit blue, 10-bit green, and 10-bit red, signed integer, packed into a 32-bit word. */
|
|
149
|
+
A2B10G10R10_SINT_PACK32 = 69,
|
|
150
|
+
/** 16-bit red, unsigned normalized. */
|
|
151
|
+
R16_UNORM = 70,
|
|
152
|
+
/** 16-bit red, signed normalized. */
|
|
153
|
+
R16_SNORM = 71,
|
|
154
|
+
/** 16-bit red, unsigned scaled. */
|
|
155
|
+
R16_USCALED = 72,
|
|
156
|
+
/** 16-bit red, signed scaled. */
|
|
157
|
+
R16_SSCALED = 73,
|
|
158
|
+
/** 16-bit red, unsigned integer. */
|
|
159
|
+
R16_UINT = 74,
|
|
160
|
+
/** 16-bit red, signed integer. */
|
|
161
|
+
R16_SINT = 75,
|
|
162
|
+
/** 16-bit red, signed floating-point. */
|
|
163
|
+
R16_SFLOAT = 76,
|
|
164
|
+
/** 16-bit red and green, unsigned normalized. */
|
|
165
|
+
R16G16_UNORM = 77,
|
|
166
|
+
/** 16-bit red and green, signed normalized. */
|
|
167
|
+
R16G16_SNORM = 78,
|
|
168
|
+
/** 16-bit red and green, unsigned scaled. */
|
|
169
|
+
R16G16_USCALED = 79,
|
|
170
|
+
/** 16-bit red and green, signed scaled. */
|
|
171
|
+
R16G16_SSCALED = 80,
|
|
172
|
+
/** 16-bit red and green, unsigned integer. */
|
|
173
|
+
R16G16_UINT = 81,
|
|
174
|
+
/** 16-bit red and green, signed integer. */
|
|
175
|
+
R16G16_SINT = 82,
|
|
176
|
+
/** 16-bit red and green, signed floating-point. */
|
|
177
|
+
R16G16_SFLOAT = 83,
|
|
178
|
+
/** 16-bit red, green, and blue, unsigned normalized. */
|
|
179
|
+
R16G16B16_UNORM = 84,
|
|
180
|
+
/** 16-bit red, green, and blue, signed normalized. */
|
|
181
|
+
R16G16B16_SNORM = 85,
|
|
182
|
+
/** 16-bit red, green, and blue, unsigned scaled. */
|
|
183
|
+
R16G16B16_USCALED = 86,
|
|
184
|
+
/** 16-bit red, green, and blue, signed scaled. */
|
|
185
|
+
R16G16B16_SSCALED = 87,
|
|
186
|
+
/** 16-bit red, green, and blue, unsigned integer. */
|
|
187
|
+
R16G16B16_UINT = 88,
|
|
188
|
+
/** 16-bit red, green, and blue, signed integer. */
|
|
189
|
+
R16G16B16_SINT = 89,
|
|
190
|
+
/** 16-bit red, green, and blue, signed floating-point. */
|
|
191
|
+
R16G16B16_SFLOAT = 90,
|
|
192
|
+
/** 16-bit red, green, blue, and alpha, unsigned normalized. */
|
|
193
|
+
R16G16B16A16_UNORM = 91,
|
|
194
|
+
/** 16-bit red, green, blue, and alpha, signed normalized. */
|
|
195
|
+
R16G16B16A16_SNORM = 92,
|
|
196
|
+
/** 16-bit red, green, blue, and alpha, unsigned scaled. */
|
|
197
|
+
R16G16B16A16_USCALED = 93,
|
|
198
|
+
/** 16-bit red, green, blue, and alpha, signed scaled. */
|
|
199
|
+
R16G16B16A16_SSCALED = 94,
|
|
200
|
+
/** 16-bit red, green, blue, and alpha, unsigned integer. */
|
|
201
|
+
R16G16B16A16_UINT = 95,
|
|
202
|
+
/** 16-bit red, green, blue, and alpha, signed integer. */
|
|
203
|
+
R16G16B16A16_SINT = 96,
|
|
204
|
+
/** 16-bit red, green, blue, and alpha, signed floating-point. */
|
|
205
|
+
R16G16B16A16_SFLOAT = 97,
|
|
206
|
+
/** 32-bit red, unsigned integer. */
|
|
207
|
+
R32_UINT = 98,
|
|
208
|
+
/** 32-bit red, signed integer. */
|
|
209
|
+
R32_SINT = 99,
|
|
210
|
+
/** 32-bit red, signed floating-point. */
|
|
211
|
+
R32_SFLOAT = 100,
|
|
212
|
+
/** 32-bit red and green, unsigned integer. */
|
|
213
|
+
R32G32_UINT = 101,
|
|
214
|
+
/** 32-bit red and green, signed integer. */
|
|
215
|
+
R32G32_SINT = 102,
|
|
216
|
+
/** 32-bit red and green, signed floating-point. */
|
|
217
|
+
R32G32_SFLOAT = 103,
|
|
218
|
+
/** 32-bit red, green, and blue, unsigned integer. */
|
|
219
|
+
R32G32B32_UINT = 104,
|
|
220
|
+
/** 32-bit red, green, and blue, signed integer. */
|
|
221
|
+
R32G32B32_SINT = 105,
|
|
222
|
+
/** 32-bit red, green, and blue, signed floating-point. */
|
|
223
|
+
R32G32B32_SFLOAT = 106,
|
|
224
|
+
/** 32-bit red, green, blue, and alpha, unsigned integer. */
|
|
225
|
+
R32G32B32A32_UINT = 107,
|
|
226
|
+
/** 32-bit red, green, blue, and alpha, signed integer. */
|
|
227
|
+
R32G32B32A32_SINT = 108,
|
|
228
|
+
/** 32-bit red, green, blue, and alpha, signed floating-point. */
|
|
229
|
+
R32G32B32A32_SFLOAT = 109,
|
|
230
|
+
/** 64-bit red, unsigned integer. */
|
|
231
|
+
R64_UINT = 110,
|
|
232
|
+
/** 64-bit red, signed integer. */
|
|
233
|
+
R64_SINT = 111,
|
|
234
|
+
/** 64-bit red, signed floating-point. */
|
|
235
|
+
R64_SFLOAT = 112,
|
|
236
|
+
/** 64-bit red and green, unsigned integer. */
|
|
237
|
+
R64G64_UINT = 113,
|
|
238
|
+
/** 64-bit red and green, signed integer. */
|
|
239
|
+
R64G64_SINT = 114,
|
|
240
|
+
/** 64-bit red and green, signed floating-point. */
|
|
241
|
+
R64G64_SFLOAT = 115,
|
|
242
|
+
/** 64-bit red, green, and blue, unsigned integer. */
|
|
243
|
+
R64G64B64_UINT = 116,
|
|
244
|
+
/** 64-bit red, green, and blue, signed integer. */
|
|
245
|
+
R64G64B64_SINT = 117,
|
|
246
|
+
/** 64-bit red, green, and blue, signed floating-point. */
|
|
247
|
+
R64G64B64_SFLOAT = 118,
|
|
248
|
+
/** 64-bit red, green, blue, and alpha, unsigned integer. */
|
|
249
|
+
R64G64B64A64_UINT = 119,
|
|
250
|
+
/** 64-bit red, green, blue, and alpha, signed integer. */
|
|
251
|
+
R64G64B64A64_SINT = 120,
|
|
252
|
+
/** 64-bit red, green, blue, and alpha, signed floating-point. */
|
|
253
|
+
R64G64B64A64_SFLOAT = 121,
|
|
254
|
+
/** 10-bit blue, 11-bit green, and 11-bit red, unsigned floating-point, packed into a 32-bit word. */
|
|
255
|
+
B10G11R11_UFLOAT_PACK32 = 122,
|
|
256
|
+
/** 5-bit shared exponent, 9-bit blue, 9-bit green, and 9-bit red, unsigned floating-point, packed into a 32-bit word. */
|
|
257
|
+
E5B9G9R9_UFLOAT_PACK32 = 123,
|
|
258
|
+
/** 16-bit unsigned normalized depth. */
|
|
259
|
+
D16_UNORM = 124,
|
|
260
|
+
/** 24-bit unsigned normalized depth packed into a 32-bit word with 8 unused bits. */
|
|
261
|
+
X8_D24_UNORM_PACK32 = 125,
|
|
262
|
+
/** 32-bit signed floating-point depth. */
|
|
263
|
+
D32_SFLOAT = 126,
|
|
264
|
+
/** 8-bit unsigned integer stencil. */
|
|
265
|
+
S8_UINT = 127,
|
|
266
|
+
/** 16-bit unsigned normalized depth and 8-bit unsigned integer stencil. */
|
|
267
|
+
D16_UNORM_S8_UINT = 128,
|
|
268
|
+
/** 24-bit unsigned normalized depth and 8-bit unsigned integer stencil. */
|
|
269
|
+
D24_UNORM_S8_UINT = 129,
|
|
270
|
+
/** 32-bit signed floating-point depth and 8-bit unsigned integer stencil. */
|
|
271
|
+
D32_SFLOAT_S8_UINT = 130,
|
|
272
|
+
/** 4×4 BC1 RGB block compression, unsigned normalized (8 bytes per block). */
|
|
273
|
+
BC1_RGB_UNORM_BLOCK = 131,
|
|
274
|
+
/** 4×4 BC1 RGB block compression, sRGB (8 bytes per block). */
|
|
275
|
+
BC1_RGB_SRGB_BLOCK = 132,
|
|
276
|
+
/** 4×4 BC1 RGBA block compression with punch-through alpha, unsigned normalized (8 bytes per block). */
|
|
277
|
+
BC1_RGBA_UNORM_BLOCK = 133,
|
|
278
|
+
/** 4×4 BC1 RGBA block compression with punch-through alpha, sRGB (8 bytes per block). */
|
|
279
|
+
BC1_RGBA_SRGB_BLOCK = 134,
|
|
280
|
+
/** 4×4 BC2 RGBA block compression, unsigned normalized (16 bytes per block). */
|
|
281
|
+
BC2_UNORM_BLOCK = 135,
|
|
282
|
+
/** 4×4 BC2 RGBA block compression, sRGB (16 bytes per block). */
|
|
283
|
+
BC2_SRGB_BLOCK = 136,
|
|
284
|
+
/** 4×4 BC3 RGBA block compression, unsigned normalized (16 bytes per block). */
|
|
285
|
+
BC3_UNORM_BLOCK = 137,
|
|
286
|
+
/** 4×4 BC3 RGBA block compression, sRGB (16 bytes per block). */
|
|
287
|
+
BC3_SRGB_BLOCK = 138,
|
|
288
|
+
/** 4×4 BC4 single-channel block compression, unsigned normalized (8 bytes per block). */
|
|
289
|
+
BC4_UNORM_BLOCK = 139,
|
|
290
|
+
/** 4×4 BC4 single-channel block compression, signed normalized (8 bytes per block). */
|
|
291
|
+
BC4_SNORM_BLOCK = 140,
|
|
292
|
+
/** 4×4 BC5 two-channel block compression, unsigned normalized (16 bytes per block). */
|
|
293
|
+
BC5_UNORM_BLOCK = 141,
|
|
294
|
+
/** 4×4 BC5 two-channel block compression, signed normalized (16 bytes per block). */
|
|
295
|
+
BC5_SNORM_BLOCK = 142,
|
|
296
|
+
/** 4×4 BC6H HDR block compression, unsigned floating-point (16 bytes per block). */
|
|
297
|
+
BC6H_UFLOAT_BLOCK = 143,
|
|
298
|
+
/** 4×4 BC6H HDR block compression, signed floating-point (16 bytes per block). */
|
|
299
|
+
BC6H_SFLOAT_BLOCK = 144,
|
|
300
|
+
/** 4×4 BC7 RGBA block compression, unsigned normalized (16 bytes per block). */
|
|
301
|
+
BC7_UNORM_BLOCK = 145,
|
|
302
|
+
/** 4×4 BC7 RGBA block compression, sRGB (16 bytes per block). */
|
|
303
|
+
BC7_SRGB_BLOCK = 146,
|
|
304
|
+
/** 4×4 ETC2 RGB block compression, unsigned normalized (8 bytes per block). */
|
|
305
|
+
ETC2_R8G8B8_UNORM_BLOCK = 147,
|
|
306
|
+
/** 4×4 ETC2 RGB block compression, sRGB (8 bytes per block). */
|
|
307
|
+
ETC2_R8G8B8_SRGB_BLOCK = 148,
|
|
308
|
+
/** 4×4 ETC2 RGB block compression with 1-bit alpha, unsigned normalized (8 bytes per block). */
|
|
309
|
+
ETC2_R8G8B8A1_UNORM_BLOCK = 149,
|
|
310
|
+
/** 4×4 ETC2 RGB block compression with 1-bit alpha, sRGB (8 bytes per block). */
|
|
311
|
+
ETC2_R8G8B8A1_SRGB_BLOCK = 150,
|
|
312
|
+
/** 4×4 ETC2 RGBA block compression, unsigned normalized (16 bytes per block). */
|
|
313
|
+
ETC2_R8G8B8A8_UNORM_BLOCK = 151,
|
|
314
|
+
/** 4×4 ETC2 RGBA block compression, sRGB (16 bytes per block). */
|
|
315
|
+
ETC2_R8G8B8A8_SRGB_BLOCK = 152,
|
|
316
|
+
/** 4×4 EAC single-channel block compression, unsigned normalized (8 bytes per block). */
|
|
317
|
+
EAC_R11_UNORM_BLOCK = 153,
|
|
318
|
+
/** 4×4 EAC single-channel block compression, signed normalized (8 bytes per block). */
|
|
319
|
+
EAC_R11_SNORM_BLOCK = 154,
|
|
320
|
+
/** 4×4 EAC two-channel block compression, unsigned normalized (16 bytes per block). */
|
|
321
|
+
EAC_R11G11_UNORM_BLOCK = 155,
|
|
322
|
+
/** 4×4 EAC two-channel block compression, signed normalized (16 bytes per block). */
|
|
323
|
+
EAC_R11G11_SNORM_BLOCK = 156,
|
|
324
|
+
/** ASTC 4×4 block compression, unsigned normalized (16 bytes per block). */
|
|
325
|
+
ASTC_4X4_UNORM_BLOCK = 157,
|
|
326
|
+
/** ASTC 4×4 block compression, sRGB (16 bytes per block). */
|
|
327
|
+
ASTC_4X4_SRGB_BLOCK = 158,
|
|
328
|
+
/** ASTC 5×4 block compression, unsigned normalized (16 bytes per block). */
|
|
329
|
+
ASTC_5X4_UNORM_BLOCK = 159,
|
|
330
|
+
/** ASTC 5×4 block compression, sRGB (16 bytes per block). */
|
|
331
|
+
ASTC_5X4_SRGB_BLOCK = 160,
|
|
332
|
+
/** ASTC 5×5 block compression, unsigned normalized (16 bytes per block). */
|
|
333
|
+
ASTC_5X5_UNORM_BLOCK = 161,
|
|
334
|
+
/** ASTC 5×5 block compression, sRGB (16 bytes per block). */
|
|
335
|
+
ASTC_5X5_SRGB_BLOCK = 162,
|
|
336
|
+
/** ASTC 6×5 block compression, unsigned normalized (16 bytes per block). */
|
|
337
|
+
ASTC_6X5_UNORM_BLOCK = 163,
|
|
338
|
+
/** ASTC 6×5 block compression, sRGB (16 bytes per block). */
|
|
339
|
+
ASTC_6X5_SRGB_BLOCK = 164,
|
|
340
|
+
/** ASTC 6×6 block compression, unsigned normalized (16 bytes per block). */
|
|
341
|
+
ASTC_6X6_UNORM_BLOCK = 165,
|
|
342
|
+
/** ASTC 6×6 block compression, sRGB (16 bytes per block). */
|
|
343
|
+
ASTC_6X6_SRGB_BLOCK = 166,
|
|
344
|
+
/** ASTC 8×5 block compression, unsigned normalized (16 bytes per block). */
|
|
345
|
+
ASTC_8X5_UNORM_BLOCK = 167,
|
|
346
|
+
/** ASTC 8×5 block compression, sRGB (16 bytes per block). */
|
|
347
|
+
ASTC_8X5_SRGB_BLOCK = 168,
|
|
348
|
+
/** ASTC 8×6 block compression, unsigned normalized (16 bytes per block). */
|
|
349
|
+
ASTC_8X6_UNORM_BLOCK = 169,
|
|
350
|
+
/** ASTC 8×6 block compression, sRGB (16 bytes per block). */
|
|
351
|
+
ASTC_8X6_SRGB_BLOCK = 170,
|
|
352
|
+
/** ASTC 8×8 block compression, unsigned normalized (16 bytes per block). */
|
|
353
|
+
ASTC_8X8_UNORM_BLOCK = 171,
|
|
354
|
+
/** ASTC 8×8 block compression, sRGB (16 bytes per block). */
|
|
355
|
+
ASTC_8X8_SRGB_BLOCK = 172,
|
|
356
|
+
/** ASTC 10×5 block compression, unsigned normalized (16 bytes per block). */
|
|
357
|
+
ASTC_10X5_UNORM_BLOCK = 173,
|
|
358
|
+
/** ASTC 10×5 block compression, sRGB (16 bytes per block). */
|
|
359
|
+
ASTC_10X5_SRGB_BLOCK = 174,
|
|
360
|
+
/** ASTC 10×6 block compression, unsigned normalized (16 bytes per block). */
|
|
361
|
+
ASTC_10X6_UNORM_BLOCK = 175,
|
|
362
|
+
/** ASTC 10×6 block compression, sRGB (16 bytes per block). */
|
|
363
|
+
ASTC_10X6_SRGB_BLOCK = 176,
|
|
364
|
+
/** ASTC 10×8 block compression, unsigned normalized (16 bytes per block). */
|
|
365
|
+
ASTC_10X8_UNORM_BLOCK = 177,
|
|
366
|
+
/** ASTC 10×8 block compression, sRGB (16 bytes per block). */
|
|
367
|
+
ASTC_10X8_SRGB_BLOCK = 178,
|
|
368
|
+
/** ASTC 10×10 block compression, unsigned normalized (16 bytes per block). */
|
|
369
|
+
ASTC_10X10_UNORM_BLOCK = 179,
|
|
370
|
+
/** ASTC 10×10 block compression, sRGB (16 bytes per block). */
|
|
371
|
+
ASTC_10X10_SRGB_BLOCK = 180,
|
|
372
|
+
/** ASTC 12×10 block compression, unsigned normalized (16 bytes per block). */
|
|
373
|
+
ASTC_12X10_UNORM_BLOCK = 181,
|
|
374
|
+
/** ASTC 12×10 block compression, sRGB (16 bytes per block). */
|
|
375
|
+
ASTC_12X10_SRGB_BLOCK = 182,
|
|
376
|
+
/** ASTC 12×12 block compression, unsigned normalized (16 bytes per block). */
|
|
377
|
+
ASTC_12X12_UNORM_BLOCK = 183,
|
|
378
|
+
/** ASTC 12×12 block compression, sRGB (16 bytes per block). */
|
|
379
|
+
ASTC_12X12_SRGB_BLOCK = 184,
|
|
380
|
+
/** Packed 4:2:2 format with 8-bit unsigned normalized components in order G, B, G, R. */
|
|
381
|
+
G8B8G8R8_422_UNORM = 1000156000,
|
|
382
|
+
/** Packed 4:2:2 format with 8-bit unsigned normalized components in order B, G, R, G. */
|
|
383
|
+
B8G8R8G8_422_UNORM = 1000156001,
|
|
384
|
+
/** 4:2:0 format stored as three planes (G, B, and R), 8-bit unsigned normalized samples. */
|
|
385
|
+
G8_B8_R8_3PLANE_420_UNORM = 1000156002,
|
|
386
|
+
/** 4:2:0 format stored as two planes (G, and interleaved B and R), 8-bit unsigned normalized samples. */
|
|
387
|
+
G8_B8R8_2PLANE_420_UNORM = 1000156003,
|
|
388
|
+
/** 4:2:2 format stored as three planes (G, B, and R), 8-bit unsigned normalized samples. */
|
|
389
|
+
G8_B8_R8_3PLANE_422_UNORM = 1000156004,
|
|
390
|
+
/** 4:2:2 format stored as two planes (G, and interleaved B and R), 8-bit unsigned normalized samples. */
|
|
391
|
+
G8_B8R8_2PLANE_422_UNORM = 1000156005,
|
|
392
|
+
/** 4:4:4 format stored as three planes (G, B, and R), 8-bit unsigned normalized samples. */
|
|
393
|
+
G8_B8_R8_3PLANE_444_UNORM = 1000156006,
|
|
394
|
+
/** red with 10 significant bits and 6 unused bits, unsigned normalized, packed into a 16-bit word. */
|
|
395
|
+
R10X6_UNORM_PACK16 = 1000156007,
|
|
396
|
+
/** red and green, each with 10 significant bits and 6 unused bits, unsigned normalized, packed into two 16-bit words. */
|
|
397
|
+
R10X6G10X6_UNORM_2PACK16 = 1000156008,
|
|
398
|
+
/** red, green, blue, and alpha, each with 10 significant bits and 6 unused bits, unsigned normalized, packed into four 16-bit words. */
|
|
399
|
+
R10X6G10X6B10X6A10X6_UNORM_4PACK16 = 1000156009,
|
|
400
|
+
/** Packed 4:2:2 format, unsigned normalized, each component with 10 significant bits and 6 unused bits, component order G, B, G, R. */
|
|
401
|
+
G10X6B10X6G10X6R10X6_422_UNORM_4PACK16 = 1000156010,
|
|
402
|
+
/** Packed 4:2:2 format, unsigned normalized, each component with 10 significant bits and 6 unused bits, component order B, G, R, G. */
|
|
403
|
+
B10X6G10X6R10X6G10X6_422_UNORM_4PACK16 = 1000156011,
|
|
404
|
+
/** 4:2:0 format stored as three planes (G, B, and R), unsigned normalized samples with 10 significant bits and 6 unused bits. */
|
|
405
|
+
G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 = 1000156012,
|
|
406
|
+
/** 4:2:0 format stored as two planes (G, and interleaved B and R), unsigned normalized samples with 10 significant bits and 6 unused bits. */
|
|
407
|
+
G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 = 1000156013,
|
|
408
|
+
/** 4:2:2 format stored as three planes (G, B, and R), unsigned normalized samples with 10 significant bits and 6 unused bits. */
|
|
409
|
+
G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 = 1000156014,
|
|
410
|
+
/** 4:2:2 format stored as two planes (G, and interleaved B and R), unsigned normalized samples with 10 significant bits and 6 unused bits. */
|
|
411
|
+
G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16 = 1000156015,
|
|
412
|
+
/** 4:4:4 format stored as three planes (G, B, and R), unsigned normalized samples with 10 significant bits and 6 unused bits. */
|
|
413
|
+
G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 = 1000156016,
|
|
414
|
+
/** red with 12 significant bits and 4 unused bits, unsigned normalized, packed into a 16-bit word. */
|
|
415
|
+
R12X4_UNORM_PACK16 = 1000156017,
|
|
416
|
+
/** red and green, each with 12 significant bits and 4 unused bits, unsigned normalized, packed into two 16-bit words. */
|
|
417
|
+
R12X4G12X4_UNORM_2PACK16 = 1000156018,
|
|
418
|
+
/** red, green, blue, and alpha, each with 12 significant bits and 4 unused bits, unsigned normalized, packed into four 16-bit words. */
|
|
419
|
+
R12X4G12X4B12X4A12X4_UNORM_4PACK16 = 1000156019,
|
|
420
|
+
/** Packed 4:2:2 format, unsigned normalized, each component with 12 significant bits and 4 unused bits, component order G, B, G, R. */
|
|
421
|
+
G12X4B12X4G12X4R12X4_422_UNORM_4PACK16 = 1000156020,
|
|
422
|
+
/** Packed 4:2:2 format, unsigned normalized, each component with 12 significant bits and 4 unused bits, component order B, G, R, G. */
|
|
423
|
+
B12X4G12X4R12X4G12X4_422_UNORM_4PACK16 = 1000156021,
|
|
424
|
+
/** 4:2:0 format stored as three planes (G, B, and R), unsigned normalized samples with 12 significant bits and 4 unused bits. */
|
|
425
|
+
G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 = 1000156022,
|
|
426
|
+
/** 4:2:0 format stored as two planes (G, and interleaved B and R), unsigned normalized samples with 12 significant bits and 4 unused bits. */
|
|
427
|
+
G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16 = 1000156023,
|
|
428
|
+
/** 4:2:2 format stored as three planes (G, B, and R), unsigned normalized samples with 12 significant bits and 4 unused bits. */
|
|
429
|
+
G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 = 1000156024,
|
|
430
|
+
/** 4:2:2 format stored as two planes (G, and interleaved B and R), unsigned normalized samples with 12 significant bits and 4 unused bits. */
|
|
431
|
+
G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16 = 1000156025,
|
|
432
|
+
/** 4:4:4 format stored as three planes (G, B, and R), unsigned normalized samples with 12 significant bits and 4 unused bits. */
|
|
433
|
+
G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 = 1000156026,
|
|
434
|
+
/** Packed 4:2:2 format with 16-bit unsigned normalized components in order G, B, G, R. */
|
|
435
|
+
G16B16G16R16_422_UNORM = 1000156027,
|
|
436
|
+
/** Packed 4:2:2 format with 16-bit unsigned normalized components in order B, G, R, G. */
|
|
437
|
+
B16G16R16G16_422_UNORM = 1000156028,
|
|
438
|
+
/** 4:2:0 format stored as three planes (G, B, and R), 16-bit unsigned normalized samples. */
|
|
439
|
+
G16_B16_R16_3PLANE_420_UNORM = 1000156029,
|
|
440
|
+
/** 4:2:0 format stored as two planes (G, and interleaved B and R), 16-bit unsigned normalized samples. */
|
|
441
|
+
G16_B16R16_2PLANE_420_UNORM = 1000156030,
|
|
442
|
+
/** 4:2:2 format stored as three planes (G, B, and R), 16-bit unsigned normalized samples. */
|
|
443
|
+
G16_B16_R16_3PLANE_422_UNORM = 1000156031,
|
|
444
|
+
/** 4:2:2 format stored as two planes (G, and interleaved B and R), 16-bit unsigned normalized samples. */
|
|
445
|
+
G16_B16R16_2PLANE_422_UNORM = 1000156032,
|
|
446
|
+
/** 4:4:4 format stored as three planes (G, B, and R), 16-bit unsigned normalized samples. */
|
|
447
|
+
G16_B16_R16_3PLANE_444_UNORM = 1000156033,
|
|
448
|
+
/** 4:4:4 format stored as two planes (G, and interleaved B and R), 8-bit unsigned normalized samples. */
|
|
449
|
+
G8_B8R8_2PLANE_444_UNORM = 1000330000,
|
|
450
|
+
/** 4:4:4 format stored as two planes (G, and interleaved B and R), unsigned normalized samples with 10 significant bits and 6 unused bits. */
|
|
451
|
+
G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16 = 1000330001,
|
|
452
|
+
/** 4:4:4 format stored as two planes (G, and interleaved B and R), unsigned normalized samples with 12 significant bits and 4 unused bits. */
|
|
453
|
+
G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16 = 1000330002,
|
|
454
|
+
/** 4:4:4 format stored as two planes (G, and interleaved B and R), 16-bit unsigned normalized samples. */
|
|
455
|
+
G16_B16R16_2PLANE_444_UNORM = 1000330003,
|
|
456
|
+
/** 4-bit alpha, red, green, and blue, unsigned normalized, packed into a 16-bit word. */
|
|
457
|
+
A4R4G4B4_UNORM_PACK16 = 1000340000,
|
|
458
|
+
/** 4-bit alpha, blue, green, and red, unsigned normalized, packed into a 16-bit word. */
|
|
459
|
+
A4B4G4R4_UNORM_PACK16 = 1000340001,
|
|
460
|
+
/** ASTC 4×4 block compression, signed floating-point (16 bytes per block). */
|
|
461
|
+
ASTC_4X4_SFLOAT_BLOCK = 1000066000,
|
|
462
|
+
/** ASTC 5×4 block compression, signed floating-point (16 bytes per block). */
|
|
463
|
+
ASTC_5X4_SFLOAT_BLOCK = 1000066001,
|
|
464
|
+
/** ASTC 5×5 block compression, signed floating-point (16 bytes per block). */
|
|
465
|
+
ASTC_5X5_SFLOAT_BLOCK = 1000066002,
|
|
466
|
+
/** ASTC 6×5 block compression, signed floating-point (16 bytes per block). */
|
|
467
|
+
ASTC_6X5_SFLOAT_BLOCK = 1000066003,
|
|
468
|
+
/** ASTC 6×6 block compression, signed floating-point (16 bytes per block). */
|
|
469
|
+
ASTC_6X6_SFLOAT_BLOCK = 1000066004,
|
|
470
|
+
/** ASTC 8×5 block compression, signed floating-point (16 bytes per block). */
|
|
471
|
+
ASTC_8X5_SFLOAT_BLOCK = 1000066005,
|
|
472
|
+
/** ASTC 8×6 block compression, signed floating-point (16 bytes per block). */
|
|
473
|
+
ASTC_8X6_SFLOAT_BLOCK = 1000066006,
|
|
474
|
+
/** ASTC 8×8 block compression, signed floating-point (16 bytes per block). */
|
|
475
|
+
ASTC_8X8_SFLOAT_BLOCK = 1000066007,
|
|
476
|
+
/** ASTC 10×5 block compression, signed floating-point (16 bytes per block). */
|
|
477
|
+
ASTC_10X5_SFLOAT_BLOCK = 1000066008,
|
|
478
|
+
/** ASTC 10×6 block compression, signed floating-point (16 bytes per block). */
|
|
479
|
+
ASTC_10X6_SFLOAT_BLOCK = 1000066009,
|
|
480
|
+
/** ASTC 10×8 block compression, signed floating-point (16 bytes per block). */
|
|
481
|
+
ASTC_10X8_SFLOAT_BLOCK = 1000066010,
|
|
482
|
+
/** ASTC 10×10 block compression, signed floating-point (16 bytes per block). */
|
|
483
|
+
ASTC_10X10_SFLOAT_BLOCK = 1000066011,
|
|
484
|
+
/** ASTC 12×10 block compression, signed floating-point (16 bytes per block). */
|
|
485
|
+
ASTC_12X10_SFLOAT_BLOCK = 1000066012,
|
|
486
|
+
/** ASTC 12×12 block compression, signed floating-point (16 bytes per block). */
|
|
487
|
+
ASTC_12X12_SFLOAT_BLOCK = 1000066013,
|
|
488
|
+
/** 1-bit alpha, 5-bit blue, 5-bit green, and 5-bit red, unsigned normalized, packed into a 16-bit word. */
|
|
489
|
+
A1B5G5R5_UNORM_PACK16 = 1000470000,
|
|
490
|
+
/** 8-bit alpha, unsigned normalized. */
|
|
491
|
+
A8_UNORM = 1000470001,
|
|
492
|
+
/** PVRTC1 2 bits per pixel, unsigned normalized. */
|
|
493
|
+
PVRTC1_2BPP_UNORM_BLOCK_IMG = 1000054000,
|
|
494
|
+
/** PVRTC1 4 bits per pixel, unsigned normalized. */
|
|
495
|
+
PVRTC1_4BPP_UNORM_BLOCK_IMG = 1000054001,
|
|
496
|
+
/** PVRTC2 2 bits per pixel, unsigned normalized. */
|
|
497
|
+
PVRTC2_2BPP_UNORM_BLOCK_IMG = 1000054002,
|
|
498
|
+
/** PVRTC2 4 bits per pixel, unsigned normalized. */
|
|
499
|
+
PVRTC2_4BPP_UNORM_BLOCK_IMG = 1000054003,
|
|
500
|
+
/** PVRTC1 2 bits per pixel, sRGB. */
|
|
501
|
+
PVRTC1_2BPP_SRGB_BLOCK_IMG = 1000054004,
|
|
502
|
+
/** PVRTC1 4 bits per pixel, sRGB. */
|
|
503
|
+
PVRTC1_4BPP_SRGB_BLOCK_IMG = 1000054005,
|
|
504
|
+
/** PVRTC2 2 bits per pixel, sRGB. */
|
|
505
|
+
PVRTC2_2BPP_SRGB_BLOCK_IMG = 1000054006,
|
|
506
|
+
/** PVRTC2 4 bits per pixel, sRGB. */
|
|
507
|
+
PVRTC2_4BPP_SRGB_BLOCK_IMG = 1000054007,
|
|
508
|
+
/** Two 16-bit signed fixed-point components (red and green). Each component has 10 integer bits and 5 fractional bits (NVIDIA). */
|
|
509
|
+
R16G16_SFIXED5_NV = 1000464000,
|
|
510
|
+
/** Alias of {@link VkFormat.ASTC_4X4_SFLOAT_BLOCK}. */
|
|
511
|
+
ASTC_4X4_SFLOAT_BLOCK_EXT = 1000066000,
|
|
512
|
+
/** Alias of {@link VkFormat.ASTC_5X4_SFLOAT_BLOCK}. */
|
|
513
|
+
ASTC_5X4_SFLOAT_BLOCK_EXT = 1000066001,
|
|
514
|
+
/** Alias of {@link VkFormat.ASTC_5X5_SFLOAT_BLOCK}. */
|
|
515
|
+
ASTC_5X5_SFLOAT_BLOCK_EXT = 1000066002,
|
|
516
|
+
/** Alias of {@link VkFormat.ASTC_6X5_SFLOAT_BLOCK}. */
|
|
517
|
+
ASTC_6X5_SFLOAT_BLOCK_EXT = 1000066003,
|
|
518
|
+
/** Alias of {@link VkFormat.ASTC_6X6_SFLOAT_BLOCK}. */
|
|
519
|
+
ASTC_6X6_SFLOAT_BLOCK_EXT = 1000066004,
|
|
520
|
+
/** Alias of {@link VkFormat.ASTC_8X5_SFLOAT_BLOCK}. */
|
|
521
|
+
ASTC_8X5_SFLOAT_BLOCK_EXT = 1000066005,
|
|
522
|
+
/** Alias of {@link VkFormat.ASTC_8X6_SFLOAT_BLOCK}. */
|
|
523
|
+
ASTC_8X6_SFLOAT_BLOCK_EXT = 1000066006,
|
|
524
|
+
/** Alias of {@link VkFormat.ASTC_8X8_SFLOAT_BLOCK}. */
|
|
525
|
+
ASTC_8X8_SFLOAT_BLOCK_EXT = 1000066007,
|
|
526
|
+
/** Alias of {@link VkFormat.ASTC_10X5_SFLOAT_BLOCK}. */
|
|
527
|
+
ASTC_10X5_SFLOAT_BLOCK_EXT = 1000066008,
|
|
528
|
+
/** Alias of {@link VkFormat.ASTC_10X6_SFLOAT_BLOCK}. */
|
|
529
|
+
ASTC_10X6_SFLOAT_BLOCK_EXT = 1000066009,
|
|
530
|
+
/** Alias of {@link VkFormat.ASTC_10X8_SFLOAT_BLOCK}. */
|
|
531
|
+
ASTC_10X8_SFLOAT_BLOCK_EXT = 1000066010,
|
|
532
|
+
/** Alias of {@link VkFormat.ASTC_10X10_SFLOAT_BLOCK}. */
|
|
533
|
+
ASTC_10X10_SFLOAT_BLOCK_EXT = 1000066011,
|
|
534
|
+
/** Alias of {@link VkFormat.ASTC_12X10_SFLOAT_BLOCK}. */
|
|
535
|
+
ASTC_12X10_SFLOAT_BLOCK_EXT = 1000066012,
|
|
536
|
+
/** Alias of {@link VkFormat.ASTC_12X12_SFLOAT_BLOCK}. */
|
|
537
|
+
ASTC_12X12_SFLOAT_BLOCK_EXT = 1000066013,
|
|
538
|
+
/** Alias of {@link VkFormat.G8B8G8R8_422_UNORM}. */
|
|
539
|
+
G8B8G8R8_422_UNORM_KHR = 1000156000,
|
|
540
|
+
/** Alias of {@link VkFormat.B8G8R8G8_422_UNORM}. */
|
|
541
|
+
B8G8R8G8_422_UNORM_KHR = 1000156001,
|
|
542
|
+
/** Alias of {@link VkFormat.G8_B8_R8_3PLANE_420_UNORM}. */
|
|
543
|
+
G8_B8_R8_3PLANE_420_UNORM_KHR = 1000156002,
|
|
544
|
+
/** Alias of {@link VkFormat.G8_B8R8_2PLANE_420_UNORM}. */
|
|
545
|
+
G8_B8R8_2PLANE_420_UNORM_KHR = 1000156003,
|
|
546
|
+
/** Alias of {@link VkFormat.G8_B8_R8_3PLANE_422_UNORM}. */
|
|
547
|
+
G8_B8_R8_3PLANE_422_UNORM_KHR = 1000156004,
|
|
548
|
+
/** Alias of {@link VkFormat.G8_B8R8_2PLANE_422_UNORM}. */
|
|
549
|
+
G8_B8R8_2PLANE_422_UNORM_KHR = 1000156005,
|
|
550
|
+
/** Alias of {@link VkFormat.G8_B8_R8_3PLANE_444_UNORM}. */
|
|
551
|
+
G8_B8_R8_3PLANE_444_UNORM_KHR = 1000156006,
|
|
552
|
+
/** Alias of {@link VkFormat.R10X6_UNORM_PACK16}. */
|
|
553
|
+
R10X6_UNORM_PACK16_KHR = 1000156007,
|
|
554
|
+
/** Alias of {@link VkFormat.R10X6G10X6_UNORM_2PACK16}. */
|
|
555
|
+
R10X6G10X6_UNORM_2PACK16_KHR = 1000156008,
|
|
556
|
+
/** Alias of {@link VkFormat.R10X6G10X6B10X6A10X6_UNORM_4PACK16}. */
|
|
557
|
+
R10X6G10X6B10X6A10X6_UNORM_4PACK16_KHR = 1000156009,
|
|
558
|
+
/** Alias of {@link VkFormat.G10X6B10X6G10X6R10X6_422_UNORM_4PACK16}. */
|
|
559
|
+
G10X6B10X6G10X6R10X6_422_UNORM_4PACK16_KHR = 1000156010,
|
|
560
|
+
/** Alias of {@link VkFormat.B10X6G10X6R10X6G10X6_422_UNORM_4PACK16}. */
|
|
561
|
+
B10X6G10X6R10X6G10X6_422_UNORM_4PACK16_KHR = 1000156011,
|
|
562
|
+
/** Alias of {@link VkFormat.G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16}. */
|
|
563
|
+
G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16_KHR = 1000156012,
|
|
564
|
+
/** Alias of {@link VkFormat.G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16}. */
|
|
565
|
+
G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16_KHR = 1000156013,
|
|
566
|
+
/** Alias of {@link VkFormat.G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16}. */
|
|
567
|
+
G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16_KHR = 1000156014,
|
|
568
|
+
/** Alias of {@link VkFormat.G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16}. */
|
|
569
|
+
G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16_KHR = 1000156015,
|
|
570
|
+
/** Alias of {@link VkFormat.G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16}. */
|
|
571
|
+
G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16_KHR = 1000156016,
|
|
572
|
+
/** Alias of {@link VkFormat.R12X4_UNORM_PACK16}. */
|
|
573
|
+
R12X4_UNORM_PACK16_KHR = 1000156017,
|
|
574
|
+
/** Alias of {@link VkFormat.R12X4G12X4_UNORM_2PACK16}. */
|
|
575
|
+
R12X4G12X4_UNORM_2PACK16_KHR = 1000156018,
|
|
576
|
+
/** Alias of {@link VkFormat.R12X4G12X4B12X4A12X4_UNORM_4PACK16}. */
|
|
577
|
+
R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR = 1000156019,
|
|
578
|
+
/** Alias of {@link VkFormat.G12X4B12X4G12X4R12X4_422_UNORM_4PACK16}. */
|
|
579
|
+
G12X4B12X4G12X4R12X4_422_UNORM_4PACK16_KHR = 1000156020,
|
|
580
|
+
/** Alias of {@link VkFormat.B12X4G12X4R12X4G12X4_422_UNORM_4PACK16}. */
|
|
581
|
+
B12X4G12X4R12X4G12X4_422_UNORM_4PACK16_KHR = 1000156021,
|
|
582
|
+
/** Alias of {@link VkFormat.G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16}. */
|
|
583
|
+
G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16_KHR = 1000156022,
|
|
584
|
+
/** Alias of {@link VkFormat.G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16}. */
|
|
585
|
+
G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16_KHR = 1000156023,
|
|
586
|
+
/** Alias of {@link VkFormat.G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16}. */
|
|
587
|
+
G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16_KHR = 1000156024,
|
|
588
|
+
/** Alias of {@link VkFormat.G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16}. */
|
|
589
|
+
G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16_KHR = 1000156025,
|
|
590
|
+
/** Alias of {@link VkFormat.G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16}. */
|
|
591
|
+
G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16_KHR = 1000156026,
|
|
592
|
+
/** Alias of {@link VkFormat.G16B16G16R16_422_UNORM}. */
|
|
593
|
+
G16B16G16R16_422_UNORM_KHR = 1000156027,
|
|
594
|
+
/** Alias of {@link VkFormat.B16G16R16G16_422_UNORM}. */
|
|
595
|
+
B16G16R16G16_422_UNORM_KHR = 1000156028,
|
|
596
|
+
/** Alias of {@link VkFormat.G16_B16_R16_3PLANE_420_UNORM}. */
|
|
597
|
+
G16_B16_R16_3PLANE_420_UNORM_KHR = 1000156029,
|
|
598
|
+
/** Alias of {@link VkFormat.G16_B16R16_2PLANE_420_UNORM}. */
|
|
599
|
+
G16_B16R16_2PLANE_420_UNORM_KHR = 1000156030,
|
|
600
|
+
/** Alias of {@link VkFormat.G16_B16_R16_3PLANE_422_UNORM}. */
|
|
601
|
+
G16_B16_R16_3PLANE_422_UNORM_KHR = 1000156031,
|
|
602
|
+
/** Alias of {@link VkFormat.G16_B16R16_2PLANE_422_UNORM}. */
|
|
603
|
+
G16_B16R16_2PLANE_422_UNORM_KHR = 1000156032,
|
|
604
|
+
/** Alias of {@link VkFormat.G16_B16_R16_3PLANE_444_UNORM}. */
|
|
605
|
+
G16_B16_R16_3PLANE_444_UNORM_KHR = 1000156033,
|
|
606
|
+
/** Alias of {@link VkFormat.G8_B8R8_2PLANE_444_UNORM}. */
|
|
607
|
+
G8_B8R8_2PLANE_444_UNORM_EXT = 1000330000,
|
|
608
|
+
/** Alias of {@link VkFormat.G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16}. */
|
|
609
|
+
G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16_EXT = 1000330001,
|
|
610
|
+
/** Alias of {@link VkFormat.G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16}. */
|
|
611
|
+
G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16_EXT = 1000330002,
|
|
612
|
+
/** Alias of {@link VkFormat.G16_B16R16_2PLANE_444_UNORM}. */
|
|
613
|
+
G16_B16R16_2PLANE_444_UNORM_EXT = 1000330003,
|
|
614
|
+
/** Alias of {@link VkFormat.A4R4G4B4_UNORM_PACK16}. */
|
|
615
|
+
A4R4G4B4_UNORM_PACK16_EXT = 1000340000,
|
|
616
|
+
/** Alias of {@link VkFormat.A4B4G4R4_UNORM_PACK16}. */
|
|
617
|
+
A4B4G4R4_UNORM_PACK16_EXT = 1000340001,
|
|
618
|
+
/** Alias of {@link VkFormat.R16G16_SFIXED5_NV}. */
|
|
619
|
+
R16G16_S10_5_NV = 1000464000,
|
|
620
|
+
/** Alias of {@link VkFormat.A1B5G5R5_UNORM_PACK16}. */
|
|
621
|
+
A1B5G5R5_UNORM_PACK16_KHR = 1000470000,
|
|
622
|
+
/** Alias of {@link VkFormat.A8_UNORM}. */
|
|
623
|
+
A8_UNORM_KHR = 1000470001,
|
|
624
|
+
/** Largest enumerator value. Not a texture format. */
|
|
625
|
+
MAX_ENUM = 2147483647,
|
|
626
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KTX2 surface implemented by the `ris-ktx2` package.
|
|
3
|
+
*/
|
|
4
|
+
export * from './IKtxBasisParams.ts';
|
|
5
|
+
export * from './IKtx2Factory.ts';
|
|
6
|
+
export * from './KtxTranscodeFlags.ts';
|
|
7
|
+
export * from './KtxTranscodeFormat.ts';
|
|
8
|
+
export * from './KtxUastcFlags.ts';
|
|
9
|
+
export * from './VkFormat.ts';
|
|
10
|
+
export * from './IKtx2Texture.ts';
|
|
11
|
+
export * from './TextureFormatInfo.ts';
|
|
12
|
+
export * from './IKtxTextureCreateInfo.ts';
|
|
13
|
+
export * from './KtxCreateStorage.ts';
|
|
14
|
+
export * from './KtxErrorCode.ts';
|