Quake II RTX doxygen  1.0 dev
dds.h
Go to the documentation of this file.
1 // This file is based on dds.h from Microsoft DirectXTK library,
2 // also contains a copy of DXGI_FORMAT definition from Windows 10 SDK.
3 
4 //--------------------------------------------------------------------------------------
5 // dds.h
6 //
7 // This header defines constants and structures that are useful when parsing
8 // DDS files. DDS files were originally designed to use several structures
9 // and constants that are native to DirectDraw and are defined in ddraw.h,
10 // such as DDSURFACEDESC2 and DDSCAPS2. This file defines similar
11 // (compatible) constants and structures so that one can use DDS files
12 // without needing to include ddraw.h.
13 //
14 // Copyright (c) Microsoft Corporation. All rights reserved.
15 // Licensed under the MIT License.
16 //
17 // http://go.microsoft.com/fwlink/?LinkId=248926
18 // http://go.microsoft.com/fwlink/?LinkId=248929
19 // http://go.microsoft.com/fwlink/?LinkID=615561
20 //--------------------------------------------------------------------------------------
21 
22 /*
23  The MIT License (MIT)
24 
25  Copyright (c) 2018 Microsoft Corp
26 
27  Permission is hereby granted, free of charge, to any person obtaining a copy of this
28  software and associated documentation files (the "Software"), to deal in the Software
29  without restriction, including without limitation the rights to use, copy, modify,
30  merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
31  permit persons to whom the Software is furnished to do so, subject to the following
32  conditions:
33 
34  The above copyright notice and this permission notice shall be included in all copies
35  or substantial portions of the Software.
36 
37  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
38  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
39  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
41  CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
42  OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
43 */
44 
45 #pragma once
46 
47 #include <stdint.h>
48 
49 #ifndef DXGI_FORMAT_DEFINED
50 typedef enum DXGI_FORMAT
51 {
168 
172 
173 
175 } DXGI_FORMAT;
176 #endif
177 
178 #ifndef MAKEFOURCC
179 #define MAKEFOURCC(ch0, ch1, ch2, ch3) ((uint32_t)(ch0) | ((uint32_t)(ch1) << 8) | ((uint32_t)(ch2) << 16) | ((uint32_t)(ch3) << 24))
180 #endif /* defined(MAKEFOURCC) */
181 
182 typedef struct
183 {
184  uint32_t size;
185  uint32_t flags;
186  uint32_t fourCC;
187  uint32_t RGBBitCount;
188  uint32_t RBitMask;
189  uint32_t GBitMask;
190  uint32_t BBitMask;
191  uint32_t ABitMask;
193 
194 #define DDS_FOURCC 0x00000004 // DDPF_FOURCC
195 #define DDS_RGB 0x00000040 // DDPF_RGB
196 #define DDS_RGBA 0x00000041 // DDPF_RGB | DDPF_ALPHAPIXELS
197 #define DDS_LUMINANCE 0x00020000 // DDPF_LUMINANCE
198 #define DDS_LUMINANCEA 0x00020001 // DDPF_LUMINANCE | DDPF_ALPHAPIXELS
199 #define DDS_ALPHAPIXELS 0x00000001 // DDPF_ALPHAPIXELS
200 #define DDS_ALPHA 0x00000002 // DDPF_ALPHA
201 #define DDS_PAL8 0x00000020 // DDPF_PALETTEINDEXED8
202 #define DDS_PAL8A 0x00000021 // DDPF_PALETTEINDEXED8 | DDPF_ALPHAPIXELS
203 #define DDS_BUMPDUDV 0x00080000 // DDPF_BUMPDUDV
204 
205 #define DDS_HEADER_FLAGS_TEXTURE 0x00001007 // DDSD_CAPS | DDSD_HEIGHT | DDSD_WIDTH | DDSD_PIXELFORMAT
206 #define DDS_HEADER_FLAGS_MIPMAP 0x00020000 // DDSD_MIPMAPCOUNT
207 #define DDS_HEADER_FLAGS_VOLUME 0x00800000 // DDSD_DEPTH
208 #define DDS_HEADER_FLAGS_PITCH 0x00000008 // DDSD_PITCH
209 #define DDS_HEADER_FLAGS_LINEARSIZE 0x00080000 // DDSD_LINEARSIZE
210 
211 #define DDS_HEIGHT 0x00000002 // DDSD_HEIGHT
212 #define DDS_WIDTH 0x00000004 // DDSD_WIDTH
213 
214 #define DDS_SURFACE_FLAGS_TEXTURE 0x00001000 // DDSCAPS_TEXTURE
215 #define DDS_SURFACE_FLAGS_MIPMAP 0x00400008 // DDSCAPS_COMPLEX | DDSCAPS_MIPMAP
216 #define DDS_SURFACE_FLAGS_CUBEMAP 0x00000008 // DDSCAPS_COMPLEX
217 
218 #define DDS_CUBEMAP_POSITIVEX 0x00000600 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_POSITIVEX
219 #define DDS_CUBEMAP_NEGATIVEX 0x00000a00 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_NEGATIVEX
220 #define DDS_CUBEMAP_POSITIVEY 0x00001200 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_POSITIVEY
221 #define DDS_CUBEMAP_NEGATIVEY 0x00002200 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_NEGATIVEY
222 #define DDS_CUBEMAP_POSITIVEZ 0x00004200 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_POSITIVEZ
223 #define DDS_CUBEMAP_NEGATIVEZ 0x00008200 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_NEGATIVEZ
224 
225 #define DDS_CUBEMAP_ALLFACES ( DDS_CUBEMAP_POSITIVEX | DDS_CUBEMAP_NEGATIVEX |\
226  DDS_CUBEMAP_POSITIVEY | DDS_CUBEMAP_NEGATIVEY |\
227  DDS_CUBEMAP_POSITIVEZ | DDS_CUBEMAP_NEGATIVEZ )
228 
229 #define DDS_CUBEMAP 0x00000200 // DDSCAPS2_CUBEMAP
230 
231 #define DDS_FLAGS_VOLUME 0x00200000 // DDSCAPS2_VOLUME
232 
233 #define DDS_MAGIC 0x20534444 // "DDS "
234 
235 // Subset here matches D3D10_RESOURCE_DIMENSION and D3D11_RESOURCE_DIMENSION
236 typedef enum
237 {
242 
243 // Subset here matches D3D10_RESOURCE_MISC_FLAG and D3D11_RESOURCE_MISC_FLAG
244 typedef enum
245 {
248 
249 typedef enum
250 {
253 
254 typedef enum
255 {
258 
259 typedef struct
260 {
261  uint32_t magic;
262  uint32_t size;
263  uint32_t flags;
264  uint32_t height;
265  uint32_t width;
267  uint32_t depth; // only if DDS_HEADER_FLAGS_VOLUME is set in flags
268  uint32_t mipMapCount;
269  uint32_t reserved1[11];
271  uint32_t caps;
272  uint32_t caps2;
273  uint32_t caps3;
274  uint32_t caps4;
275  uint32_t reserved2;
276 } DDS_HEADER;
277 
278 typedef struct
279 {
282  uint32_t miscFlag; // see D3D11_RESOURCE_MISC_FLAG
283  uint32_t arraySize;
284  uint32_t miscFlags2; // see DDS_MISC_FLAGS2
DXGI_FORMAT_R16_UINT
@ DXGI_FORMAT_R16_UINT
Definition: dds.h:109
DDS_PIXELFORMAT::RGBBitCount
uint32_t RGBBitCount
Definition: dds.h:187
DDS_HEADER::width
uint32_t width
Definition: dds.h:265
DDS_PIXELFORMAT::flags
uint32_t flags
Definition: dds.h:185
DXGI_FORMAT_B8G8R8A8_TYPELESS
@ DXGI_FORMAT_B8G8R8A8_TYPELESS
Definition: dds.h:142
DXGI_FORMAT_R16G16_UINT
@ DXGI_FORMAT_R16G16_UINT
Definition: dds.h:88
DXGI_FORMAT_R32_FLOAT
@ DXGI_FORMAT_R32_FLOAT
Definition: dds.h:93
DXGI_FORMAT_R24_UNORM_X8_TYPELESS
@ DXGI_FORMAT_R24_UNORM_X8_TYPELESS
Definition: dds.h:98
DXGI_FORMAT_A8_UNORM
@ DXGI_FORMAT_A8_UNORM
Definition: dds.h:117
DXGI_FORMAT_R8_UNORM
@ DXGI_FORMAT_R8_UNORM
Definition: dds.h:113
DXGI_FORMAT_UNKNOWN
@ DXGI_FORMAT_UNKNOWN
Definition: dds.h:52
DXGI_FORMAT_X32_TYPELESS_G8X24_UINT
@ DXGI_FORMAT_X32_TYPELESS_G8X24_UINT
Definition: dds.h:74
DXGI_FORMAT_R16G16B16A16_TYPELESS
@ DXGI_FORMAT_R16G16B16A16_TYPELESS
Definition: dds.h:61
DXGI_FORMAT_P010
@ DXGI_FORMAT_P010
Definition: dds.h:156
DXGI_FORMAT_R9G9B9E5_SHAREDEXP
@ DXGI_FORMAT_R9G9B9E5_SHAREDEXP
Definition: dds.h:119
DDS_HEADER::flags
uint32_t flags
Definition: dds.h:263
DXGI_FORMAT_BC7_UNORM
@ DXGI_FORMAT_BC7_UNORM
Definition: dds.h:150
DDS_PIXELFORMAT::ABitMask
uint32_t ABitMask
Definition: dds.h:191
DDS_HEADER_DXT10::resourceDimension
uint32_t resourceDimension
Definition: dds.h:281
DXGI_FORMAT_R16_SNORM
@ DXGI_FORMAT_R16_SNORM
Definition: dds.h:110
DXGI_FORMAT_V208
@ DXGI_FORMAT_V208
Definition: dds.h:170
DXT10_MISC_FLAGS
DXT10_MISC_FLAGS
Definition: dds.h:254
DXGI_FORMAT_Y216
@ DXGI_FORMAT_Y216
Definition: dds.h:161
DXGI_FORMAT_YUY2
@ DXGI_FORMAT_YUY2
Definition: dds.h:159
DXGI_FORMAT_D32_FLOAT_S8X24_UINT
@ DXGI_FORMAT_D32_FLOAT_S8X24_UINT
Definition: dds.h:72
DXGI_FORMAT_BC4_UNORM
@ DXGI_FORMAT_BC4_UNORM
Definition: dds.h:132
DXGI_FORMAT_R32G32B32A32_FLOAT
@ DXGI_FORMAT_R32G32B32A32_FLOAT
Definition: dds.h:54
DXGI_FORMAT_R32_UINT
@ DXGI_FORMAT_R32_UINT
Definition: dds.h:94
DXGI_FORMAT_AYUV
@ DXGI_FORMAT_AYUV
Definition: dds.h:152
DDS_HEADER::caps
uint32_t caps
Definition: dds.h:271
DXGI_FORMAT_BC5_SNORM
@ DXGI_FORMAT_BC5_SNORM
Definition: dds.h:136
DDS_HEADER::depth
uint32_t depth
Definition: dds.h:267
DXGI_FORMAT_R10G10B10A2_UINT
@ DXGI_FORMAT_R10G10B10A2_UINT
Definition: dds.h:77
DXGI_FORMAT_B8G8R8X8_UNORM
@ DXGI_FORMAT_B8G8R8X8_UNORM
Definition: dds.h:140
DXGI_FORMAT_BC7_UNORM_SRGB
@ DXGI_FORMAT_BC7_UNORM_SRGB
Definition: dds.h:151
DXGI_FORMAT_P8
@ DXGI_FORMAT_P8
Definition: dds.h:165
DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM
@ DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM
Definition: dds.h:141
DXGI_FORMAT_R32G32_TYPELESS
@ DXGI_FORMAT_R32G32_TYPELESS
Definition: dds.h:67
DXGI_FORMAT_R8G8_UNORM
@ DXGI_FORMAT_R8G8_UNORM
Definition: dds.h:101
DXGI_FORMAT_B8G8R8A8_UNORM
@ DXGI_FORMAT_B8G8R8A8_UNORM
Definition: dds.h:139
DXGI_FORMAT
DXGI_FORMAT
Definition: dds.h:50
DXGI_FORMAT_R16G16B16A16_FLOAT
@ DXGI_FORMAT_R16G16B16A16_FLOAT
Definition: dds.h:62
DDS_HEADER::ddspf
DDS_PIXELFORMAT ddspf
Definition: dds.h:270
DXGI_FORMAT_B4G4R4A4_UNORM
@ DXGI_FORMAT_B4G4R4A4_UNORM
Definition: dds.h:167
DDS_PIXELFORMAT::size
uint32_t size
Definition: dds.h:184
DXGI_FORMAT_BC1_TYPELESS
@ DXGI_FORMAT_BC1_TYPELESS
Definition: dds.h:122
DXGI_FORMAT_R16_TYPELESS
@ DXGI_FORMAT_R16_TYPELESS
Definition: dds.h:105
DXGI_FORMAT_BC6H_TYPELESS
@ DXGI_FORMAT_BC6H_TYPELESS
Definition: dds.h:146
DXGI_FORMAT_AI44
@ DXGI_FORMAT_AI44
Definition: dds.h:163
DXGI_FORMAT_R8G8_SNORM
@ DXGI_FORMAT_R8G8_SNORM
Definition: dds.h:103
DDS_PIXELFORMAT::BBitMask
uint32_t BBitMask
Definition: dds.h:190
DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS
@ DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS
Definition: dds.h:73
DXGI_FORMAT_R8G8_TYPELESS
@ DXGI_FORMAT_R8G8_TYPELESS
Definition: dds.h:100
DXGI_FORMAT_R16G16_SINT
@ DXGI_FORMAT_R16G16_SINT
Definition: dds.h:90
DXGI_FORMAT_BC1_UNORM_SRGB
@ DXGI_FORMAT_BC1_UNORM_SRGB
Definition: dds.h:124
DXGI_FORMAT_R16G16B16A16_UINT
@ DXGI_FORMAT_R16G16B16A16_UINT
Definition: dds.h:64
DDS_HEADER::caps3
uint32_t caps3
Definition: dds.h:273
DDS_RESOURCE_DIMENSION
DDS_RESOURCE_DIMENSION
Definition: dds.h:236
DXGI_FORMAT_BC3_TYPELESS
@ DXGI_FORMAT_BC3_TYPELESS
Definition: dds.h:128
DDS_MISC_FLAGS2_ALPHA_MODE_MASK
@ DDS_MISC_FLAGS2_ALPHA_MODE_MASK
Definition: dds.h:251
DXGI_FORMAT_R32G32B32_FLOAT
@ DXGI_FORMAT_R32G32B32_FLOAT
Definition: dds.h:58
D3D11_RESOURCE_MISC_TEXTURECUBE
@ D3D11_RESOURCE_MISC_TEXTURECUBE
Definition: dds.h:256
DXGI_FORMAT_BC3_UNORM
@ DXGI_FORMAT_BC3_UNORM
Definition: dds.h:129
DXGI_FORMAT_D16_UNORM
@ DXGI_FORMAT_D16_UNORM
Definition: dds.h:107
DXGI_FORMAT_R32G32B32A32_UINT
@ DXGI_FORMAT_R32G32B32A32_UINT
Definition: dds.h:55
DXGI_FORMAT_BC6H_SF16
@ DXGI_FORMAT_BC6H_SF16
Definition: dds.h:148
DDS_HEADER::caps2
uint32_t caps2
Definition: dds.h:272
DDS_HEADER::size
uint32_t size
Definition: dds.h:262
DXGI_FORMAT_R16_FLOAT
@ DXGI_FORMAT_R16_FLOAT
Definition: dds.h:106
DDS_RESOURCE_MISC_FLAG
DDS_RESOURCE_MISC_FLAG
Definition: dds.h:244
DXGI_FORMAT_R11G11B10_FLOAT
@ DXGI_FORMAT_R11G11B10_FLOAT
Definition: dds.h:78
DXGI_FORMAT_FORCE_UINT
@ DXGI_FORMAT_FORCE_UINT
Definition: dds.h:174
DXGI_FORMAT_BC4_SNORM
@ DXGI_FORMAT_BC4_SNORM
Definition: dds.h:133
DDS_HEADER_DXT10::miscFlag
uint32_t miscFlag
Definition: dds.h:282
DXGI_FORMAT_D24_UNORM_S8_UINT
@ DXGI_FORMAT_D24_UNORM_S8_UINT
Definition: dds.h:97
DXGI_FORMAT_R16G16_SNORM
@ DXGI_FORMAT_R16G16_SNORM
Definition: dds.h:89
DXGI_FORMAT_R32_TYPELESS
@ DXGI_FORMAT_R32_TYPELESS
Definition: dds.h:91
DXGI_FORMAT_Y416
@ DXGI_FORMAT_Y416
Definition: dds.h:154
DXGI_FORMAT_R32G32_FLOAT
@ DXGI_FORMAT_R32G32_FLOAT
Definition: dds.h:68
DXGI_FORMAT_IA44
@ DXGI_FORMAT_IA44
Definition: dds.h:164
DDS_HEADER::reserved2
uint32_t reserved2
Definition: dds.h:275
DXGI_FORMAT_BC2_TYPELESS
@ DXGI_FORMAT_BC2_TYPELESS
Definition: dds.h:125
DXGI_FORMAT_R16_UNORM
@ DXGI_FORMAT_R16_UNORM
Definition: dds.h:108
DXGI_FORMAT_R32G32_UINT
@ DXGI_FORMAT_R32G32_UINT
Definition: dds.h:69
DXGI_FORMAT_R8G8B8A8_UNORM
@ DXGI_FORMAT_R8G8B8A8_UNORM
Definition: dds.h:80
DXGI_FORMAT_BC3_UNORM_SRGB
@ DXGI_FORMAT_BC3_UNORM_SRGB
Definition: dds.h:130
DXGI_FORMAT_R32_SINT
@ DXGI_FORMAT_R32_SINT
Definition: dds.h:95
DDS_HEADER
Definition: dds.h:259
DDS_MISC_FLAGS2
DDS_MISC_FLAGS2
Definition: dds.h:249
DDS_HEADER::caps4
uint32_t caps4
Definition: dds.h:274
DXGI_FORMAT_R8G8B8A8_TYPELESS
@ DXGI_FORMAT_R8G8B8A8_TYPELESS
Definition: dds.h:79
DXGI_FORMAT_P208
@ DXGI_FORMAT_P208
Definition: dds.h:169
DXGI_FORMAT_V408
@ DXGI_FORMAT_V408
Definition: dds.h:171
DXGI_FORMAT_R16G16B16A16_UNORM
@ DXGI_FORMAT_R16G16B16A16_UNORM
Definition: dds.h:63
DXGI_FORMAT_NV11
@ DXGI_FORMAT_NV11
Definition: dds.h:162
DXGI_FORMAT_R10G10B10A2_UNORM
@ DXGI_FORMAT_R10G10B10A2_UNORM
Definition: dds.h:76
DXGI_FORMAT_BC5_TYPELESS
@ DXGI_FORMAT_BC5_TYPELESS
Definition: dds.h:134
DXGI_FORMAT_R8G8B8A8_SINT
@ DXGI_FORMAT_R8G8B8A8_SINT
Definition: dds.h:84
DXGI_FORMAT_R10G10B10A2_TYPELESS
@ DXGI_FORMAT_R10G10B10A2_TYPELESS
Definition: dds.h:75
DXGI_FORMAT_BC2_UNORM_SRGB
@ DXGI_FORMAT_BC2_UNORM_SRGB
Definition: dds.h:127
DXGI_FORMAT_X24_TYPELESS_G8_UINT
@ DXGI_FORMAT_X24_TYPELESS_G8_UINT
Definition: dds.h:99
DXGI_FORMAT_BC2_UNORM
@ DXGI_FORMAT_BC2_UNORM
Definition: dds.h:126
DXGI_FORMAT_R32G32B32_UINT
@ DXGI_FORMAT_R32G32B32_UINT
Definition: dds.h:59
DXGI_FORMAT_R32G32B32_SINT
@ DXGI_FORMAT_R32G32B32_SINT
Definition: dds.h:60
DXGI_FORMAT_R8G8B8A8_UINT
@ DXGI_FORMAT_R8G8B8A8_UINT
Definition: dds.h:82
DXGI_FORMAT_R8_TYPELESS
@ DXGI_FORMAT_R8_TYPELESS
Definition: dds.h:112
DXGI_FORMAT_420_OPAQUE
@ DXGI_FORMAT_420_OPAQUE
Definition: dds.h:158
DDS_HEADER::mipMapCount
uint32_t mipMapCount
Definition: dds.h:268
DXGI_FORMAT_R8_SINT
@ DXGI_FORMAT_R8_SINT
Definition: dds.h:116
DXGI_FORMAT_R32G32B32A32_TYPELESS
@ DXGI_FORMAT_R32G32B32A32_TYPELESS
Definition: dds.h:53
DXGI_FORMAT_P016
@ DXGI_FORMAT_P016
Definition: dds.h:157
DXGI_FORMAT_B8G8R8A8_UNORM_SRGB
@ DXGI_FORMAT_B8G8R8A8_UNORM_SRGB
Definition: dds.h:143
DXGI_FORMAT_R32G32_SINT
@ DXGI_FORMAT_R32G32_SINT
Definition: dds.h:70
DXGI_FORMAT_R16_SINT
@ DXGI_FORMAT_R16_SINT
Definition: dds.h:111
DDS_HEADER::magic
uint32_t magic
Definition: dds.h:261
DXGI_FORMAT_R8G8_B8G8_UNORM
@ DXGI_FORMAT_R8G8_B8G8_UNORM
Definition: dds.h:120
DXGI_FORMAT_R8G8B8A8_SNORM
@ DXGI_FORMAT_R8G8B8A8_SNORM
Definition: dds.h:83
DXGI_FORMAT_R32G8X24_TYPELESS
@ DXGI_FORMAT_R32G8X24_TYPELESS
Definition: dds.h:71
DXGI_FORMAT_R16G16_TYPELESS
@ DXGI_FORMAT_R16G16_TYPELESS
Definition: dds.h:85
DXGI_FORMAT_R16G16B16A16_SNORM
@ DXGI_FORMAT_R16G16B16A16_SNORM
Definition: dds.h:65
DXGI_FORMAT_B5G6R5_UNORM
@ DXGI_FORMAT_B5G6R5_UNORM
Definition: dds.h:137
DDS_PIXELFORMAT::fourCC
uint32_t fourCC
Definition: dds.h:186
DDS_HEADER_DXT10::miscFlags2
uint32_t miscFlags2
Definition: dds.h:284
DDS_RESOURCE_MISC_TEXTURECUBE
@ DDS_RESOURCE_MISC_TEXTURECUBE
Definition: dds.h:246
DDS_HEADER_DXT10
Definition: dds.h:278
DXGI_FORMAT_BC4_TYPELESS
@ DXGI_FORMAT_BC4_TYPELESS
Definition: dds.h:131
L
#define L(name)
Definition: g_save.c:47
DXGI_FORMAT_R24G8_TYPELESS
@ DXGI_FORMAT_R24G8_TYPELESS
Definition: dds.h:96
DDS_DIMENSION_TEXTURE2D
@ DDS_DIMENSION_TEXTURE2D
Definition: dds.h:239
DXGI_FORMAT_B8G8R8X8_UNORM_SRGB
@ DXGI_FORMAT_B8G8R8X8_UNORM_SRGB
Definition: dds.h:145
DXGI_FORMAT_B8G8R8X8_TYPELESS
@ DXGI_FORMAT_B8G8R8X8_TYPELESS
Definition: dds.h:144
DXGI_FORMAT_NV12
@ DXGI_FORMAT_NV12
Definition: dds.h:155
DXGI_FORMAT_R32G32B32A32_SINT
@ DXGI_FORMAT_R32G32B32A32_SINT
Definition: dds.h:56
DXGI_FORMAT_R8_UINT
@ DXGI_FORMAT_R8_UINT
Definition: dds.h:114
DXGI_FORMAT_D32_FLOAT
@ DXGI_FORMAT_D32_FLOAT
Definition: dds.h:92
DXGI_FORMAT_Y410
@ DXGI_FORMAT_Y410
Definition: dds.h:153
DXGI_FORMAT_BC1_UNORM
@ DXGI_FORMAT_BC1_UNORM
Definition: dds.h:123
DDS_PIXELFORMAT
Definition: dds.h:182
DXGI_FORMAT_R1_UNORM
@ DXGI_FORMAT_R1_UNORM
Definition: dds.h:118
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB
@ DXGI_FORMAT_R8G8B8A8_UNORM_SRGB
Definition: dds.h:81
DXGI_FORMAT_R16G16_FLOAT
@ DXGI_FORMAT_R16G16_FLOAT
Definition: dds.h:86
DDS_HEADER::height
uint32_t height
Definition: dds.h:264
DXGI_FORMAT_G8R8_G8B8_UNORM
@ DXGI_FORMAT_G8R8_G8B8_UNORM
Definition: dds.h:121
DDS_HEADER::pitchOrLinearSize
uint32_t pitchOrLinearSize
Definition: dds.h:266
DDS_DIMENSION_TEXTURE3D
@ DDS_DIMENSION_TEXTURE3D
Definition: dds.h:240
DXGI_FORMAT_R8G8_UINT
@ DXGI_FORMAT_R8G8_UINT
Definition: dds.h:102
DXGI_FORMAT_R8G8_SINT
@ DXGI_FORMAT_R8G8_SINT
Definition: dds.h:104
DDS_HEADER_DXT10::dxgiFormat
DXGI_FORMAT dxgiFormat
Definition: dds.h:280
DXGI_FORMAT_R32G32B32_TYPELESS
@ DXGI_FORMAT_R32G32B32_TYPELESS
Definition: dds.h:57
DXGI_FORMAT_R16G16B16A16_SINT
@ DXGI_FORMAT_R16G16B16A16_SINT
Definition: dds.h:66
DXGI_FORMAT_R8_SNORM
@ DXGI_FORMAT_R8_SNORM
Definition: dds.h:115
DXGI_FORMAT_R16G16_UNORM
@ DXGI_FORMAT_R16G16_UNORM
Definition: dds.h:87
DXGI_FORMAT_BC6H_UF16
@ DXGI_FORMAT_BC6H_UF16
Definition: dds.h:147
DDS_PIXELFORMAT::GBitMask
uint32_t GBitMask
Definition: dds.h:189
DXGI_FORMAT_B5G5R5A1_UNORM
@ DXGI_FORMAT_B5G5R5A1_UNORM
Definition: dds.h:138
DDS_PIXELFORMAT::RBitMask
uint32_t RBitMask
Definition: dds.h:188
DXGI_FORMAT_BC7_TYPELESS
@ DXGI_FORMAT_BC7_TYPELESS
Definition: dds.h:149
DXGI_FORMAT_Y210
@ DXGI_FORMAT_Y210
Definition: dds.h:160
DXGI_FORMAT_BC5_UNORM
@ DXGI_FORMAT_BC5_UNORM
Definition: dds.h:135
DXGI_FORMAT_A8P8
@ DXGI_FORMAT_A8P8
Definition: dds.h:166
DDS_DIMENSION_TEXTURE1D
@ DDS_DIMENSION_TEXTURE1D
Definition: dds.h:238
DDS_HEADER_DXT10::arraySize
uint32_t arraySize
Definition: dds.h:283