Quake II RTX doxygen
1.0 dev
|
|
Go to the documentation of this file.
49 #ifndef DXGI_FORMAT_DEFINED
179 #define MAKEFOURCC(ch0, ch1, ch2, ch3) ((uint32_t)(ch0) | ((uint32_t)(ch1) << 8) | ((uint32_t)(ch2) << 16) | ((uint32_t)(ch3) << 24))
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
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
211 #define DDS_HEIGHT 0x00000002 // DDSD_HEIGHT
212 #define DDS_WIDTH 0x00000004 // DDSD_WIDTH
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
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
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 )
229 #define DDS_CUBEMAP 0x00000200 // DDSCAPS2_CUBEMAP
231 #define DDS_FLAGS_VOLUME 0x00200000 // DDSCAPS2_VOLUME
233 #define DDS_MAGIC 0x20534444 // "DDS "
269 uint32_t reserved1[11];
@ DXGI_FORMAT_B8G8R8A8_TYPELESS
@ DXGI_FORMAT_R16G16_UINT
@ DXGI_FORMAT_R24_UNORM_X8_TYPELESS
@ DXGI_FORMAT_X32_TYPELESS_G8X24_UINT
@ DXGI_FORMAT_R16G16B16A16_TYPELESS
@ DXGI_FORMAT_R9G9B9E5_SHAREDEXP
uint32_t resourceDimension
@ DXGI_FORMAT_D32_FLOAT_S8X24_UINT
@ DXGI_FORMAT_R32G32B32A32_FLOAT
@ DXGI_FORMAT_R10G10B10A2_UINT
@ DXGI_FORMAT_B8G8R8X8_UNORM
@ DXGI_FORMAT_BC7_UNORM_SRGB
@ DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM
@ DXGI_FORMAT_R32G32_TYPELESS
@ DXGI_FORMAT_B8G8R8A8_UNORM
@ DXGI_FORMAT_R16G16B16A16_FLOAT
@ DXGI_FORMAT_B4G4R4A4_UNORM
@ DXGI_FORMAT_BC1_TYPELESS
@ DXGI_FORMAT_R16_TYPELESS
@ DXGI_FORMAT_BC6H_TYPELESS
@ DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS
@ DXGI_FORMAT_R8G8_TYPELESS
@ DXGI_FORMAT_R16G16_SINT
@ DXGI_FORMAT_BC1_UNORM_SRGB
@ DXGI_FORMAT_R16G16B16A16_UINT
@ DXGI_FORMAT_BC3_TYPELESS
@ DDS_MISC_FLAGS2_ALPHA_MODE_MASK
@ DXGI_FORMAT_R32G32B32_FLOAT
@ D3D11_RESOURCE_MISC_TEXTURECUBE
@ DXGI_FORMAT_R32G32B32A32_UINT
@ DXGI_FORMAT_R11G11B10_FLOAT
@ DXGI_FORMAT_D24_UNORM_S8_UINT
@ DXGI_FORMAT_R16G16_SNORM
@ DXGI_FORMAT_R32_TYPELESS
@ DXGI_FORMAT_R32G32_FLOAT
@ DXGI_FORMAT_BC2_TYPELESS
@ DXGI_FORMAT_R32G32_UINT
@ DXGI_FORMAT_R8G8B8A8_UNORM
@ DXGI_FORMAT_BC3_UNORM_SRGB
@ DXGI_FORMAT_R8G8B8A8_TYPELESS
@ DXGI_FORMAT_R16G16B16A16_UNORM
@ DXGI_FORMAT_R10G10B10A2_UNORM
@ DXGI_FORMAT_BC5_TYPELESS
@ DXGI_FORMAT_R8G8B8A8_SINT
@ DXGI_FORMAT_R10G10B10A2_TYPELESS
@ DXGI_FORMAT_BC2_UNORM_SRGB
@ DXGI_FORMAT_X24_TYPELESS_G8_UINT
@ DXGI_FORMAT_R32G32B32_UINT
@ DXGI_FORMAT_R32G32B32_SINT
@ DXGI_FORMAT_R8G8B8A8_UINT
@ DXGI_FORMAT_R8_TYPELESS
@ DXGI_FORMAT_R32G32B32A32_TYPELESS
@ DXGI_FORMAT_B8G8R8A8_UNORM_SRGB
@ DXGI_FORMAT_R32G32_SINT
@ DXGI_FORMAT_R8G8_B8G8_UNORM
@ DXGI_FORMAT_R8G8B8A8_SNORM
@ DXGI_FORMAT_R32G8X24_TYPELESS
@ DXGI_FORMAT_R16G16_TYPELESS
@ DXGI_FORMAT_R16G16B16A16_SNORM
@ DXGI_FORMAT_B5G6R5_UNORM
@ DDS_RESOURCE_MISC_TEXTURECUBE
@ DXGI_FORMAT_BC4_TYPELESS
@ DXGI_FORMAT_R24G8_TYPELESS
@ DDS_DIMENSION_TEXTURE2D
@ DXGI_FORMAT_B8G8R8X8_UNORM_SRGB
@ DXGI_FORMAT_B8G8R8X8_TYPELESS
@ DXGI_FORMAT_R32G32B32A32_SINT
@ DXGI_FORMAT_R8G8B8A8_UNORM_SRGB
@ DXGI_FORMAT_R16G16_FLOAT
@ DXGI_FORMAT_G8R8_G8B8_UNORM
uint32_t pitchOrLinearSize
@ DDS_DIMENSION_TEXTURE3D
@ DXGI_FORMAT_R32G32B32_TYPELESS
@ DXGI_FORMAT_R16G16B16A16_SINT
@ DXGI_FORMAT_R16G16_UNORM
@ DXGI_FORMAT_B5G5R5A1_UNORM
@ DXGI_FORMAT_BC7_TYPELESS
@ DDS_DIMENSION_TEXTURE1D