Enum DxgiFormat
Resource data formats which includes fully-typed and typeless formats.
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public enum DxgiFormat
Fields
Name | Description |
---|---|
A8P8 | 8-bit palletized format with 8 bits of alpha that is used for palletized YUV data when the processor processes Blu-Ray data. |
A8UNorm | A single-component, 8-bit unsigned-normalized-integer format for alpha only. |
AI44 | 4-bit palletized YUV format that is commonly used for DVD sub-picture. |
AYuv | Most common YUV 4:4:4 video resource format. |
B4G4R4A4UNorm | A four-component, 16-bit unsigned-normalized integer format that supports 4 bits for each channel including alpha. |
B5G5R5A1UNorm | A four-component, 16-bit unsigned-normalized-integer format that supports 5 bits for each color channel and 1-bit alpha. |
B5G6R5UNorm | A three-component, 16-bit unsigned-normalized-integer format that supports 5 bits for blue, 6 bits for green, and 5 bits for red. |
B8G8R8A8Typeless | A four-component, 32-bit typeless format that supports 8 bits for each channel including alpha. |
B8G8R8A8UNorm | A four-component, 32-bit unsigned-normalized-integer format that supports 8 bits for each color channel and 8-bit alpha. |
B8G8R8A8UNormSrgb | A four-component, 32-bit unsigned-normalized standard RGB format that supports 8 bits for each channel including alpha. |
B8G8R8X8Typeless | A four-component, 32-bit typeless format that supports 8 bits for each color channel, and 8 bits are unused. |
B8G8R8X8UNorm | A four-component, 32-bit unsigned-normalized-integer format that supports 8 bits for each color channel and 8 bits unused. |
B8G8R8X8UNormSrgb | A four-component, 32-bit unsigned-normalized standard RGB format that supports 8 bits for each color channel, and 8 bits are unused. |
BC1Typeless | Four-component typeless block-compression format. |
BC1UNorm | Four-component block-compression format. |
BC1UNormSrgb | Four-component block-compression format for sRGB data. |
BC2Typeless | Four-component typeless block-compression format. |
BC2UNorm | Four-component block-compression format. |
BC2UNormSrgb | Four-component block-compression format for sRGB data. |
BC3Typeless | Four-component typeless block-compression format. |
BC3UNorm | Four-component block-compression format. |
BC3UNormSrgb | Four-component block-compression format for sRGB data. |
BC4SNorm | One-component block-compression format. |
BC4Typeless | One-component typeless block-compression format. |
BC4UNorm | One-component block-compression format. |
BC5SNorm | Two-component block-compression format. |
BC5Typeless | Two-component typeless block-compression format. |
BC5UNorm | Two-component block-compression format. |
BC6HalfSF16 | A block-compression format. |
BC6HalfTypeless | A typeless block-compression format. |
BC6HalfUF16 | A block-compression format. |
BC7Typeless | A typeless block-compression format. |
BC7UNorm | A block-compression format. |
BC7UNormSrgb | A block-compression format. |
D16UNorm | A single-component, 16-bit unsigned-normalized-integer format that supports 16 bits for depth. |
D24UNormS8UInt | A 32-bit z-buffer format that supports 24 bits for depth and 8 bits for stencil. |
D32Float | A single-component, 32-bit floating-point format that supports 32 bits for depth. |
D32FloatS8X24UInt | A 32-bit floating-point component, and two unsigned-integer components (with an additional 32 bits). This format supports 32-bit depth, 8-bit stencil, and 24 bits are unused. |
G8R8G8B8UNorm | A four-component, 32-bit unsigned-normalized-integer format. This packed RGB format is analogous to the YUY2 format. Each 32-bit block describes a pair of pixels: (R8, G8, B8) and (R8, G8, B8) where the R8/B8 values are repeated, and the G8 values are unique to each pixel. |
IA44 | 4-bit palletized YUV format that is commonly used for DVD sub-picture. |
NV11 | Most common planar YUV 4:1:1 video resource format. |
NV12 | Most common YUV 4:2:0 video resource format. |
P010 | 10-bit per channel planar YUV 4:2:0 video resource format. |
P016 | 16-bit per channel planar YUV 4:2:0 video resource format. |
P420Opaque | 8-bit per channel planar YUV 4:2:0 video resource format. This format is subsampled where each pixel has its own Y value, but each 2x2 pixel block shares a single U and V value. |
P8 | 8-bit palletized format that is used for palletized RGB data when the processor processes ISDB-T data and for palletized YUV data when the processor processes Blu-Ray data. |
R10G10B10A2Typeless | A four-component, 32-bit typeless format that supports 10 bits for each color and 2 bits for alpha. |
R10G10B10A2UInt | A four-component, 32-bit unsigned-integer format that supports 10 bits for each color and 2 bits for alpha. |
R10G10B10A2UNorm | A four-component, 32-bit unsigned-normalized-integer format that supports 10 bits for each color and 2 bits for alpha. |
R10G10B10XRBiasA2UNorm | A four-component, 32-bit 2.8-biased fixed-point format that supports 10 bits for each color channel and 2-bit alpha. |
R11G11B10Float | Three partial-precision floating-point numbers encoded into a single 32-bit value (a variant of s10e5, which is sign bit, 10-bit mantissa, and 5-bit biased (15) exponent). There are no sign bits, and there is a 5-bit biased (15) exponent for each channel, 6-bit mantissa for R and G, and a 5-bit mantissa for B. |
R16Float | A single-component, 16-bit floating-point format that supports 16 bits for the red channel. |
R16G16B16A16Float | A four-component, 64-bit floating-point format that supports 16 bits per channel including alpha. |
R16G16B16A16SInt | A four-component, 64-bit signed-integer format that supports 16 bits per channel including alpha. |
R16G16B16A16SNorm | A four-component, 64-bit signed-normalized-integer format that supports 16 bits per channel including alpha. |
R16G16B16A16Typeless | A four-component, 64-bit typeless format that supports 16 bits per channel including alpha. |
R16G16B16A16UInt | A four-component, 64-bit unsigned-integer format that supports 16 bits per channel including alpha. |
R16G16B16A16UNorm | A four-component, 64-bit unsigned-normalized-integer format that supports 16 bits per channel including alpha. |
R16G16Float | A two-component, 32-bit floating-point format that supports 16 bits for the red channel and 16 bits for the green channel. |
R16G16SInt | A two-component, 32-bit signed-integer format that supports 16 bits for the red channel and 16 bits for the green channel. |
R16G16SNorm | A two-component, 32-bit signed-normalized-integer format that supports 16 bits for the red channel and 16 bits for the green channel. |
R16G16Typeless | A two-component, 32-bit typeless format that supports 16 bits for the red channel and 16 bits for the green channel. |
R16G16UInt | A two-component, 32-bit unsigned-integer format that supports 16 bits for the red channel and 16 bits for the green channel. |
R16G16UNorm | A two-component, 32-bit unsigned-normalized-integer format that supports 16 bits each for the green and red channels. |
R16SInt | A single-component, 16-bit signed-integer format that supports 16 bits for the red channel. |
R16SNorm | A single-component, 16-bit signed-normalized-integer format that supports 16 bits for the red channel. |
R16Typeless | A single-component, 16-bit typeless format that supports 16 bits for the red channel. |
R16UInt | A single-component, 16-bit unsigned-integer format that supports 16 bits for the red channel. |
R16UNorm | A single-component, 16-bit unsigned-normalized-integer format that supports 16 bits for the red channel. |
R1UNorm | A single-component, 1-bit unsigned-normalized integer format that supports 1 bit for the red channel. |
R24G8Typeless | A two-component, 32-bit typeless format that supports 24 bits for the red channel and 8 bits for the green channel. |
R24UNormX8Typeless | A 32-bit format, that contains a 24 bit, single-component, unsigned-normalized integer, with an additional typeless 8 bits. This format has 24 bits red channel and 8 bits unused. |
R32Float | A single-component, 32-bit floating-point format that supports 32 bits for the red channel. |
R32FloatX8X24Typeless | A 32-bit floating-point component, and two typeless components (with an additional 32 bits). This format supports 32-bit red channel, 8 bits are unused, and 24 bits are unused. |
R32G32B32A32Float | A four-component, 128-bit floating-point format that supports 32 bits per channel including alpha. |
R32G32B32A32SInt | A four-component, 128-bit signed-integer format that supports 32 bits per channel including alpha. |
R32G32B32A32Typeless | A four-component, 128-bit typeless format that supports 32 bits per channel including alpha. |
R32G32B32A32UInt | A four-component, 128-bit unsigned-integer format that supports 32 bits per channel including alpha. |
R32G32B32Float | A three-component, 96-bit floating-point format that supports 32 bits per color channel. |
R32G32B32SInt | A three-component, 96-bit signed-integer format that supports 32 bits per color channel. |
R32G32B32Typeless | A three-component, 96-bit typeless format that supports 32 bits per color channel. |
R32G32B32UInt | A three-component, 96-bit unsigned-integer format that supports 32 bits per color channel. |
R32G32Float | A two-component, 64-bit floating-point format that supports 32 bits for the red channel and 32 bits for the green channel. |
R32G32SInt | A two-component, 64-bit signed-integer format that supports 32 bits for the red channel and 32 bits for the green channel. |
R32G32Typeless | A two-component, 64-bit typeless format that supports 32 bits for the red channel and 32 bits for the green channel. |
R32G32UInt | A two-component, 64-bit unsigned-integer format that supports 32 bits for the red channel and 32 bits for the green channel. |
R32G8X24Typeless | A two-component, 64-bit typeless format that supports 32 bits for the red channel, 8 bits for the green channel, and 24 bits are unused. |
R32SInt | A single-component, 32-bit signed-integer format that supports 32 bits for the red channel. |
R32Typeless | A single-component, 32-bit typeless format that supports 32 bits for the red channel. |
R32UInt | A single-component, 32-bit unsigned-integer format that supports 32 bits for the red channel. |
R8G8B8A8SInt | A four-component, 32-bit signed-integer format that supports 8 bits per channel including alpha. |
R8G8B8A8SNorm | A four-component, 32-bit signed-normalized-integer format that supports 8 bits per channel including alpha. |
R8G8B8A8Typeless | A four-component, 32-bit typeless format that supports 8 bits per channel including alpha. |
R8G8B8A8UInt | A four-component, 32-bit unsigned-integer format that supports 8 bits per channel including alpha. |
R8G8B8A8UNorm | A four-component, 32-bit unsigned-normalized-integer format that supports 8 bits per channel including alpha. |
R8G8B8A8UNormSrgb | A four-component, 32-bit unsigned-normalized integer sRGB format that supports 8 bits per channel including alpha. |
R8G8B8G8UNorm | A four-component, 32-bit unsigned-normalized-integer format. This packed RGB format is analogous to the UYVY format. Each 32-bit block describes a pair of pixels: (R8, G8, B8) and (R8, G8, B8) where the R8/B8 values are repeated, and the G8 values are unique to each pixel. |
R8G8SInt | A two-component, 16-bit signed-integer format that supports 8 bits for the red channel and 8 bits for the green channel. |
R8G8SNorm | A two-component, 16-bit signed-normalized-integer format that supports 8 bits for the red channel and 8 bits for the green channel. |
R8G8Typeless | A two-component, 16-bit typeless format that supports 8 bits for the red channel and 8 bits for the green channel. |
R8G8UInt | A two-component, 16-bit unsigned-integer format that supports 8 bits for the red channel and 8 bits for the green channel. |
R8G8UNorm | A two-component, 16-bit unsigned-normalized-integer format that supports 8 bits for the red channel and 8 bits for the green channel. |
R8SInt | A single-component, 8-bit signed-integer format that supports 8 bits for the red channel. |
R8SNorm | A single-component, 8-bit signed-normalized-integer format that supports 8 bits for the red channel. |
R8Typeless | A single-component, 8-bit typeless format that supports 8 bits for the red channel. |
R8UInt | A single-component, 8-bit unsigned-integer format that supports 8 bits for the red channel. |
R8UNorm | A single-component, 8-bit unsigned-normalized-integer format that supports 8 bits for the red channel. |
R9G9B9E5SharedExp | Three partial-precision floating-point numbers encoded into a single 32-bit value all sharing the same 5-bit exponent (variant of s10e5, which is sign bit, 10-bit mantissa, and 5-bit biased (15) exponent). There is no sign bit, and there is a shared 5-bit biased (15) exponent and a 9-bit mantissa for each channel. |
Unknown | The format is not known. |
X24TypelessG8UInt | A 32-bit format, that contains a 24 bit, single-component, typeless format, with an additional 8 bit unsigned integer component. This format has 24 bits unused and 8 bits green channel. |
X32TypelessG8X24UInt | A 32-bit typeless component, and two unsigned-integer components (with an additional 32 bits). This format has 32 bits unused, 8 bits for green channel, and 24 bits are unused. |
Y210 | 10-bit per channel packed YUV 4:2:2 video resource format. |
Y216 | 16-bit per channel packed YUV 4:2:2 video resource format. |
Y410 | 10-bit per channel packed YUV 4:4:4 video resource format. |
Y416 | 16-bit per channel packed YUV 4:4:4 video resource format. |
Yuy2 | 8-bit per channel planar YUV 4:2:0 video resource format. |