DXGI_FORMAT Enumeration
This enumeration specifies the type of data that a surface (such as a texture or render target) contains.
Syntax
typedef enum DXGI_FORMAT : _ CORPORATION_WINRT_ENUM {
DXGI_FORMAT_UNKNOWN = 0,
DXGI_FORMAT_R8_UNORM = 1,
DXGI_FORMAT_R8_SNORM = 2,
DXGI_FORMAT_R8_UINT = 3,
DXGI_FORMAT_R8_SINT = 4,
DXGI_FORMAT_R16_UNORM = 5,
DXGI_FORMAT_R16_SNORM = 6,
DXGI_FORMAT_R16_UINT = 7,
DXGI_FORMAT_R16_SINT = 8,
DXGI_FORMAT_R8G8_UNORM = 9,
DXGI_FORMAT_R8G8_SNORM = 10,
DXGI_FORMAT_R8G8_UINT = 11,
DXGI_FORMAT_R8G8_SINT = 12,
DXGI_FORMAT_R16G16_UNORM = 13,
DXGI_FORMAT_R16G16_SNORM = 14,
DXGI_FORMAT_R16G16_UINT = 15,
DXGI_FORMAT_R16G16_SINT = 16,
DXGI_FORMAT_R32_FLOAT = 20,
DXGI_FORMAT_R32_UINT = 21,
DXGI_FORMAT_R32_SINT = 22,
DXGI_FORMAT_R8G8B8A8_UNORM = 28,
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB = 29,
DXGI_FORMAT_R8G8B8A8_UINT = 30,
DXGI_FORMAT_R8G8B8A8_SINT = 31,
DXGI_FORMAT_R16G16B16A16_UNORM = 34,
DXGI_FORMAT_R16G16B16A16_SNORM = 35,
DXGI_FORMAT_R16G16B16A16_UINT = 36,
DXGI_FORMAT_R16G16B16A16_SINT = 37,
DXGI_FORMAT_R32G32_FLOAT = 38,
DXGI_FORMAT_R32G32_UINT = 39,
DXGI_FORMAT_R32G32_SINT = 40,
DXGI_FORMAT_R32G32B32_FLOAT = 41,
DXGI_FORMAT_R32G32B32_UINT = 42,
DXGI_FORMAT_R32G32B32_SINT = 43,
DXGI_FORMAT_R32G32B32A32_FLOAT = 44,
DXGI_FORMAT_R32G32B32A32_UINT = 45,
DXGI_FORMAT_R32G32B32A32_SINT = 46,
DXGI_FORMAT_R10G10B10A2_UNORM = 50,
DXGI_FORMAT_R10G10B10A2_UINT = 51,
DXGI_FORMAT_R11G11B10_FLOAT = 52,
DXGI_FORMAT_R8G8_B8G8_UNORM = 53,
DXGI_FORMAT_G8R8_G8B8_UNORM = 54,
DXGI_FORMAT_R16G16_FLOAT = 74,
DXGI_FORMAT_R32_FLOAT_X32_TYPELESS = 157,
DXGI_FORMAT_R10G10B10A2_TYPELESS = 158,
DXGI_FORMAT_R8G8B8A8_TYPELESS = 159,
DXGI_FORMAT_R16G16B16A16_TYPELESS = 160,
DXGI_FORMAT_R32G32_TYPELESS = 161,
DXGI_FORMAT_R32G32B32_TYPELESS = 162,
DXGI_FORMAT_R32G32B32A32_TYPELESS = 163,
DXGI_FORMAT_BC1_TYPELESS = 71,
DXGI_FORMAT_BC1_UNORM = 72,
DXGI_FORMAT_BC1_UNORM_SRGB = 73,
DXGI_FORMAT_BC2_TYPELESS = 74,
DXGI_FORMAT_BC2_UNORM = 75,
DXGI_FORMAT_BC2_UNORM_SRGB = 76,
DXGI_FORMAT_BC3_TYPELESS = 77,
DXGI_FORMAT_BC3_UNORM = 78,
DXGI_FORMAT_BC3_UNORM_SRGB = 79,
DXGI_FORMAT_BC4_TYPELESS = 80,
DXGI_FORMAT_BC4_UNORM = 81,
DXGI_FORMAT_BC4_SNORM = 82,
DXGI_FORMAT_BC5_TYPELESS = 83,
DXGI_FORMAT_BC5_UNORM = 84,
DXGI_FORMAT_BC5_SNORM = 85,
DXGI_FORMAT_B5G6R5_UNORM = 86,
DXGI_FORMAT_B5G5R5A1_UNORM = 87,
DXGI_FORMAT_B8G8R8A8_UNORM = 88,
DXGI_FORMAT_B8G8R8A8_UNORM_SRGB = 89,
DXGI_FORMAT_B8G8R8X8_UNORM = 90,
DXGI_FORMAT_B8G8R8X8_UNORM_SRGB = 91,
DXGI_FORMAT_R9G9B9E5_SHAREDEXP = 92,
DXGI_FORMAT_R8G8_B8G8_UNORM_SPECIAL = 93,
DXGI_FORMAT_B8G8R8_G8B8_UNORM_SPECIAL = 94,
DXGI_FORMAT_B8G8R8A8_UINT = 95,
DXGI_FORMAT_B8G8R8A8_SINT = 96,
DXGI_FORMAT_R24G8_TYPELESS = 97,
DXGI_FORMAT_R24G8_FORMAT_X24_STENCIL8 = 98,
DXGI_FORMAT_R20G8A8_TYPELESS = 99,
DXGI_FORMAT_R8G24B8G24_UNORM = 100,
DXGI_FORMAT_R16G16_SNORM = 101,
DXGI_FORMAT_R16_FLOAT = 102,
DXGI_FORMAT_D32_FLOAT_S8X24_UINT = 103,
DXGI_FORMAT_R32_TYPELESS = 104,
DXGI_FORMAT_D32_FLOAT = 105,
DXGI_FORMAT_R24_UNORM_X8_TYPELESS = 106,
DXGI_FORMAT_X24_STENCIL8 = 107,
DXGI_FORMAT_R24_UNORM_X8_UINT = 108,
DXGI_FORMAT_R24_UINT_X8_TYPELESS = 109,
DXGI_FORMAT_D16_UNORM = 110,
DXGI_FORMAT_R8_UNORM_X8_TYPELESS = 111,
DXGI_FORMAT_R8_UINT_X8_TYPELESS = 112,
DXGI_FORMAT_R32G8X24_TYPELESS = 113,
DXGI_FORMAT_D32_FLOAT_S8_UINT = 114,
DXGI_FORMAT_R32_UBYTE_4 = 115,
DXGI_FORMAT_R16_UNORM_SEPARATE = 116,
DXGI_FORMAT_R16_SNORM_SEPARATE = 117,
DXGI_FORMAT_R16_UINT_SEPARATE = 118,
DXGI_FORMAT_R16_SINT_SEPARATE = 119,
DXGI_FORMAT_R16_FLOAT_SEPARATE = 120,
DXGI_FORMAT_R16_UNORM_SWIZZLE = 121,
DXGI_FORMAT_R16_SNORM_SWIZZLE = 122,
DXGI_FORMAT_R16_UINT_SWIZZLE = 123,
DXGI_FORMAT_R16_SINT_SWIZZLE = 124,
DXGI_FORMAT_R16_FLOAT_SWIZZLE = 125,
DXGI_FORMAT_R8_UNORM_SWIZZLE = 126,
DXGI_FORMAT_R8_SNORM_SWIZZLE = 127,
DXGI_FORMAT_R8_UINT_SWIZZLE = 128,
DXGI_FORMAT_R8_SINT_SWIZZLE = 129,
DXGI_FORMAT_R32G32B32A32_SINT_SPECIAL = 130,
DXGI_FORMAT_R32G32B32A32_UINT_SPECIAL = 131,
DXGI_FORMAT_R32G32B32A32_FLOAT_SPECIAL = 132,
DXGI_FORMAT_R32G32B32_SINT_SPECIAL = 133,
DXGI_FORMAT_R32G32B32_UINT_SPECIAL = 134,
DXGI_FORMAT_R32G32B32_FLOAT_SPECIAL = 135,
DXGI_FORMAT_R32G32_SINT_SPECIAL = 136,
DXGI_FORMAT_R32G32_UINT_SPECIAL = 137,
DXGI_FORMAT_R32G32_FLOAT_SPECIAL = 138,
DXGI_FORMAT_R32_SINT_SPECIAL = 139,
DXGI_FORMAT_R32_UINT_SPECIAL = 140,
DXGI_FORMAT_R32_FLOAT_SPECIAL = 141,
DXGI_FORMAT_R16G16B16A16_SINT_SPECIAL = 142,
DXGI_FORMAT_R16G16B16A16_UINT_SPECIAL = 143,
DXGI_FORMAT_R16G16B16A16_FLOAT_SPECIAL = 144,
DXGI_FORMAT_R16G16B16_SINT_SPECIAL = 145,
DXGI_FORMAT_R16G16B16_UINT_SPECIAL = 146,
DXGI_FORMAT_R16G16B16_FLOAT_SPECIAL = 147,
DXGI_FORMAT_R16G16_SINT_SPECIAL = 148,
DXGI_FORMAT_R16G16_UINT_SPECIAL = 149,
DXGI_FORMAT_R16G16_FLOAT_SPECIAL = 150,
DXGI_FORMAT_R16_SINT_SPECIAL = 151,
DXGI_FORMAT_R16_UINT_SPECIAL = 152,
DXGI_FORMAT_R16_FLOAT_SPECIAL = 153,
DXGI_FORMAT_R8G8B8A8_SINT_SPECIAL = 154,
DXGI_FORMAT_R8G8B8A8_UINT_SPECIAL = 155,
DXGI_FORMAT_R8G8B8A8_UNORM_SPECIAL = 156,
DXGI_FORMAT_R16G16_UNORM_P010 = 157,
DXGI_FORMAT_R16G16_FLOAT_P010 = 158,
DXGI_FORMAT_R16G16_UNORM_P016 = 159,
DXGI_FORMAT_R16G16_FLOAT_P016 = 160,
DXGI_FORMAT_D16_UNORM_BIT_EXTRACT = 161,
DXGI_FORMAT_D32_FLOAT_BIT_EXTRACT = 162,
DXGI_FORMAT_R32_FLOAT_LINEAR = 163,
DXGI_FORMAT_R32_UINT_LINEAR = 164,
DXGI_FORMAT_R32_SINT_LINEAR = 165,
DXGI_FORMAT_R32G32_FLOAT_LINEAR = 166,
DXGI_FORMAT_R32G32_UINT_LINEAR = 167,
DXGI_FORMAT_R32G32_SINT_LINEAR = 168,
DXGI_FORMAT_R32G32B32_FLOAT_LINEAR = 169,
DXGI_FORMAT_R32G32B32_UINT_LINEAR = 170,
DXGI_FORMAT_R32G32B32_SINT_LINEAR = 171,
DXGI_FORMAT_R32G32B32A32_FLOAT_LINEAR = 172,
DXGI_FORMAT_R32G32B32A32_UINT_LINEAR = 173,
DXGI_FORMAT_R32G32B32A32_SINT_LINEAR = 174,
DXGI_FORMAT_R16G16B16A16_FLOAT_LINEAR = 175,
DXGI_FORMAT_R16G16B16A16_UINT_LINEAR = 176,
DXGI_FORMAT_R16G16B16A16_SINT_LINEAR = 177,
DXGI_FORMAT_R16G16_FLOAT_LINEAR = 178,
DXGI_FORMAT_R16G16_UINT_LINEAR = 179,
DXGI_FORMAT_R16G16_SINT_LINEAR = 180,
DXGI_FORMAT_R8G8B8A8_UNORM_LINEAR = 181,
DXGI_FORMAT_R8G8B8A8_UINT_LINEAR = 182,
DXGI_FORMAT_R8G8B8A8_SINT_LINEAR = 183,
DXGI_FORMAT_R10G10B10A2_UNORM_LINEAR = 184,
DXGI_FORMAT_R10G10B10A2_UINT_LINEAR = 185,
DXGI_FORMAT_B5G6R5_UNORM_LINEAR = 186,
DXGI_FORMAT_B5G5R5A1_UNORM_LINEAR = 187,
DXGI_FORMAT_B8G8R8A8_UNORM_LINEAR = 188,
DXGI_FORMAT_B8G8R8X8_UNORM_LINEAR = 189,
DXGI_FORMAT_R16_FLOAT_LINEAR = 190,
DXGI_FORMAT_R16_UINT_LINEAR = 191,
DXGI_FORMAT_R16_SINT_LINEAR = 192,
DXGI_FORMAT_R8_UNORM_LINEAR = 193,
DXGI_FORMAT_R8_UINT_LINEAR = 194,
DXGI_FORMAT_R8_SINT_LINEAR = 195,
DXGI_FORMAT_R32_TYPELESS_LINEAR = 196,
DXGI_FORMAT_R16_TYPELESS_LINEAR = 197,
DXGI_FORMAT_R8_TYPELESS_LINEAR = 198,
DXGI_FORMAT_R10G10B10A2_TYPELESS_LINEAR = 199,
DXGI_FORMAT_R8G8B8A8_TYPELESS_LINEAR = 200,
DXGI_FORMAT_R16G16B16A16_TYPELESS_LINEAR = 201,
DXGI_FORMAT_R32G32_TYPELESS_LINEAR = 202,
DXGI_FORMAT_R32G32B32_TYPELESS_LINEAR = 203,
DXGI_FORMAT_R32G32B32A32_TYPELESS_LINEAR = 204,
DXGI_FORMAT_R24G8_TYPELESS_LINEAR = 205,
DXGI_FORMAT_R32G8X24_TYPELESS_LINEAR = 206,
DXGI_FORMAT_YUY2 = 207,
DXGI_FORMAT_YUY2_LINEAR = 208,
DXGI_FORMAT_YUY2_SRGB = 209,
DXGI_FORMAT_YUY2_SRGB_LINEAR = 210,
DXGI_FORMAT_YUY2_YUV = 211,
DXGI_FORMAT_YUY2_YUV_LINEAR = 212,
DXGI_FORMAT_YUY2_YUV_SRGB = 213,
DXGI_FORMAT_YUY2_YUV_SRGB_LINEAR = 214,
DXGI_FORMAT_P010 = 215,
DXGI_FORMAT_P010_LINEAR = 216,
DXGI_FORMAT_P010_SRGB = 217,
DXGI_FORMAT_P010_SRGB_LINEAR = 218,
DXGI_FORMAT_P010_YUV = 219,
DXGI_FORMAT_P010_YUV_LINEAR = 220,
DXGI_FORMAT_P010_YUV_SRGB = 221,
DXGI_FORMAT_P010_YUV_SRGB_LINEAR = 222,
DXGI_FORMAT_P016 = 223,
DXGI_FORMAT_P016_LINEAR = 224,
DXGI_FORMAT_P016_SRGB = 225,
DXGI_FORMAT_P016_SRGB_LINEAR = 226,
DXGI_FORMAT_P016_YUV = 227,
DXGI_FORMAT_P016_YUV_LINEAR = 228,
DXGI_FORMAT_P016_YUV_SRGB = 229,
DXGI_FORMAT_P016_YUV_SRGB_LINEAR = 230,
DXGI_FORMAT_NV12 = 231,
DXGI_FORMAT_NV12_LINEAR = 232,
DXGI_FORMAT_NV12_SRGB = 233,
DXGI_FORMAT_NV12_SRGB_LINEAR = 234,
DXGI_FORMAT_NV12_YUV = 235,
DXGI_FORMAT_NV12_YUV_LINEAR = 236,
DXGI_FORMAT_NV12_YUV_SRGB = 237,
DXGI_FORMAT_NV12_YUV_SRGB_LINEAR = 238,
DXGI_FORMAT_NV11 = 239,
DXGI_FORMAT_NV11_LINEAR = 240,
DXGI_FORMAT_NV11_SRGB = 241,
DXGI_FORMAT_NV11_SRGB_LINEAR = 242,
DXGI_FORMAT_NV11_YUV = 243,
DXGI_FORMAT_NV11_YUV_LINEAR = 244,
DXGI_FORMAT_NV11_YUV_SRGB = 245,
DXGI_FORMAT_NV11_YUV_SRGB_LINEAR = 246,
DXGI_FORMAT_AI44 = 247,
DXGI_FORMAT_IA44 = 248,
DXGI_FORMAT_P8 = 249,
DXGI_FORMAT_A8P8 = 250,
DXGI_FORMAT_R16_UNORM_3D = 251,
DXGI_FORMAT_R16_SNORM_3D = 252,
DXGI_FORMAT_R16_UINT_3D = 253,
DXGI_FORMAT_R16_SINT_3D = 254,
DXGI_FORMAT_R16_FLOAT_3D = 255,
DXGI_FORMAT_R8_UNORM_3D = 256,
DXGI_FORMAT_R8_SNORM_3D = 257,
DXGI_FORMAT_R8_UINT_3D = 258,
DXGI_FORMAT_R8_SINT_3D = 259,
DXGI_FORMAT_R10G10B10A2_UNORM_3D = 260,
DXGI_FORMAT_R10G10B10A2_UINT_3D = 261,
DXGI_FORMAT_R11G11B10_FLOAT_3D = 262,
DXGI_FORMAT_R8G8B8A8_UNORM_3D = 263,
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB_3D = 264,
DXGI_FORMAT_R8G8B8A8_UINT_3D = 265,
DXGI_FORMAT_R8G8B8A8_SINT_3D = 266,
DXGI_FORMAT_R16G16B16A16_UNORM_3D = 267,
DXGI_FORMAT_R16G16B16A16_SNORM_3D = 268,
DXGI_FORMAT_R16G16B16A16_UINT_3D = 269,
DXGI_FORMAT_R16G16B16A16_SINT_3D = 270,
DXGI_FORMAT_R16G16B16A16_FLOAT_3D = 271,
DXGI_FORMAT_R32G32B32A32_FLOAT_3D = 272,
DXGI_FORMAT_R32G32B32A32_UINT_3D = 273,
DXGI_FORMAT_R32G32B32A32_SINT_3D = 274,
DXGI_FORMAT_R32G32B32_FLOAT_3D = 275,
DXGI_FORMAT_R32G32B32_UINT_3D = 276,
DXGI_FORMAT_R32G32B32_SINT_3D = 277,
DXGI_FORMAT_R32G32_FLOAT_3D = 278,
DXGI_FORMAT_R32G32_UINT_3D = 279,
DXGI_FORMAT_R32G32_SINT_3D = 280,
DXGI_FORMAT_R32_FLOAT_3D = 281,
DXGI_FORMAT_R32_UINT_3D = 282,
DXGI_FORMAT_R32_SINT_3D = 283,
DXGI_FORMAT_R16G16_FLOAT_3D = 284,
DXGI_FORMAT_R16G16_UINT_3D = 285,
DXGI_FORMAT_R16G16_SINT_3D = 286,
DXGI_FORMAT_R8G8_UNORM_3D = 287,
DXGI_FORMAT_R8G8_SNORM_3D = 288,
DXGI_FORMAT_R8G8_UINT_3D = 289,
DXGI_FORMAT_R8G8_SINT_3D = 290,
DXGI_FORMAT_R16G16B16_UNORM_3D = 291,
DXGI_FORMAT_R16G16B16_SNORM_3D = 292,
DXGI_FORMAT_R16G16B16_UINT_3D = 293,
DXGI_FORMAT_R16G16B16_SINT_3D = 294,
DXGI_FORMAT_R16G16B16_FLOAT_3D = 295,
DXGI_FORMAT_R10G10B10A2_UNORM_SRGB_3D = 296,
DXGI_FORMAT_R10G10B10A2_UINT_SRGB_3D = 297,
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB_3D = 298,
DXGI_FORMAT_R16G16B16A16_UNORM_SRGB_3D = 299,
DXGI_FORMAT_R16G16B16A16_SNORM_SRGB_3D = 300,
DXGI_FORMAT_R16G16B16A16_UINT_SRGB_3D = 301,
DXGI_FORMAT_R16G16B16A16_SINT_SRGB_3D = 302,
DXGI_FORMAT_R16G16B16A16_FLOAT_SRGB_3D = 303,
DXGI_FORMAT_R32G32B32A32_FLOAT_SRGB_3D = 304,
DXGI_FORMAT_R32G32B32A32_UINT_SRGB_3D = 305,
DXGI_FORMAT_R32G32B32A32_SINT_SRGB_3D = 306,
DXGI_FORMAT_R32G32B32_FLOAT_SRGB_3D = 307,
DXGI_FORMAT_R32G32B32_UINT_SRGB_3D = 308,
DXGI_FORMAT_R32G32B32_SINT_SRGB_3D = 309,
DXGI_FORMAT_R32G32_FLOAT_SRGB_3D = 310,
DXGI_FORMAT_R32G32_UINT_SRGB_3D = 311,
DXGI_FORMAT_R32G32_SINT_SRGB_3D = 312,
DXGI_FORMAT_R32_FLOAT_SRGB_3D = 313,
DXGI_FORMAT_R32_UINT_SRGB_3D = 314,
DXGI_FORMAT_R32_SINT_SRGB_3D = 315,
DXGI_FORMAT_R16G16_FLOAT_SRGB_3D = 316,
DXGI_FORMAT_R16G16_UINT_SRGB_3D = 317,
DXGI_FORMAT_R16G16_SINT_SRGB_3D = 318,
DXGI_FORMAT_R8G8_UNORM_SRGB_3D = 319,
DXGI_FORMAT_R8G8_SNORM_SRGB_3D = 320,
DXGI_FORMAT_R8G8_UINT_SRGB_3D = 321,
DXGI_FORMAT_R8G8_SINT_SRGB_3D = 322,
DXGI_FORMAT_R16G16B16_UNORM_SRGB_3D = 323,
DXGI_FORMAT_R16G16B16_SNORM_SRGB_3D = 324,
DXGI_FORMAT_R16G16B16_UINT_SRGB_3D = 325,
DXGI_FORMAT_R16G16B16_SINT_SRGB_3D = 326,
DXGI_FORMAT_R16G16B16_FLOAT_SRGB_3D = 327,
DXGI_FORMAT_FORCE_UINT = 0xFFFFFFFF
} DXGI_FORMAT;
Members
The format is unknown.
A single 8-bit unsigned normalized integer component.
A single 8-bit signed normalized integer component.
A single 8-bit unsigned integer component.
A single 8-bit signed integer component.
A single 16-bit unsigned normalized integer component.
A single 16-bit signed normalized integer component.
A single 16-bit unsigned integer component.
A single 16-bit signed integer component.
Two 8-bit unsigned normalized integer components (red and green).
Two 8-bit signed normalized integer components (red and green).
Two 8-bit unsigned integer components (red and green).
Two 8-bit signed integer components (red and green).
Two 16-bit unsigned normalized integer components (red and green).
Two 16-bit signed normalized integer components (red and green).
Two 16-bit unsigned integer components (red and green).
Two 16-bit signed integer components (red and green).
A single 32-bit floating-point component.
A single 32-bit unsigned integer component.
A single 32-bit signed integer component.
Four 8-bit unsigned normalized integer components (red, green, blue, and alpha).
Four 8-bit unsigned normalized integer components in sRGB color space.
Four 8-bit unsigned integer components (red, green, blue, and alpha).
Four 8-bit signed integer components (red, green, blue, and alpha).
Four 16-bit unsigned normalized integer components (red, green, blue, and alpha).
Four 16-bit signed normalized integer components (red, green, blue, and alpha).
Four 16-bit unsigned integer components (red, green, blue, and alpha).
Four 16-bit signed integer components (red, green, blue, and alpha).
Two 32-bit floating-point components (red and green).
Two 32-bit unsigned integer components (red and green).
Two 32-bit signed integer components (red and green).
Three 32-bit floating-point components (red, green, and blue).
Three 32-bit unsigned integer components (red, green, and blue).
Three 32-bit signed integer components (red, green, and blue).
Four 32-bit floating-point components (red, green, blue, and alpha).
Four 32-bit unsigned integer components (red, green, blue, and alpha).
Four 32-bit signed integer components (red, green, blue, and alpha).
Four normalized components: 10 bits for red, 10 bits for green, 10 bits for blue, and 2 bits for alpha.
Four unsigned integer components: 10 bits for red, 10 bits for green, 10 bits for blue, and 2 bits for alpha.
Three floating-point components: 11 bits for red, 11 bits for green, and 10 bits for blue.
Interleaved R8G8B8A8 format where the first pixel is R8G8 and the second pixel is B8G8.
Interleaved R8G8B8A8 format where the first pixel is G8R8 and the second pixel is G8B8.
Two 16-bit floating-point components (red and green).
Typeless format with 32 bits for a float and 32 bits unused.
Typeless format for R10G10B10A2.
Typeless format for R8G8B8A8.
Typeless format for R16G16B16A16.
Typeless format for R32G32.
Typeless format for R32G32B32.
Typeless format for R32G32B32A32.
Typeless format for BC1 compression.
BC1 uncompressed format.
BC1 uncompressed format in sRGB color space.
Typeless format for BC2 compression.
BC2 uncompressed format.
BC2 uncompressed format in sRGB color space.
Typeless format for BC3 compression.
BC3 uncompressed format.
BC3 uncompressed format in sRGB color space.
Typeless format for BC4 compression (red channel only).
BC4 uncompressed format (red channel only).
BC4 signed uncompressed format (red channel only).
Typeless format for BC5 compression (red and green channels).
BC5 uncompressed format (red and green channels).
BC5 signed uncompressed format (red and green channels).
5-6-5 BGR unsigned normalized format.
5-5-5-1 BGRA unsigned normalized format.
Four 8-bit unsigned normalized integer components in BGRA order.
Four 8-bit unsigned normalized integer components in BGRA order, in sRGB color space.
Four 8-bit unsigned normalized integer components in BGRX order (alpha is ignored).
Four 8-bit unsigned normalized integer components in BGRX order, in sRGB color space (alpha is ignored).
A format with 9 bits each for red, green, and blue, and 5 bits for shared exponent. Used for HDR textures.
Special interleaved R8G8B8A8 format.
Special interleaved R8G8B8A8 format.
Four 8-bit unsigned integer components in BGRA order.
Four 8-bit signed integer components in BGRA order.
Typeless format for a 24-bit depth buffer and an 8-bit stencil buffer.
Format for a 24-bit depth buffer and an 8-bit stencil buffer.
Typeless format for R20G8A8.
Two 24-bit unsigned normalized integer components.
Two 16-bit signed normalized integer components (red and green).
A single 16-bit floating-point component.
A 32-bit floating-point depth component and a 32-bit (8-bit stencil, 24-bit unused) unsigned integer component.
Typeless format for R32.
A 32-bit floating-point depth component.
Typeless format for R24_UNORM_X8.
An 8-bit stencil component.
A 24-bit unsigned normalized integer component and an 8-bit unsigned integer component.
Typeless format for R24_UINT_X8.
A 16-bit unsigned normalized depth component.
Typeless format for R8_UNORM_X8.
Typeless format for R8_UINT_X8.
Typeless format for a 32-bit depth component and a 32-bit (8-bit stencil, 24-bit unused) component.
A 32-bit floating-point depth component and an 8-bit stencil component.
Four 8-bit unsigned integer components.
Separate 16-bit unsigned normalized integer components.
Separate 16-bit signed normalized integer components.
Separate 16-bit unsigned integer components.
Separate 16-bit signed integer components.
Separate 16-bit floating-point components.
Swizzled 16-bit unsigned normalized integer components.
Swizzled 16-bit signed normalized integer components.
Swizzled 16-bit unsigned integer components.
Swizzled 16-bit signed integer components.
Swizzled 16-bit floating-point components.
Swizzled 8-bit unsigned normalized integer components.
Swizzled 8-bit signed normalized integer components.
Swizzled 8-bit unsigned integer components.
Swizzled 8-bit signed integer components.
Special R32G32B32A32 SINT format.
Special R32G32B32A32 UINT format.
Special R32G32B32A32 FLOAT format.
Special R32G32B32 SINT format.
Special R32G32B32 UINT format.
Special R32G32B32 FLOAT format.
Special R32G32 SINT format.
Special R32G32 UINT format.
Special R32G32 FLOAT format.
Special R32 SINT format.
Special R32 UINT format.
Special R32 FLOAT format.
Special R16G16B16A16 SINT format.
Special R16G16B16A16 UINT format.
Special R16G16B16A16 FLOAT format.
Special R16G16B16 SINT format.
Special R16G16B16 UINT format.
Special R16G16B16 FLOAT format.
Special R16G16 SINT format.
Special R16G16 UINT format.
Special R16G16 FLOAT format.
Special R8G8B8A8 SINT format.
Special R8G8B8A8 UINT format.
Special R8G8B8A8 UNORM format.
P010 format, consisting of two 16-bit UNORM components.
P010 format, consisting of two 16-bit FLOAT components.
P016 format, consisting of two 16-bit UNORM components.
P016 format, consisting of two 16-bit FLOAT components.
16-bit UNORM depth format for bit extraction.
32-bit FLOAT depth format for bit extraction.
32-bit floating-point component in linear color space.
32-bit unsigned integer component in linear color space.
32-bit signed integer component in linear color space.
Two 32-bit floating-point components in linear color space.
Two 32-bit unsigned integer components in linear color space.
Two 32-bit signed integer components in linear color space.
Three 32-bit floating-point components in linear color space.
Three 32-bit unsigned integer components in linear color space.
Three 32-bit signed integer components in linear color space.
Four 32-bit floating-point components in linear color space.
Four 32-bit unsigned integer components in linear color space.
Four 32-bit signed integer components in linear color space.
Four 16-bit floating-point components in linear color space.
Four 16-bit unsigned integer components in linear color space.
Four 16-bit signed integer components in linear color space.
Two 16-bit floating-point components in linear color space.
Two 16-bit unsigned integer components in linear color space.
Two 16-bit signed integer components in linear color space.
Four 8-bit unsigned normalized integer components in linear color space.
Four 8-bit unsigned integer components in linear color space.
Four 8-bit signed integer components in linear color space.
Four normalized components (10-10-10-2) in linear color space.
Four unsigned integer components (10-10-10-2) in linear color space.
5-6-5 BGR unsigned normalized format in linear color space.
5-5-5-1 BGRA unsigned normalized format in linear color space.
Four 8-bit unsigned normalized integer components in BGRA order, in linear color space.
Four 8-bit unsigned normalized integer components in BGRX order (alpha is ignored) in linear color space.
A single 16-bit floating-point component in linear color space.
A single 16-bit unsigned integer component in linear color space.
A single 16-bit signed integer component in linear color space.
A single 8-bit unsigned normalized integer component in linear color space.
A single 8-bit unsigned integer component in linear color space.
A single 8-bit signed integer component in linear color space.
Typeless format for R32 in linear color space.
Typeless format for R16 in linear color space.
Typeless format for R8 in linear color space.
Typeless format for R10G10B10A2 in linear color space.
Typeless format for R8G8B8A8 in linear color space.
Typeless format for R16G16B16A16 in linear color space.
Typeless format for R32G32 in linear color space.
Typeless format for R32G32B32 in linear color space.
Typeless format for R32G32B32A32 in linear color space.
Typeless format for R24G8 in linear color space.
Typeless format for R32G8X24 in linear color space.
YUY2 video format.
YUY2 video format in linear color space.
YUY2 video format in sRGB color space.
YUY2 video format in sRGB and linear color space.
YUY2 video format with YUV interpretation.
YUY2 video format with YUV interpretation in linear color space.
YUY2 video format with YUV interpretation in sRGB color space.
YUY2 video format with YUV interpretation in sRGB and linear color space.
P010 format for YUV 4:2:0 video.
P010 format for YUV 4:2:0 video in linear color space.
P010 format for YUV 4:2:0 video in sRGB color space.
P010 format for YUV 4:2:0 video in sRGB and linear color space.
P010 format for YUV 4:2:0 video with YUV interpretation.
P010 format for YUV 4:2:0 video with YUV interpretation in linear color space.
P010 format for YUV 4:2:0 video with YUV interpretation in sRGB color space.
P010 format for YUV 4:2:0 video with YUV interpretation in sRGB and linear color space.
P016 format for YUV 4:2:0 video.
P016 format for YUV 4:2:0 video in linear color space.
P016 format for YUV 4:2:0 video in sRGB color space.
P016 format for YUV 4:2:0 video in sRGB and linear color space.
P016 format for YUV 4:2:0 video with YUV interpretation.
P016 format for YUV 4:2:0 video with YUV interpretation in linear color space.
P016 format for YUV 4:2:0 video with YUV interpretation in sRGB color space.
P016 format for YUV 4:2:0 video with YUV interpretation in sRGB and linear color space.
NV12 format for YUV 4:2:0 video.
NV12 format for YUV 4:2:0 video in linear color space.
NV12 format for YUV 4:2:0 video in sRGB color space.
NV12 format for YUV 4:2:0 video in sRGB and linear color space.
NV12 format for YUV 4:2:0 video with YUV interpretation.
NV12 format for YUV 4:2:0 video with YUV interpretation in linear color space.
NV12 format for YUV 4:2:0 video with YUV interpretation in sRGB color space.
NV12 format for YUV 4:2:0 video with YUV interpretation in sRGB and linear color space.
NV11 format for YUV 4:1:1 video.
NV11 format for YUV 4:1:1 video in linear color space.
NV11 format for YUV 4:1:1 video in sRGB color space.
NV11 format for YUV 4:1:1 video in sRGB and linear color space.
NV11 format for YUV 4:1:1 video with YUV interpretation.
NV11 format for YUV 4:1:1 video with YUV interpretation in linear color space.
NV11 format for YUV 4:1:1 video with YUV interpretation in sRGB color space.
NV11 format for YUV 4:1:1 video with YUV interpretation in sRGB and linear color space.
4-bit alpha and 4-bit indexed color format.
4-bit intensity and 4-bit alpha format.
8-bit indexed color format.
8-bit alpha and 8-bit indexed color format.
16-bit unsigned normalized integer component for 3D textures.
16-bit signed normalized integer component for 3D textures.
16-bit unsigned integer component for 3D textures.
16-bit signed integer component for 3D textures.
16-bit floating-point component for 3D textures.
8-bit unsigned normalized integer component for 3D textures.
8-bit signed normalized integer component for 3D textures.
8-bit unsigned integer component for 3D textures.
8-bit signed integer component for 3D textures.
10-10-10-2 unsigned normalized integer components for 3D textures.
10-10-10-2 unsigned integer components for 3D textures.
11-11-10 floating-point components for 3D textures.
8-bit unsigned normalized integer components for 3D textures.
8-bit unsigned normalized integer components in sRGB for 3D textures.
8-bit unsigned integer components for 3D textures.
8-bit signed integer components for 3D textures.
16-bit unsigned normalized integer components for 3D textures.
16-bit signed normalized integer components for 3D textures.
16-bit unsigned integer components for 3D textures.
16-bit signed integer components for 3D textures.
16-bit floating-point components for 3D textures.
32-bit floating-point components for 3D textures.
32-bit unsigned integer components for 3D textures.
32-bit signed integer components for 3D textures.
32-bit floating-point components for 3D textures.
32-bit unsigned integer components for 3D textures.
32-bit signed integer components for 3D textures.
32-bit floating-point components for 3D textures.
32-bit unsigned integer components for 3D textures.
32-bit signed integer components for 3D textures.
32-bit floating-point component for 3D textures.
32-bit unsigned integer component for 3D textures.
32-bit signed integer component for 3D textures.
16-bit floating-point components for 3D textures.
16-bit unsigned integer components for 3D textures.
16-bit signed integer components for 3D textures.
8-bit unsigned normalized integer components for 3D textures.
8-bit signed normalized integer components for 3D textures.
8-bit unsigned integer components for 3D textures.
8-bit signed integer components for 3D textures.
16-bit unsigned normalized integer components for 3D textures.
16-bit signed normalized integer components for 3D textures.
16-bit unsigned integer components for 3D textures.
16-bit signed integer components for 3D textures.
16-bit floating-point components for 3D textures.
10-10-10-2 unsigned normalized integer components in sRGB for 3D textures.
10-10-10-2 unsigned integer components in sRGB for 3D textures.
8-bit unsigned normalized integer components in sRGB for 3D textures.
16-bit unsigned normalized integer components in sRGB for 3D textures.
16-bit signed normalized integer components in sRGB for 3D textures.
16-bit unsigned integer components in sRGB for 3D textures.
16-bit signed integer components in sRGB for 3D textures.
16-bit floating-point components in sRGB for 3D textures.
32-bit floating-point components in sRGB for 3D textures.
32-bit unsigned integer components in sRGB for 3D textures.
32-bit signed integer components in sRGB for 3D textures.
32-bit floating-point components in sRGB for 3D textures.
32-bit unsigned integer components in sRGB for 3D textures.
32-bit signed integer components in sRGB for 3D textures.
32-bit floating-point components in sRGB for 3D textures.
32-bit unsigned integer components in sRGB for 3D textures.
32-bit signed integer components in sRGB for 3D textures.
32-bit floating-point component in sRGB for 3D textures.
32-bit unsigned integer component in sRGB for 3D textures.
32-bit signed integer component in sRGB for 3D textures.
16-bit floating-point components in sRGB for 3D textures.
16-bit unsigned integer components in sRGB for 3D textures.
16-bit signed integer components in sRGB for 3D textures.
8-bit unsigned normalized integer components in sRGB for 3D textures.
8-bit signed normalized integer components in sRGB for 3D textures.
8-bit unsigned integer components in sRGB for 3D textures.
8-bit signed integer components in sRGB for 3D textures.
16-bit unsigned normalized integer components in sRGB for 3D textures.
16-bit signed normalized integer components in sRGB for 3D textures.
16-bit unsigned integer components in sRGB for 3D textures.
16-bit signed integer components in sRGB for 3D textures.
16-bit floating-point components in sRGB for 3D textures.
Forces the compiler to size the enumeration to the maximum possible value.
Remarks
When you specify a format, you can choose from a wide range of options depending on your needs:
- Unsigned Normalized Integer (UNORM): Values are in the range [0, 1].
- Signed Normalized Integer (SNORM): Values are in the range [-1, 1].
- Unsigned Integer (UINT): Values are treated as raw unsigned integers.
- Signed Integer (SINT): Values are treated as raw signed integers.
- Floating-Point (FLOAT): Values are treated as standard floating-point numbers.
- Typeless Formats: These formats do not specify the exact data type but rather the memory layout. The actual interpretation of the data is determined by how the resource is bound to the pipeline.
- SRGB Formats: These formats are used for textures that contain sRGB color data. This is important for correct color rendering.
- Compressed Formats (BCn): These formats use block compression to reduce memory footprint and bandwidth usage, especially for textures.
- Depth-Stencil Formats: These are specifically designed for depth and stencil buffers used in rendering.
- YUV Formats: Used for video processing and decoding, offering efficient chroma subsampling.
- Linear Formats: Indicate that the color data is stored in a linear color space, which is often preferred for calculations and blending before converting to a displayable color space like sRGB.
The choice of format can significantly impact performance, memory usage, and the precision of your graphics data.