GLI
0.5.0
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
Users
Groove
Documents
GitHub
gli
gli
core
format.hpp
Go to the documentation of this file.
1
29
#ifndef GLI_CORE_FORMAT_INCLUDED
30
#define GLI_CORE_FORMAT_INCLUDED
31
32
namespace
gli
33
{
34
enum
format
35
{
36
FORMAT_NULL
,
37
38
// unorm formats
39
R8_UNORM
,
40
RG8_UNORM
,
41
RGB8_UNORM
,
42
RGBA8_UNORM
,
43
44
R16_UNORM
,
45
RG16_UNORM
,
46
RGB16_UNORM
,
47
RGBA16_UNORM
,
48
49
// snorm formats
50
R8_SNORM
,
51
RG8_SNORM
,
52
RGB8_SNORM
,
53
RGBA8_SNORM
,
54
55
R16_SNORM
,
56
RG16_SNORM
,
57
RGB16_SNORM
,
58
RGBA16_SNORM
,
59
60
// Unsigned integer formats
61
R8U
,
62
RG8U
,
63
RGB8U
,
64
RGBA8U
,
65
66
R16U
,
67
RG16U
,
68
RGB16U
,
69
RGBA16U
,
70
71
R32U
,
72
RG32U
,
73
RGB32U
,
74
RGBA32U
,
75
76
// Signed integer formats
77
R8I
,
78
RG8I
,
79
RGB8I
,
80
RGBA8I
,
81
82
R16I
,
83
RG16I
,
84
RGB16I
,
85
RGBA16I
,
86
87
R32I
,
88
RG32I
,
89
RGB32I
,
90
RGBA32I
,
91
92
// Floating formats
93
R16F
,
94
RG16F
,
95
RGB16F
,
96
RGBA16F
,
97
98
R32F
,
99
RG32F
,
100
RGB32F
,
101
RGBA32F
,
102
103
// Packed formats
104
RGB9E5
,
105
RG11B10F
,
106
R3G3B2
,
107
R5G6B5
,
108
RGB5A1
,
109
RGBA4
,
110
RGB10A2
,
111
112
// Depth formats
113
D16
,
114
D24X8
,
115
D24S8
,
116
D32F
,
117
D32FS8X24
,
118
119
// Compressed formats
120
RGB_DXT1
,
121
RGBA_DXT1
,
122
RGBA_DXT3
,
123
RGBA_DXT5
,
124
R_ATI1N_UNORM
,
125
R_ATI1N_SNORM
,
126
RG_ATI2N_UNORM
,
127
RG_ATI2N_SNORM
,
128
RGB_BP_UNSIGNED_FLOAT
,
129
RGB_BP_SIGNED_FLOAT
,
130
RGB_BP_UNORM
,
131
RGB_PVRTC_4BPPV1
,
132
RGB_PVRTC_2BPPV1
,
133
RGBA_PVRTC_4BPPV1
,
134
RGBA_PVRTC_2BPPV1
,
135
ATC_RGB
,
136
ATC_RGBA_EXPLICIT_ALPHA
,
137
ATC_RGBA_INTERPOLATED_ALPHA
,
138
RGBA_ASTC_4x4
,
139
RGBA_ASTC_5x4
,
140
RGBA_ASTC_5x5
,
141
RGBA_ASTC_6x5
,
142
RGBA_ASTC_6x6
,
143
RGBA_ASTC_8x5
,
144
RGBA_ASTC_8x6
,
145
RGBA_ASTC_8x8
,
146
RGBA_ASTC_10x5
,
147
RGBA_ASTC_10x6
,
148
RGBA_ASTC_10x8
,
149
RGBA_ASTC_10x10
,
150
RGBA_ASTC_12x10
,
151
RGBA_ASTC_12x12
,
152
153
// sRGB formats
154
SRGB8
,
155
SRGB8_ALPHA8
,
156
SRGB_DXT1
,
157
SRGB_ALPHA_DXT1
,
158
SRGB_ALPHA_DXT3
,
159
SRGB_ALPHA_DXT5
,
160
SRGB_BP_UNORM
,
161
SRGB_PVRTC_2BPPV1
,
162
SRGB_PVRTC_4BPPV1
,
163
SRGB_ALPHA_PVRTC_2BPPV1
,
164
SRGB_ALPHA_PVRTC_4BPPV1
,
165
SRGB8_ALPHA8_ASTC_4x4
,
166
SRGB8_ALPHA8_ASTC_5x4
,
167
SRGB8_ALPHA8_ASTC_5x5
,
168
SRGB8_ALPHA8_ASTC_6x5
,
169
SRGB8_ALPHA8_ASTC_6x6
,
170
SRGB8_ALPHA8_ASTC_8x5
,
171
SRGB8_ALPHA8_ASTC_8x6
,
172
SRGB8_ALPHA8_ASTC_8x8
,
173
SRGB8_ALPHA8_ASTC_10x5
,
174
SRGB8_ALPHA8_ASTC_10x6
,
175
SRGB8_ALPHA8_ASTC_10x8
,
176
SRGB8_ALPHA8_ASTC_10x10
,
177
SRGB8_ALPHA8_ASTC_12x10
,
178
SRGB8_ALPHA8_ASTC_12x12
,
179
180
FORMAT_MAX
181
};
182
183
enum
dxgiFormat
184
{
185
DXGI_FORMAT_UNKNOWN
= 0,
186
DXGI_FORMAT_R32G32B32A32_TYPELESS
= 1,
187
DXGI_FORMAT_R32G32B32A32_FLOAT
= 2,
188
DXGI_FORMAT_R32G32B32A32_UINT
= 3,
189
DXGI_FORMAT_R32G32B32A32_SINT
= 4,
190
DXGI_FORMAT_R32G32B32_TYPELESS
= 5,
191
DXGI_FORMAT_R32G32B32_FLOAT
= 6,
192
DXGI_FORMAT_R32G32B32_UINT
= 7,
193
DXGI_FORMAT_R32G32B32_SINT
= 8,
194
DXGI_FORMAT_R16G16B16A16_TYPELESS
= 9,
195
DXGI_FORMAT_R16G16B16A16_FLOAT
= 10,
196
DXGI_FORMAT_R16G16B16A16_UNORM
= 11,
197
DXGI_FORMAT_R16G16B16A16_UINT
= 12,
198
DXGI_FORMAT_R16G16B16A16_SNORM
= 13,
199
DXGI_FORMAT_R16G16B16A16_SINT
= 14,
200
DXGI_FORMAT_R32G32_TYPELESS
= 15,
201
DXGI_FORMAT_R32G32_FLOAT
= 16,
202
DXGI_FORMAT_R32G32_UINT
= 17,
203
DXGI_FORMAT_R32G32_SINT
= 18,
204
DXGI_FORMAT_R32G8X24_TYPELESS
= 19,
205
DXGI_FORMAT_D32_FLOAT_S8X24_UINT
= 20,
206
DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS
= 21,
207
DXGI_FORMAT_X32_TYPELESS_G8X24_UINT
= 22,
208
DXGI_FORMAT_R10G10B10A2_TYPELESS
= 23,
209
DXGI_FORMAT_R10G10B10A2_UNORM
= 24,
210
DXGI_FORMAT_R10G10B10A2_UINT
= 25,
211
DXGI_FORMAT_R11G11B10_FLOAT
= 26,
212
DXGI_FORMAT_R8G8B8A8_TYPELESS
= 27,
213
DXGI_FORMAT_R8G8B8A8_UNORM
= 28,
214
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB
= 29,
215
DXGI_FORMAT_R8G8B8A8_UINT
= 30,
216
DXGI_FORMAT_R8G8B8A8_SNORM
= 31,
217
DXGI_FORMAT_R8G8B8A8_SINT
= 32,
218
DXGI_FORMAT_R16G16_TYPELESS
= 33,
219
DXGI_FORMAT_R16G16_FLOAT
= 34,
220
DXGI_FORMAT_R16G16_UNORM
= 35,
221
DXGI_FORMAT_R16G16_UINT
= 36,
222
DXGI_FORMAT_R16G16_SNORM
= 37,
223
DXGI_FORMAT_R16G16_SINT
= 38,
224
DXGI_FORMAT_R32_TYPELESS
= 39,
225
DXGI_FORMAT_D32_FLOAT
= 40,
226
DXGI_FORMAT_R32_FLOAT
= 41,
227
DXGI_FORMAT_R32_UINT
= 42,
228
DXGI_FORMAT_R32_SINT
= 43,
229
DXGI_FORMAT_R24G8_TYPELESS
= 44,
230
DXGI_FORMAT_D24_UNORM_S8_UINT
= 45,
231
DXGI_FORMAT_R24_UNORM_X8_TYPELESS
= 46,
232
DXGI_FORMAT_X24_TYPELESS_G8_UINT
= 47,
233
DXGI_FORMAT_R8G8_TYPELESS
= 48,
234
DXGI_FORMAT_R8G8_UNORM
= 49,
235
DXGI_FORMAT_R8G8_UINT
= 50,
236
DXGI_FORMAT_R8G8_SNORM
= 51,
237
DXGI_FORMAT_R8G8_SINT
= 52,
238
DXGI_FORMAT_R16_TYPELESS
= 53,
239
DXGI_FORMAT_R16_FLOAT
= 54,
240
DXGI_FORMAT_D16_UNORM
= 55,
241
DXGI_FORMAT_R16_UNORM
= 56,
242
DXGI_FORMAT_R16_UINT
= 57,
243
DXGI_FORMAT_R16_SNORM
= 58,
244
DXGI_FORMAT_R16_SINT
= 59,
245
DXGI_FORMAT_R8_TYPELESS
= 60,
246
DXGI_FORMAT_R8_UNORM
= 61,
247
DXGI_FORMAT_R8_UINT
= 62,
248
DXGI_FORMAT_R8_SNORM
= 63,
249
DXGI_FORMAT_R8_SINT
= 64,
250
DXGI_FORMAT_A8_UNORM
= 65,
251
DXGI_FORMAT_R1_UNORM
= 66,
252
DXGI_FORMAT_R9G9B9E5_SHAREDEXP
= 67,
253
DXGI_FORMAT_R8G8_B8G8_UNORM
= 68,
254
DXGI_FORMAT_G8R8_G8B8_UNORM
= 69,
255
DXGI_FORMAT_BC1_TYPELESS
= 70,
256
DXGI_FORMAT_BC1_UNORM
= 71,
257
DXGI_FORMAT_BC1_UNORM_SRGB
= 72,
258
DXGI_FORMAT_BC2_TYPELESS
= 73,
259
DXGI_FORMAT_BC2_UNORM
= 74,
260
DXGI_FORMAT_BC2_UNORM_SRGB
= 75,
261
DXGI_FORMAT_BC3_TYPELESS
= 76,
262
DXGI_FORMAT_BC3_UNORM
= 77,
263
DXGI_FORMAT_BC3_UNORM_SRGB
= 78,
264
DXGI_FORMAT_BC4_TYPELESS
= 79,
265
DXGI_FORMAT_BC4_UNORM
= 80,
266
DXGI_FORMAT_BC4_SNORM
= 81,
267
DXGI_FORMAT_BC5_TYPELESS
= 82,
268
DXGI_FORMAT_BC5_UNORM
= 83,
269
DXGI_FORMAT_BC5_SNORM
= 84,
270
DXGI_FORMAT_B5G6R5_UNORM
= 85,
271
DXGI_FORMAT_B5G5R5A1_UNORM
= 86,
272
DXGI_FORMAT_B8G8R8A8_UNORM
= 87,
273
DXGI_FORMAT_B8G8R8X8_UNORM
= 88,
274
DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM
= 89,
275
DXGI_FORMAT_B8G8R8A8_TYPELESS
= 90,
276
DXGI_FORMAT_B8G8R8A8_UNORM_SRGB
= 91,
277
DXGI_FORMAT_B8G8R8X8_TYPELESS
= 92,
278
DXGI_FORMAT_B8G8R8X8_UNORM_SRGB
= 93,
279
DXGI_FORMAT_BC6H_TYPELESS
= 94,
280
DXGI_FORMAT_BC6H_UF16
= 95,
281
DXGI_FORMAT_BC6H_SF16
= 96,
282
DXGI_FORMAT_BC7_TYPELESS
= 97,
283
DXGI_FORMAT_BC7_UNORM
= 98,
284
DXGI_FORMAT_BC7_UNORM_SRGB
= 99,
285
DXGI_FORMAT_FORCE_UINT
= 0xffffffffUL
286
};
287
288
enum
internalFormat
289
{
290
INTERNAL_NONE
= 0,
//GL_NONE
291
292
// unorm formats
293
INTERNAL_R8_UNORM
= 0x8229,
//GL_R8
294
INTERNAL_RG8_UNORM
= 0x822B,
//GL_RG8
295
INTERNAL_RGB8_UNORM
= 0x8051,
//GL_RGB8
296
INTERNAL_RGBA8_UNORM
= 0x8058,
//GL_RGBA8
297
298
INTERNAL_R16_UNORM
= 0x822A,
//GL_R16
299
INTERNAL_RG16_UNORM
= 0x822C,
//GL_RG16
300
INTERNAL_RGB16_UNORM
= 0x8054,
//GL_RGB16
301
INTERNAL_RGBA16_UNORM
= 0x805B,
//GL_RGBA16
302
303
// snorm formats
304
INTERNAL_R8_SNORM
= 0x8F94,
//GL_R8_SNORM
305
INTERNAL_RG8_SNORM
= 0x8F95,
//GL_RG8_SNORM
306
INTERNAL_RGB8_SNORM
= 0x8F96,
//GL_RGB8_SNORM
307
INTERNAL_RGBA8_SNORM
= 0x8F97,
//GL_RGBA8_SNORM
308
309
INTERNAL_R16_SNORM
= 0x8F98,
//GL_R16_SNORM
310
INTERNAL_RG16_SNORM
= 0x8F99,
//GL_RG16_SNORM
311
INTERNAL_RGB16_SNORM
= 0x8F9A,
//GL_RGB16_SNORM
312
INTERNAL_RGBA16_SNORM
= 0x8F9B,
//GL_RGBA16_SNORM
313
314
// Unsigned integer formats
315
INTERNAL_R8U
= 0x8232,
//GL_R8UI
316
INTERNAL_RG8U
= 0x8238,
//GL_RG8UI
317
INTERNAL_RGB8U
= 0x8D7D,
//GL_RGB8UI
318
INTERNAL_RGBA8U
= 0x8D7C,
//GL_RGBA8UI
319
320
INTERNAL_R16U
= 0x8234,
//GL_R16UI
321
INTERNAL_RG16U
= 0x823A,
//GL_RG16UI
322
INTERNAL_RGB16U
= 0x8D77,
//GL_RGB16UI
323
INTERNAL_RGBA16U
= 0x8D76,
//GL_RGBA16UI
324
325
INTERNAL_R32U
= 0x8236,
//GL_R32UI
326
INTERNAL_RG32U
= 0x823C,
//GL_RG32UI
327
INTERNAL_RGB32U
= 0x8D71,
//GL_RGB32UI
328
INTERNAL_RGBA32U
= 0x8D70,
//GL_RGBA32UI
329
330
// Signed integer formats
331
INTERNAL_R8I
= 0x8231,
//GL_R8I
332
INTERNAL_RG8I
= 0x8237,
//GL_RG8I
333
INTERNAL_RGB8I
= 0x8D8F,
//GL_RGB8I
334
INTERNAL_RGBA8I
= 0x8D8E,
//GL_RGBA8I
335
336
INTERNAL_R16I
= 0x8233,
//GL_R16I
337
INTERNAL_RG16I
= 0x8239,
//GL_RG16I
338
INTERNAL_RGB16I
= 0x8D89,
//GL_RGB16I
339
INTERNAL_RGBA16I
= 0x8D88,
//GL_RGBA16I
340
341
INTERNAL_R32I
= 0x8235,
//GL_R32I
342
INTERNAL_RG32I
= 0x823B,
//GL_RG32I
343
INTERNAL_RGB32I
= 0x8D83,
//GL_RGB32I
344
INTERNAL_RGBA32I
= 0x8D82,
//GL_RGBA32I
345
346
// Floating formats
347
INTERNAL_R16F
= 0x822D,
//GL_R16F
348
INTERNAL_RG16F
= 0x822F,
//GL_RG16F
349
INTERNAL_RGB16F
= 0x881B,
//GL_RGB16F
350
INTERNAL_RGBA16F
= 0x881A,
//GL_RGBA16F
351
352
INTERNAL_R32F
= 0x822E,
//GL_R32F
353
INTERNAL_RG32F
= 0x8230,
//GL_RG32F
354
INTERNAL_RGB32F
= 0x8815,
//GL_RGB32F
355
INTERNAL_RGBA32F
= 0x8814,
//GL_RGBA32F
356
357
// Packed formats
358
INTERNAL_RGB9E5
= 0x8C3D,
//GL_RGB9_E5
359
INTERNAL_RG11B10F
= 0x8C3A,
//GL_R11F_G11F_B10F
360
INTERNAL_RG3B2
= 0x2A10,
//GL_R3_G3_B2
361
INTERNAL_R5G6B5
= 0x8D62,
//GL_RGB565
362
INTERNAL_RGB5A1
= 0x8057,
//GL_RGB5_A1
363
INTERNAL_RGBA4
= 0x8056,
//GL_RGBA4
364
INTERNAL_RGB10A2
= 0x8059,
//GL_RGB10_A2UI
365
366
// Depth formats
367
INTERNAL_D16
= 0x81A5,
//GL_DEPTH_COMPONENT16
368
INTERNAL_D24
= 0x81A6,
//GL_DEPTH_COMPONENT24
369
INTERNAL_D24S8
= 0x88F0,
//GL_DEPTH24_STENCIL8
370
INTERNAL_D32
= 0x81A7,
//GL_DEPTH_COMPONENT32
371
INTERNAL_D32F
= 0x8CAC,
//GL_DEPTH_COMPONENT32F
372
INTERNAL_D32FS8X24
= 0x8CAD,
//GL_DEPTH32F_STENCIL8
373
374
// Compressed formats
375
INTERNAL_RGB_DXT1
= 0x83F0,
//GL_COMPRESSED_RGB_S3TC_DXT1_EXT
376
INTERNAL_RGBA_DXT1
= 0x83F1,
//GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
377
INTERNAL_RGBA_DXT3
= 0x83F2,
//GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
378
INTERNAL_RGBA_DXT5
= 0x83F3,
//GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
379
INTERNAL_R_ATI1N_UNORM
= 0x8DBB,
//GL_COMPRESSED_RED_RGTC1
380
INTERNAL_R_ATI1N_SNORM
= 0x8DBC,
//GL_COMPRESSED_SIGNED_RED_RGTC1
381
INTERNAL_RG_ATI2N_UNORM
= 0x8DBD,
//GL_COMPRESSED_RG_RGTC2
382
INTERNAL_RG_ATI2N_SNORM
= 0x8DBE,
//GL_COMPRESSED_SIGNED_RG_RGTC2
383
INTERNAL_RGB_BP_UNSIGNED_FLOAT
= 0x8E8F,
//GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT
384
INTERNAL_RGB_BP_SIGNED_FLOAT
= 0x8E8E,
//GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT
385
INTERNAL_RGB_BP_UNORM
= 0x8E8C,
//GL_COMPRESSED_RGBA_BPTC_UNORM
386
INTERNAL_RGB_PVRTC_4BPPV1
= 0x8C00,
//GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG
387
INTERNAL_RGB_PVRTC_2BPPV1
= 0x8C01,
//GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG
388
INTERNAL_RGBA_PVRTC_4BPPV1
= 0x8C02,
//GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG
389
INTERNAL_RGBA_PVRTC_2BPPV1
= 0x8C03,
//GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG
390
INTERNAL_ATC_RGB
= 0x8C92,
//GL_ATC_RGB_AMD
391
INTERNAL_ATC_RGBA_EXPLICIT_ALPHA
= 0x8C93,
//GL_ATC_RGBA_EXPLICIT_ALPHA_AMD
392
INTERNAL_ATC_RGBA_INTERPOLATED_ALPHA
= 0x87EE,
//GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD
393
INTERNAL_RGBA_ASTC_4x4
= 0x93B0,
//GL_COMPRESSED_RGBA_ASTC_4x4_KHR
394
INTERNAL_RGBA_ASTC_5x4
= 0x93B1,
//GL_COMPRESSED_RGBA_ASTC_5x4_KHR
395
INTERNAL_RGBA_ASTC_5x5
= 0x93B2,
//GL_COMPRESSED_RGBA_ASTC_5x5_KHR
396
INTERNAL_RGBA_ASTC_6x5
= 0x93B3,
//GL_COMPRESSED_RGBA_ASTC_6x5_KHR
397
INTERNAL_RGBA_ASTC_6x6
= 0x93B4,
//GL_COMPRESSED_RGBA_ASTC_6x6_KHR
398
INTERNAL_RGBA_ASTC_8x5
= 0x93B5,
//GL_COMPRESSED_RGBA_ASTC_8x5_KHR
399
INTERNAL_RGBA_ASTC_8x6
= 0x93B6,
//GL_COMPRESSED_RGBA_ASTC_8x6_KHR
400
INTERNAL_RGBA_ASTC_8x8
= 0x93B7,
//GL_COMPRESSED_RGBA_ASTC_8x8_KHR
401
INTERNAL_RGBA_ASTC_10x5
= 0x93B8,
//GL_COMPRESSED_RGBA_ASTC_10x5_KHR
402
INTERNAL_RGBA_ASTC_10x6
= 0x93B9,
//GL_COMPRESSED_RGBA_ASTC_10x6_KHR
403
INTERNAL_RGBA_ASTC_10x8
= 0x93BA,
//GL_COMPRESSED_RGBA_ASTC_10x8_KHR
404
INTERNAL_RGBA_ASTC_10x10
= 0x93BB,
//GL_COMPRESSED_RGBA_ASTC_10x10_KHR
405
INTERNAL_RGBA_ASTC_12x10
= 0x93BC,
//GL_COMPRESSED_RGBA_ASTC_12x10_KHR
406
INTERNAL_RGBA_ASTC_12x12
= 0x93BD,
//GL_COMPRESSED_RGBA_ASTC_12x12_KHR
407
408
// sRGB formats
409
INTERNAL_SRGB8
= 0x8C41,
//GL_SRGB8
410
INTERNAL_SRGB8_ALPHA8
= 0x8C43,
//GL_SRGB8_ALPHA8
411
INTERNAL_SRGB_DXT1
= 0x8C4C,
//GL_COMPRESSED_SRGB_S3TC_DXT1_EXT
412
INTERNAL_SRGB_ALPHA_DXT1
= 0x8C4C,
//GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT
413
INTERNAL_SRGB_ALPHA_DXT3
= 0x8C4E,
//GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT
414
INTERNAL_SRGB_ALPHA_DXT5
= 0x8C4F,
//GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT
415
INTERNAL_SRGB_BP_UNORM
= 0x8E8D,
//GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM
416
INTERNAL_SRGB_PVRTC_2BPPV1
= 0x8A54,
//GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT
417
INTERNAL_SRGB_PVRTC_4BPPV1
= 0x8A55,
//GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT
418
INTERNAL_SRGB_ALPHA_PVRTC_2BPPV1
= 0x8A56,
//GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT
419
INTERNAL_SRGB_ALPHA_PVRTC_4BPPV1
= 0x8A57,
//GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT
420
INTERNAL_SRGB8_ALPHA8_ASTC_4x4
= 0x93D0,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR
421
INTERNAL_SRGB8_ALPHA8_ASTC_5x4
= 0x93D1,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR
422
INTERNAL_SRGB8_ALPHA8_ASTC_5x5
= 0x93D2,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR
423
INTERNAL_SRGB8_ALPHA8_ASTC_6x5
= 0x93D3,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR
424
INTERNAL_SRGB8_ALPHA8_ASTC_6x6
= 0x93D4,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR
425
INTERNAL_SRGB8_ALPHA8_ASTC_8x5
= 0x93D5,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR
426
INTERNAL_SRGB8_ALPHA8_ASTC_8x6
= 0x93D6,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR
427
INTERNAL_SRGB8_ALPHA8_ASTC_8x8
= 0x93D7,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR
428
INTERNAL_SRGB8_ALPHA8_ASTC_10x5
= 0x93D8,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR
429
INTERNAL_SRGB8_ALPHA8_ASTC_10x6
= 0x93D9,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR
430
INTERNAL_SRGB8_ALPHA8_ASTC_10x8
= 0x93DA,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR
431
INTERNAL_SRGB8_ALPHA8_ASTC_10x10
= 0x93DB,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR
432
INTERNAL_SRGB8_ALPHA8_ASTC_12x10
= 0x93DC,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR
433
INTERNAL_SRGB8_ALPHA8_ASTC_12x12
= 0x93DD,
//GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR
434
435
INTERNAL_MAX
436
};
437
438
enum
externalFormat
439
{
440
EXTERNAL_NONE
= 0,
//GL_NONE
441
EXTERNAL_RED
= 0x1903,
//GL_RED
442
EXTERNAL_RG
= 0x8227,
//GL_RG
443
EXTERNAL_RGB
= 0x1907,
//GL_RGB
444
EXTERNAL_BGR
= 0x80E0,
//GL_BGR
445
EXTERNAL_RGBA
= 0x1908,
//GL_RGBA
446
EXTERNAL_BGRA
= 0x80E1,
//GL_BGRA
447
EXTERNAL_RED_INTEGER
= 0x8D94,
//GL_RED_INTEGER
448
EXTERNAL_RG_INTEGER
= 0x8228,
//GL_RG_INTEGER
449
EXTERNAL_RGB_INTEGER
= 0x8D98,
//GL_RGB_INTEGER
450
EXTERNAL_BGR_INTEGER
= 0x8D9A,
//GL_BGR_INTEGER
451
EXTERNAL_RGBA_INTEGER
= 0x8D99,
//GL_RGBA_INTEGER
452
EXTERNAL_BGRA_INTEGER
= 0x8D9B,
//GL_BGRA_INTEGER
453
EXTERNAL_DEPTH
= 0x1902,
//GL_DEPTH_COMPONENT
454
EXTERNAL_DEPTH_STENCIL
= 0x84F9,
//GL_DEPTH_STENCIL
455
EXTERNAL_RGB_DXT1
= 0x83F0,
//GL_COMPRESSED_RGB_S3TC_DXT1_EXT
456
EXTERNAL_RGBA_DXT1
= 0x83F1,
//GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
457
EXTERNAL_RGBA_DXT3
= 0x83F2,
//GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
458
EXTERNAL_RGBA_DXT5
= 0x83F3,
//GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
459
EXTERNAL_R_ATI1N_UNORM
= 0x8DBB,
//GL_COMPRESSED_RED_RGTC1
460
EXTERNAL_R_ATI1N_SNORM
= 0x8DBC,
//GL_COMPRESSED_SIGNED_RED_RGTC1
461
EXTERNAL_RG_ATI2N_UNORM
= 0x8DBD,
//GL_COMPRESSED_RG_RGTC2
462
EXTERNAL_RG_ATI2N_SNORM
= 0x8DBE,
//GL_COMPRESSED_SIGNED_RG_RGTC2
463
EXTERNAL_RGB_BP_UNSIGNED_FLOAT
= 0x8E8F,
//GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT
464
EXTERNAL_RGB_BP_SIGNED_FLOAT
= 0x8E8E,
//GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT
465
EXTERNAL_RGB_BP_UNORM
= 0x8E8C,
//GL_COMPRESSED_RGBA_BPTC_UNORM
466
EXTERNAL_RGB_PVRTC_4BPPV1
= 0x8C00,
//GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG
467
EXTERNAL_RGB_PVRTC_2BPPV1
= 0x8C01,
//GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG
468
EXTERNAL_RGBA_PVRTC_4BPPV1
= 0x8C02,
//GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG
469
EXTERNAL_RGBA_PVRTC_2BPPV1
= 0x8C03,
//GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG
470
EXTERNAL_ATC_RGB
= 0x8C92,
//GL_ATC_RGB_AMD
471
EXTERNAL_ATC_RGBA_EXPLICIT_ALPHA
= 0x8C93,
//GL_ATC_RGBA_EXPLICIT_ALPHA_AMD
472
EXTERNAL_ATC_RGBA_INTERPOLATED_ALPHA
= 0x87EE,
//GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD
473
EXTERNAL_RGBA_ASTC_4x4
= 0x93B0,
//GL_COMPRESSED_RGBA_ASTC_4x4_KHR
474
EXTERNAL_RGBA_ASTC_5x4
= 0x93B1,
//GL_COMPRESSED_RGBA_ASTC_5x4_KHR
475
EXTERNAL_RGBA_ASTC_5x5
= 0x93B2,
//GL_COMPRESSED_RGBA_ASTC_5x5_KHR
476
EXTERNAL_RGBA_ASTC_6x5
= 0x93B3,
//GL_COMPRESSED_RGBA_ASTC_6x5_KHR
477
EXTERNAL_RGBA_ASTC_6x6
= 0x93B4,
//GL_COMPRESSED_RGBA_ASTC_6x6_KHR
478
EXTERNAL_RGBA_ASTC_8x5
= 0x93B5,
//GL_COMPRESSED_RGBA_ASTC_8x5_KHR
479
EXTERNAL_RGBA_ASTC_8x6
= 0x93B6,
//GL_COMPRESSED_RGBA_ASTC_8x6_KHR
480
EXTERNAL_RGBA_ASTC_8x8
= 0x93B7,
//GL_COMPRESSED_RGBA_ASTC_8x8_KHR
481
EXTERNAL_RGBA_ASTC_10x5
= 0x93B8,
//GL_COMPRESSED_RGBA_ASTC_10x5_KHR
482
EXTERNAL_RGBA_ASTC_10x6
= 0x93B9,
//GL_COMPRESSED_RGBA_ASTC_10x6_KHR
483
EXTERNAL_RGBA_ASTC_10x8
= 0x93BA,
//GL_COMPRESSED_RGBA_ASTC_10x8_KHR
484
EXTERNAL_RGBA_ASTC_10x10
= 0x93BB,
//GL_COMPRESSED_RGBA_ASTC_10x10_KHR
485
EXTERNAL_RGBA_ASTC_12x10
= 0x93BC,
//GL_COMPRESSED_RGBA_ASTC_12x10_KHR
486
EXTERNAL_RGBA_ASTC_12x12
= 0x93BD
//GL_COMPRESSED_RGBA_ASTC_12x12_KHR
487
};
488
489
enum
typeFormat
490
{
491
TYPE_NONE
= 0,
//GL_NONE
492
TYPE_I8
= 0x1400,
//GL_BYTE
493
TYPE_U8
= 0x1401,
//GL_UNSIGNED_BYTE
494
TYPE_I16
= 0x1402,
//GL_SHORT
495
TYPE_U16
= 0x1403,
//GL_UNSIGNED_SHORT
496
TYPE_I32
= 0x1404,
//GL_INT
497
TYPE_U32
= 0x1405,
//GL_UNSIGNED_INT
498
TYPE_F16
= 0x140B,
//GL_HALF_FLOAT
499
TYPE_F32
= 0x1406,
//GL_FLOAT
500
TYPE_UINT32_RGB9_E5
= 0x8C3E,
//GL_UNSIGNED_INT_5_9_9_9_REV
501
TYPE_UINT32_RG11B10F
= 0x8C3B,
//GL_UNSIGNED_INT_10F_11F_11F_REV
502
TYPE_UINT8_RG3B2
= 0x8032,
//GL_UNSIGNED_BYTE_3_3_2
503
TYPE_UINT8_RG3B2_REV
= 0x8362,
//GL_UNSIGNED_BYTE_2_3_3_REV
504
TYPE_UINT16_RGB5A1
= 0x8034,
//GL_UNSIGNED_SHORT_5_5_5_1
505
TYPE_UINT16_RGB5A1_REV
= 0x8366,
//GL_UNSIGNED_SHORT_1_5_5_5_REV
506
TYPE_UINT16_R5G6B5
= 0x8363,
//GL_UNSIGNED_SHORT_5_6_5
507
TYPE_UINT16_R5G6B5_REV
= 0x8364,
//GL_UNSIGNED_SHORT_5_6_5_REV
508
TYPE_UINT16_RGBA4
= 0x8033,
//GL_UNSIGNED_SHORT_4_4_4_4
509
TYPE_UINT16_RGBA4_REV
= 0x8365,
//GL_UNSIGNED_SHORT_4_4_4_4_REV
510
TYPE_UINT32_RGB10A2
= 0x8036,
//GL_UNSIGNED_INT_10_10_10_2
511
TYPE_UINT32_RGB10A2_REV
= 0x8368
//GL_UNSIGNED_INT_2_10_10_10_REV
512
};
513
}
//namespace gli
514
515
#include "format.inl"
516
517
#endif//GLI_CORE_FORMAT_INCLUDED
gli::R16_UNORM
Definition:
format.hpp:44
gli::RGBA_DXT1
Definition:
format.hpp:121
gli::EXTERNAL_RED_INTEGER
Definition:
format.hpp:447
gli::EXTERNAL_RGBA_ASTC_8x5
Definition:
format.hpp:478
gli::RGB_PVRTC_4BPPV1
Definition:
format.hpp:131
gli::INTERNAL_RG32I
Definition:
format.hpp:342
gli::R5G6B5
Definition:
format.hpp:107
gli::INTERNAL_RGBA_ASTC_8x6
Definition:
format.hpp:399
gli::RGB16I
Definition:
format.hpp:84
gli::TYPE_UINT32_RG11B10F
Definition:
format.hpp:501
gli::SRGB8_ALPHA8_ASTC_8x6
Definition:
format.hpp:171
gli::DXGI_FORMAT_R32G32_FLOAT
Definition:
format.hpp:201
gli::DXGI_FORMAT_BC1_TYPELESS
Definition:
format.hpp:255
gli::DXGI_FORMAT_R16G16_SINT
Definition:
format.hpp:223
gli::DXGI_FORMAT_R32G32B32_UINT
Definition:
format.hpp:192
gli::INTERNAL_D24
Definition:
format.hpp:368
gli::FORMAT_NULL
Definition:
format.hpp:36
gli::INTERNAL_R8I
Definition:
format.hpp:331
gli::INTERNAL_D32F
Definition:
format.hpp:371
gli::INTERNAL_RGBA8_SNORM
Definition:
format.hpp:307
gli::DXGI_FORMAT_R8G8_TYPELESS
Definition:
format.hpp:233
gli::EXTERNAL_RGBA_ASTC_8x6
Definition:
format.hpp:479
gli::RG32I
Definition:
format.hpp:88
gli::DXGI_FORMAT_R16_UINT
Definition:
format.hpp:242
gli::DXGI_FORMAT_R16G16_SNORM
Definition:
format.hpp:222
gli::SRGB_ALPHA_PVRTC_4BPPV1
Definition:
format.hpp:164
gli::DXGI_FORMAT_R16G16_UNORM
Definition:
format.hpp:220
gli::SRGB_BP_UNORM
Definition:
format.hpp:160
gli::INTERNAL_D32
Definition:
format.hpp:370
gli::RGB16U
Definition:
format.hpp:68
gli::INTERNAL_RGB_BP_SIGNED_FLOAT
Definition:
format.hpp:384
gli::DXGI_FORMAT_R32G32B32A32_TYPELESS
Definition:
format.hpp:186
gli::RG16F
Definition:
format.hpp:94
gli::DXGI_FORMAT_X24_TYPELESS_G8_UINT
Definition:
format.hpp:232
gli::INTERNAL_RGBA_ASTC_10x8
Definition:
format.hpp:403
gli::INTERNAL_RGB_DXT1
Definition:
format.hpp:375
gli::DXGI_FORMAT_BC7_UNORM
Definition:
format.hpp:283
gli::RGBA_ASTC_10x10
Definition:
format.hpp:149
gli::TYPE_I8
Definition:
format.hpp:492
gli::INTERNAL_RGBA4
Definition:
format.hpp:363
gli::RGB9E5
Definition:
format.hpp:104
gli::RGBA4
Definition:
format.hpp:109
gli::externalFormat
externalFormat
Definition:
format.hpp:438
gli::EXTERNAL_RGB_BP_UNSIGNED_FLOAT
Definition:
format.hpp:463
gli::DXGI_FORMAT_R32G32B32A32_SINT
Definition:
format.hpp:189
gli::TYPE_U8
Definition:
format.hpp:493
gli::INTERNAL_D32FS8X24
Definition:
format.hpp:372
gli::DXGI_FORMAT_R16G16B16A16_UINT
Definition:
format.hpp:197
gli::D16
Definition:
format.hpp:113
gli::INTERNAL_RGB32F
Definition:
format.hpp:354
gli::INTERNAL_RGB32I
Definition:
format.hpp:343
gli::INTERNAL_SRGB8_ALPHA8_ASTC_10x10
Definition:
format.hpp:431
gli::INTERNAL_RG_ATI2N_SNORM
Definition:
format.hpp:382
gli::FORMAT_MAX
Definition:
format.hpp:180
gli::INTERNAL_RGB_PVRTC_2BPPV1
Definition:
format.hpp:387
gli::RGBA16_SNORM
Definition:
format.hpp:58
gli::INTERNAL_D16
Definition:
format.hpp:367
gli::D24X8
Definition:
format.hpp:114
gli::DXGI_FORMAT_R8G8B8A8_UNORM
Definition:
format.hpp:213
gli::INTERNAL_ATC_RGBA_EXPLICIT_ALPHA
Definition:
format.hpp:391
gli::EXTERNAL_RGB_BP_SIGNED_FLOAT
Definition:
format.hpp:464
gli::INTERNAL_SRGB_PVRTC_4BPPV1
Definition:
format.hpp:417
gli::DXGI_FORMAT_BC1_UNORM_SRGB
Definition:
format.hpp:257
gli::DXGI_FORMAT_R11G11B10_FLOAT
Definition:
format.hpp:211
gli::SRGB_PVRTC_2BPPV1
Definition:
format.hpp:161
gli::EXTERNAL_RGB_PVRTC_2BPPV1
Definition:
format.hpp:467
gli::INTERNAL_SRGB8_ALPHA8_ASTC_6x6
Definition:
format.hpp:424
gli::RGB_BP_UNORM
Definition:
format.hpp:130
gli::INTERNAL_RGB16I
Definition:
format.hpp:338
gli::R32U
Definition:
format.hpp:71
gli::EXTERNAL_RGBA_ASTC_5x5
Definition:
format.hpp:475
gli::INTERNAL_R16U
Definition:
format.hpp:320
gli::RGBA16U
Definition:
format.hpp:69
gli::INTERNAL_RGB16_UNORM
Definition:
format.hpp:300
gli::SRGB_ALPHA_DXT1
Definition:
format.hpp:157
gli::DXGI_FORMAT_BC6H_SF16
Definition:
format.hpp:281
gli::RGBA_ASTC_5x5
Definition:
format.hpp:140
gli::EXTERNAL_DEPTH
Definition:
format.hpp:453
gli::INTERNAL_RG_ATI2N_UNORM
Definition:
format.hpp:381
gli::SRGB8_ALPHA8_ASTC_5x4
Definition:
format.hpp:166
gli::DXGI_FORMAT_BC7_TYPELESS
Definition:
format.hpp:282
gli::DXGI_FORMAT_R24G8_TYPELESS
Definition:
format.hpp:229
gli::DXGI_FORMAT_A8_UNORM
Definition:
format.hpp:250
gli::INTERNAL_RGBA_ASTC_6x6
Definition:
format.hpp:397
gli::INTERNAL_RGBA16_SNORM
Definition:
format.hpp:312
gli::RGB_PVRTC_2BPPV1
Definition:
format.hpp:132
gli::DXGI_FORMAT_B8G8R8X8_TYPELESS
Definition:
format.hpp:277
gli::DXGI_FORMAT_R32_TYPELESS
Definition:
format.hpp:224
gli::INTERNAL_RGBA32I
Definition:
format.hpp:344
gli::RG32U
Definition:
format.hpp:72
gli::RGBA_ASTC_5x4
Definition:
format.hpp:139
gli::R16I
Definition:
format.hpp:82
gli::RG8I
Definition:
format.hpp:78
gli::INTERNAL_RG16_SNORM
Definition:
format.hpp:310
gli::INTERNAL_RGBA_PVRTC_4BPPV1
Definition:
format.hpp:388
gli::RGB8_UNORM
Definition:
format.hpp:41
gli::INTERNAL_SRGB8_ALPHA8_ASTC_12x12
Definition:
format.hpp:433
gli::RGB8_SNORM
Definition:
format.hpp:52
gli::SRGB8_ALPHA8_ASTC_10x10
Definition:
format.hpp:176
gli::DXGI_FORMAT_R10G10B10A2_UINT
Definition:
format.hpp:210
gli::RGBA8U
Definition:
format.hpp:64
gli::DXGI_FORMAT_R24_UNORM_X8_TYPELESS
Definition:
format.hpp:231
gli::DXGI_FORMAT_R10G10B10A2_TYPELESS
Definition:
format.hpp:208
gli::DXGI_FORMAT_R16_SINT
Definition:
format.hpp:244
gli::EXTERNAL_RED
Definition:
format.hpp:441
gli::EXTERNAL_RGBA_ASTC_10x10
Definition:
format.hpp:484
gli::R8_UNORM
Definition:
format.hpp:39
gli::DXGI_FORMAT_R16G16B16A16_UNORM
Definition:
format.hpp:196
gli::EXTERNAL_RGBA_ASTC_10x8
Definition:
format.hpp:483
gli::INTERNAL_SRGB_PVRTC_2BPPV1
Definition:
format.hpp:416
gli::dxgiFormat
dxgiFormat
Definition:
format.hpp:183
gli::RGBA_ASTC_4x4
Definition:
format.hpp:138
gli::DXGI_FORMAT_R16G16_FLOAT
Definition:
format.hpp:219
gli::INTERNAL_R_ATI1N_SNORM
Definition:
format.hpp:380
gli::SRGB8_ALPHA8_ASTC_8x8
Definition:
format.hpp:172
gli::DXGI_FORMAT_BC3_TYPELESS
Definition:
format.hpp:261
gli::R16_SNORM
Definition:
format.hpp:55
gli::R3G3B2
Definition:
format.hpp:106
gli::DXGI_FORMAT_R32G32B32_TYPELESS
Definition:
format.hpp:190
gli::DXGI_FORMAT_B8G8R8A8_UNORM_SRGB
Definition:
format.hpp:276
gli::DXGI_FORMAT_B5G6R5_UNORM
Definition:
format.hpp:270
gli::EXTERNAL_RGBA_ASTC_5x4
Definition:
format.hpp:474
gli::EXTERNAL_RGBA_ASTC_12x10
Definition:
format.hpp:485
gli::DXGI_FORMAT_R8_SINT
Definition:
format.hpp:249
gli::DXGI_FORMAT_R16_FLOAT
Definition:
format.hpp:239
gli::INTERNAL_SRGB8_ALPHA8_ASTC_8x8
Definition:
format.hpp:427
gli::DXGI_FORMAT_BC4_TYPELESS
Definition:
format.hpp:264
gli::DXGI_FORMAT_R32G32_UINT
Definition:
format.hpp:202
gli::TYPE_NONE
Definition:
format.hpp:491
gli::INTERNAL_SRGB_ALPHA_DXT5
Definition:
format.hpp:414
gli::DXGI_FORMAT_R32G32B32A32_FLOAT
Definition:
format.hpp:187
gli::TYPE_UINT16_R5G6B5
Definition:
format.hpp:506
gli::DXGI_FORMAT_R32G32B32A32_UINT
Definition:
format.hpp:188
gli::SRGB8_ALPHA8_ASTC_4x4
Definition:
format.hpp:165
gli::SRGB8_ALPHA8_ASTC_6x6
Definition:
format.hpp:169
gli::TYPE_I32
Definition:
format.hpp:496
gli::DXGI_FORMAT_R10G10B10A2_UNORM
Definition:
format.hpp:209
gli::EXTERNAL_RG_ATI2N_UNORM
Definition:
format.hpp:461
gli::INTERNAL_RGB5A1
Definition:
format.hpp:362
gli::INTERNAL_RGB_PVRTC_4BPPV1
Definition:
format.hpp:386
gli::INTERNAL_RGB8_SNORM
Definition:
format.hpp:306
gli::RGB32F
Definition:
format.hpp:100
gli::RGBA_ASTC_6x6
Definition:
format.hpp:142
gli::RGB_BP_SIGNED_FLOAT
Definition:
format.hpp:129
gli::SRGB8_ALPHA8_ASTC_6x5
Definition:
format.hpp:168
gli::INTERNAL_SRGB8_ALPHA8_ASTC_10x5
Definition:
format.hpp:428
gli::DXGI_FORMAT_BC5_TYPELESS
Definition:
format.hpp:267
gli::INTERNAL_RGB_BP_UNORM
Definition:
format.hpp:385
gli::INTERNAL_RG3B2
Definition:
format.hpp:360
gli::R32F
Definition:
format.hpp:98
gli::ATC_RGBA_EXPLICIT_ALPHA
Definition:
format.hpp:136
gli::DXGI_FORMAT_R16G16B16A16_SNORM
Definition:
format.hpp:198
gli::RGBA8_UNORM
Definition:
format.hpp:42
gli::DXGI_FORMAT_BC3_UNORM
Definition:
format.hpp:262
gli::R16U
Definition:
format.hpp:66
gli::RGB_BP_UNSIGNED_FLOAT
Definition:
format.hpp:128
gli::DXGI_FORMAT_R32G8X24_TYPELESS
Definition:
format.hpp:204
gli::EXTERNAL_BGR_INTEGER
Definition:
format.hpp:450
gli::R8I
Definition:
format.hpp:77
gli::DXGI_FORMAT_R8G8B8A8_SINT
Definition:
format.hpp:217
gli::DXGI_FORMAT_R8G8B8A8_SNORM
Definition:
format.hpp:216
gli::EXTERNAL_R_ATI1N_SNORM
Definition:
format.hpp:460
gli::DXGI_FORMAT_R16G16B16A16_SINT
Definition:
format.hpp:199
gli::RGBA32I
Definition:
format.hpp:90
gli::INTERNAL_R16_SNORM
Definition:
format.hpp:309
gli::EXTERNAL_RGBA_DXT5
Definition:
format.hpp:458
gli::EXTERNAL_RGBA_ASTC_4x4
Definition:
format.hpp:473
gli::INTERNAL_SRGB8_ALPHA8_ASTC_10x6
Definition:
format.hpp:429
gli::INTERNAL_RGBA8U
Definition:
format.hpp:318
gli::TYPE_UINT32_RGB10A2_REV
Definition:
format.hpp:511
gli::TYPE_F32
Definition:
format.hpp:499
gli::RGB5A1
Definition:
format.hpp:108
gli::RGBA_ASTC_10x8
Definition:
format.hpp:148
gli::DXGI_FORMAT_BC3_UNORM_SRGB
Definition:
format.hpp:263
gli::EXTERNAL_RG_ATI2N_SNORM
Definition:
format.hpp:462
gli::DXGI_FORMAT_R16_SNORM
Definition:
format.hpp:243
gli::INTERNAL_ATC_RGB
Definition:
format.hpp:390
gli::SRGB8_ALPHA8_ASTC_10x5
Definition:
format.hpp:173
gli::DXGI_FORMAT_R16G16_UINT
Definition:
format.hpp:221
gli::DXGI_FORMAT_R8G8B8A8_UINT
Definition:
format.hpp:215
gli::EXTERNAL_RGB_PVRTC_4BPPV1
Definition:
format.hpp:466
gli::DXGI_FORMAT_X32_TYPELESS_G8X24_UINT
Definition:
format.hpp:207
gli::DXGI_FORMAT_R8G8_SINT
Definition:
format.hpp:237
gli::SRGB8_ALPHA8_ASTC_8x5
Definition:
format.hpp:170
gli::INTERNAL_RG16F
Definition:
format.hpp:348
gli::INTERNAL_RGB16_SNORM
Definition:
format.hpp:311
gli::ATC_RGB
Definition:
format.hpp:135
gli::internalFormat
internalFormat
Definition:
format.hpp:288
gli::INTERNAL_RGB8U
Definition:
format.hpp:317
gli::TYPE_UINT32_RGB10A2
Definition:
format.hpp:510
gli::EXTERNAL_RGBA_ASTC_10x6
Definition:
format.hpp:482
gli::TYPE_UINT16_RGB5A1_REV
Definition:
format.hpp:505
gli::RGB10A2
Definition:
format.hpp:110
gli::INTERNAL_SRGB8_ALPHA8_ASTC_8x5
Definition:
format.hpp:425
gli::DXGI_FORMAT_R16G16B16A16_TYPELESS
Definition:
format.hpp:194
gli::INTERNAL_SRGB8_ALPHA8_ASTC_5x4
Definition:
format.hpp:421
gli::RG_ATI2N_SNORM
Definition:
format.hpp:127
gli::INTERNAL_SRGB8_ALPHA8_ASTC_8x6
Definition:
format.hpp:426
gli::DXGI_FORMAT_D32_FLOAT_S8X24_UINT
Definition:
format.hpp:205
gli::DXGI_FORMAT_D24_UNORM_S8_UINT
Definition:
format.hpp:230
gli::EXTERNAL_RGBA
Definition:
format.hpp:445
gli::DXGI_FORMAT_B8G8R8X8_UNORM
Definition:
format.hpp:273
gli::INTERNAL_R16I
Definition:
format.hpp:336
gli::ATC_RGBA_INTERPOLATED_ALPHA
Definition:
format.hpp:137
gli::RG16U
Definition:
format.hpp:67
gli::INTERNAL_R32F
Definition:
format.hpp:352
gli::RGBA_ASTC_12x10
Definition:
format.hpp:150
gli::RGBA8I
Definition:
format.hpp:80
gli::INTERNAL_SRGB8_ALPHA8_ASTC_10x8
Definition:
format.hpp:430
gli::INTERNAL_RGBA_ASTC_10x5
Definition:
format.hpp:401
gli::DXGI_FORMAT_R9G9B9E5_SHAREDEXP
Definition:
format.hpp:252
gli::TYPE_UINT16_R5G6B5_REV
Definition:
format.hpp:507
gli::EXTERNAL_RGBA_ASTC_12x12
Definition:
format.hpp:486
gli::INTERNAL_RGBA_ASTC_6x5
Definition:
format.hpp:396
gli::RGB16_UNORM
Definition:
format.hpp:46
gli::RG16_UNORM
Definition:
format.hpp:45
gli::EXTERNAL_RGB_INTEGER
Definition:
format.hpp:449
gli::INTERNAL_RGBA16F
Definition:
format.hpp:350
gli::INTERNAL_RGBA16U
Definition:
format.hpp:323
gli::RG_ATI2N_UNORM
Definition:
format.hpp:126
gli::SRGB8_ALPHA8_ASTC_10x8
Definition:
format.hpp:175
gli::INTERNAL_SRGB8
Definition:
format.hpp:409
gli::SRGB8_ALPHA8
Definition:
format.hpp:155
gli::EXTERNAL_RGBA_ASTC_6x6
Definition:
format.hpp:477
gli::RGBA_DXT3
Definition:
format.hpp:122
gli::DXGI_FORMAT_R16_UNORM
Definition:
format.hpp:241
gli::EXTERNAL_RGBA_DXT1
Definition:
format.hpp:456
gli::D32F
Definition:
format.hpp:116
gli::INTERNAL_RGBA8_UNORM
Definition:
format.hpp:296
gli::EXTERNAL_RG_INTEGER
Definition:
format.hpp:448
gli::DXGI_FORMAT_BC5_UNORM
Definition:
format.hpp:268
gli::RGBA_ASTC_8x6
Definition:
format.hpp:144
gli::SRGB_ALPHA_DXT5
Definition:
format.hpp:159
gli::RGBA_DXT5
Definition:
format.hpp:123
gli::DXGI_FORMAT_BC4_UNORM
Definition:
format.hpp:265
gli::INTERNAL_RGB32U
Definition:
format.hpp:327
gli::EXTERNAL_R_ATI1N_UNORM
Definition:
format.hpp:459
gli::TYPE_UINT16_RGB5A1
Definition:
format.hpp:504
gli::DXGI_FORMAT_R32G32B32_SINT
Definition:
format.hpp:193
gli::INTERNAL_RG8_UNORM
Definition:
format.hpp:294
gli::DXGI_FORMAT_R8G8_UNORM
Definition:
format.hpp:234
gli::RGB16F
Definition:
format.hpp:95
gli::INTERNAL_RGBA16I
Definition:
format.hpp:339
gli::DXGI_FORMAT_BC1_UNORM
Definition:
format.hpp:256
gli::INTERNAL_RGBA8I
Definition:
format.hpp:334
gli::INTERNAL_RGB16U
Definition:
format.hpp:322
gli::DXGI_FORMAT_R8G8B8A8_UNORM_SRGB
Definition:
format.hpp:214
gli::EXTERNAL_RGBA_PVRTC_4BPPV1
Definition:
format.hpp:468
gli::DXGI_FORMAT_BC2_UNORM_SRGB
Definition:
format.hpp:260
gli::INTERNAL_RGB9E5
Definition:
format.hpp:358
gli::SRGB_PVRTC_4BPPV1
Definition:
format.hpp:162
gli::RGBA_PVRTC_2BPPV1
Definition:
format.hpp:134
gli::DXGI_FORMAT_BC2_UNORM
Definition:
format.hpp:259
gli::INTERNAL_RGBA_ASTC_10x6
Definition:
format.hpp:402
gli::DXGI_FORMAT_R32_FLOAT
Definition:
format.hpp:226
gli::RGBA32F
Definition:
format.hpp:101
gli::TYPE_UINT16_RGBA4
Definition:
format.hpp:508
gli::RGB8I
Definition:
format.hpp:79
gli::INTERNAL_RGBA_DXT3
Definition:
format.hpp:377
gli::R16F
Definition:
format.hpp:93
gli::EXTERNAL_ATC_RGBA_EXPLICIT_ALPHA
Definition:
format.hpp:471
gli::INTERNAL_RG32F
Definition:
format.hpp:353
gli::DXGI_FORMAT_D32_FLOAT
Definition:
format.hpp:225
gli::DXGI_FORMAT_BC7_UNORM_SRGB
Definition:
format.hpp:284
gli::DXGI_FORMAT_R8G8B8A8_TYPELESS
Definition:
format.hpp:212
gli::EXTERNAL_RGBA_ASTC_8x8
Definition:
format.hpp:480
gli::RGBA16I
Definition:
format.hpp:85
gli::DXGI_FORMAT_R8_TYPELESS
Definition:
format.hpp:245
gli::D24S8
Definition:
format.hpp:115
gli::INTERNAL_RGBA_ASTC_10x10
Definition:
format.hpp:404
gli::EXTERNAL_ATC_RGBA_INTERPOLATED_ALPHA
Definition:
format.hpp:472
gli::INTERNAL_RGBA_DXT5
Definition:
format.hpp:378
gli::INTERNAL_RGBA32F
Definition:
format.hpp:355
gli::INTERNAL_RGB10A2
Definition:
format.hpp:364
gli::EXTERNAL_RGB
Definition:
format.hpp:443
gli::EXTERNAL_BGRA_INTEGER
Definition:
format.hpp:452
gli::RG8_SNORM
Definition:
format.hpp:51
gli::INTERNAL_SRGB_DXT1
Definition:
format.hpp:411
gli::DXGI_FORMAT_B8G8R8A8_TYPELESS
Definition:
format.hpp:275
gli::INTERNAL_SRGB_ALPHA_DXT3
Definition:
format.hpp:413
gli::DXGI_FORMAT_R8_UNORM
Definition:
format.hpp:246
gli::INTERNAL_RG8_SNORM
Definition:
format.hpp:305
gli::DXGI_FORMAT_BC2_TYPELESS
Definition:
format.hpp:258
gli::DXGI_FORMAT_R32G32_TYPELESS
Definition:
format.hpp:200
gli::RGBA_ASTC_10x6
Definition:
format.hpp:147
gli::DXGI_FORMAT_R8G8_SNORM
Definition:
format.hpp:236
gli::EXTERNAL_RGBA_ASTC_10x5
Definition:
format.hpp:481
gli::TYPE_UINT8_RG3B2_REV
Definition:
format.hpp:503
gli::DXGI_FORMAT_R32_SINT
Definition:
format.hpp:228
gli::INTERNAL_SRGB_ALPHA_DXT1
Definition:
format.hpp:412
gli::INTERNAL_RGBA_ASTC_5x4
Definition:
format.hpp:394
gli::INTERNAL_SRGB_BP_UNORM
Definition:
format.hpp:415
gli::RGBA16F
Definition:
format.hpp:96
gli::EXTERNAL_RGBA_INTEGER
Definition:
format.hpp:451
gli::RGB16_SNORM
Definition:
format.hpp:57
gli::INTERNAL_RGBA16_UNORM
Definition:
format.hpp:301
gli::RGB32I
Definition:
format.hpp:89
gli::INTERNAL_SRGB8_ALPHA8
Definition:
format.hpp:410
gli::INTERNAL_R32I
Definition:
format.hpp:341
gli::INTERNAL_D24S8
Definition:
format.hpp:369
gli::INTERNAL_RG11B10F
Definition:
format.hpp:359
gli::RGBA8_SNORM
Definition:
format.hpp:53
gli::EXTERNAL_RGBA_ASTC_6x5
Definition:
format.hpp:476
gli::INTERNAL_SRGB8_ALPHA8_ASTC_12x10
Definition:
format.hpp:432
gli::RGBA_ASTC_6x5
Definition:
format.hpp:141
gli::SRGB_DXT1
Definition:
format.hpp:156
gli::SRGB8_ALPHA8_ASTC_10x6
Definition:
format.hpp:174
gli::EXTERNAL_DEPTH_STENCIL
Definition:
format.hpp:454
gli::INTERNAL_RG8U
Definition:
format.hpp:316
gli::INTERNAL_R8U
Definition:
format.hpp:315
gli::DXGI_FORMAT_G8R8_G8B8_UNORM
Definition:
format.hpp:254
gli::DXGI_FORMAT_FORCE_UINT
Definition:
format.hpp:285
gli::DXGI_FORMAT_R16_TYPELESS
Definition:
format.hpp:238
gli::INTERNAL_RGB8I
Definition:
format.hpp:333
gli::INTERNAL_RGB16F
Definition:
format.hpp:349
gli::TYPE_I16
Definition:
format.hpp:494
gli::INTERNAL_SRGB8_ALPHA8_ASTC_6x5
Definition:
format.hpp:423
gli::INTERNAL_R_ATI1N_UNORM
Definition:
format.hpp:379
gli::SRGB8_ALPHA8_ASTC_5x5
Definition:
format.hpp:167
gli::DXGI_FORMAT_R8G8_UINT
Definition:
format.hpp:235
gli::INTERNAL_R16_UNORM
Definition:
format.hpp:298
gli::INTERNAL_RGBA_ASTC_8x8
Definition:
format.hpp:400
gli::SRGB_ALPHA_PVRTC_2BPPV1
Definition:
format.hpp:163
gli::SRGB8_ALPHA8_ASTC_12x12
Definition:
format.hpp:178
gli::SRGB8
Definition:
format.hpp:154
gli::RGB32U
Definition:
format.hpp:73
gli::RGBA_ASTC_10x5
Definition:
format.hpp:146
gli::DXGI_FORMAT_R32_UINT
Definition:
format.hpp:227
gli::TYPE_U32
Definition:
format.hpp:497
gli::RGBA_ASTC_8x8
Definition:
format.hpp:145
gli::EXTERNAL_RGB_DXT1
Definition:
format.hpp:455
gli::EXTERNAL_RGB_BP_UNORM
Definition:
format.hpp:465
gli::R8_SNORM
Definition:
format.hpp:50
gli::DXGI_FORMAT_B8G8R8A8_UNORM
Definition:
format.hpp:272
gli::DXGI_FORMAT_BC4_SNORM
Definition:
format.hpp:266
gli::DXGI_FORMAT_UNKNOWN
Definition:
format.hpp:185
gli::INTERNAL_RGB8_UNORM
Definition:
format.hpp:295
gli::DXGI_FORMAT_BC5_SNORM
Definition:
format.hpp:269
gli::EXTERNAL_NONE
Definition:
format.hpp:440
gli::R_ATI1N_UNORM
Definition:
format.hpp:124
gli::TYPE_F16
Definition:
format.hpp:498
gli::INTERNAL_RGBA_PVRTC_2BPPV1
Definition:
format.hpp:389
gli::INTERNAL_R8_SNORM
Definition:
format.hpp:304
gli::TYPE_UINT8_RG3B2
Definition:
format.hpp:502
gli::RGBA_PVRTC_4BPPV1
Definition:
format.hpp:133
gli::INTERNAL_NONE
Definition:
format.hpp:290
gli::SRGB8_ALPHA8_ASTC_12x10
Definition:
format.hpp:177
gli::R32I
Definition:
format.hpp:87
gli::TYPE_UINT16_RGBA4_REV
Definition:
format.hpp:509
gli::INTERNAL_R32U
Definition:
format.hpp:325
gli::EXTERNAL_BGR
Definition:
format.hpp:444
gli::DXGI_FORMAT_R16G16B16A16_FLOAT
Definition:
format.hpp:195
gli::SRGB_ALPHA_DXT3
Definition:
format.hpp:158
gli::R_ATI1N_SNORM
Definition:
format.hpp:125
gli::INTERNAL_RGB_BP_UNSIGNED_FLOAT
Definition:
format.hpp:383
gli::INTERNAL_RGBA_ASTC_4x4
Definition:
format.hpp:393
gli::RG32F
Definition:
format.hpp:99
gli::DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM
Definition:
format.hpp:274
gli::DXGI_FORMAT_R1_UNORM
Definition:
format.hpp:251
gli::DXGI_FORMAT_R32G32_SINT
Definition:
format.hpp:203
gli::EXTERNAL_RGBA_PVRTC_2BPPV1
Definition:
format.hpp:469
gli::INTERNAL_RG16_UNORM
Definition:
format.hpp:299
gli::RG16I
Definition:
format.hpp:83
gli::typeFormat
typeFormat
Definition:
format.hpp:489
gli::INTERNAL_SRGB_ALPHA_PVRTC_2BPPV1
Definition:
format.hpp:418
gli::DXGI_FORMAT_D16_UNORM
Definition:
format.hpp:240
gli::INTERNAL_R16F
Definition:
format.hpp:347
gli::INTERNAL_RGBA_DXT1
Definition:
format.hpp:376
gli::DXGI_FORMAT_R8_SNORM
Definition:
format.hpp:248
gli::R8U
Definition:
format.hpp:61
gli::INTERNAL_RGBA32U
Definition:
format.hpp:328
gli::INTERNAL_RG8I
Definition:
format.hpp:332
gli::INTERNAL_RGBA_ASTC_5x5
Definition:
format.hpp:395
gli::RGBA32U
Definition:
format.hpp:74
gli::DXGI_FORMAT_R8_UINT
Definition:
format.hpp:247
gli::INTERNAL_RGBA_ASTC_12x12
Definition:
format.hpp:406
gli::RGBA_ASTC_8x5
Definition:
format.hpp:143
gli::EXTERNAL_BGRA
Definition:
format.hpp:446
gli::INTERNAL_R8_UNORM
Definition:
format.hpp:293
gli::INTERNAL_SRGB8_ALPHA8_ASTC_4x4
Definition:
format.hpp:420
gli::INTERNAL_RG16U
Definition:
format.hpp:321
gli::DXGI_FORMAT_BC6H_TYPELESS
Definition:
format.hpp:279
gli::RG8U
Definition:
format.hpp:62
gli::EXTERNAL_RG
Definition:
format.hpp:442
gli::DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS
Definition:
format.hpp:206
gli::RG8_UNORM
Definition:
format.hpp:40
gli::RGB8U
Definition:
format.hpp:63
gli::RGBA_ASTC_12x12
Definition:
format.hpp:151
gli::DXGI_FORMAT_R8G8_B8G8_UNORM
Definition:
format.hpp:253
gli::RGB_DXT1
Definition:
format.hpp:120
gli::EXTERNAL_RGBA_DXT3
Definition:
format.hpp:457
gli::INTERNAL_SRGB8_ALPHA8_ASTC_5x5
Definition:
format.hpp:422
gli::TYPE_U16
Definition:
format.hpp:495
gli::RG16_SNORM
Definition:
format.hpp:56
gli::DXGI_FORMAT_BC6H_UF16
Definition:
format.hpp:280
gli::INTERNAL_ATC_RGBA_INTERPOLATED_ALPHA
Definition:
format.hpp:392
gli::RGBA16_UNORM
Definition:
format.hpp:47
gli::DXGI_FORMAT_B5G5R5A1_UNORM
Definition:
format.hpp:271
gli::INTERNAL_RGBA_ASTC_8x5
Definition:
format.hpp:398
gli::DXGI_FORMAT_R16G16_TYPELESS
Definition:
format.hpp:218
gli::RG11B10F
Definition:
format.hpp:105
gli::INTERNAL_MAX
Definition:
format.hpp:435
gli::INTERNAL_RG32U
Definition:
format.hpp:326
gli::INTERNAL_SRGB_ALPHA_PVRTC_4BPPV1
Definition:
format.hpp:419
gli::INTERNAL_RG16I
Definition:
format.hpp:337
gli::format
format
Definition:
format.hpp:34
gli::TYPE_UINT32_RGB9_E5
Definition:
format.hpp:500
gli::D32FS8X24
Definition:
format.hpp:117
gli::DXGI_FORMAT_R32G32B32_FLOAT
Definition:
format.hpp:191
gli::EXTERNAL_ATC_RGB
Definition:
format.hpp:470
gli::INTERNAL_RGBA_ASTC_12x10
Definition:
format.hpp:405
gli::INTERNAL_R5G6B5
Definition:
format.hpp:361
gli::DXGI_FORMAT_B8G8R8X8_UNORM_SRGB
Definition:
format.hpp:278
Generated by
1.8.5