Enum PixelFormat
Defines various types of pixel formats.
[DataContract]
public enum PixelFormat
- Extension Methods
Fields
A8_UNorm = 65A single-component, 8-bit unsigned-normalized-integer format for alpha only.
B5G5R5A1_UNorm = 86A four-component, 16-bit unsigned-normalized-integer format that supports 5 bits for each color channel and 1-bit alpha.
B5G6R5_UNorm = 85A three-component, 16-bit unsigned-normalized-integer format that supports 5 bits for blue, 6 bits for green, and 5 bits for red.
B8G8R8A8_Typeless = 90A four-component, 32-bit typeless format that supports 8 bits for each channel including alpha. 4
B8G8R8A8_UNorm = 87A four-component, 32-bit unsigned-normalized-integer format that supports 8 bits for each color channel and 8-bit alpha.
B8G8R8A8_UNorm_SRgb = 91A four-component, 32-bit unsigned-normalized standard RGB format that supports 8 bits for each channel including alpha. 4
B8G8R8X8_Typeless = 92A four-component, 32-bit typeless format that supports 8 bits for each color channel, and 8 bits are unused. 4
B8G8R8X8_UNorm = 88A four-component, 32-bit unsigned-normalized-integer format that supports 8 bits for each color channel and 8 bits unused.
B8G8R8X8_UNorm_SRgb = 93A four-component, 32-bit unsigned-normalized standard RGB format that supports 8 bits for each color channel, and 8 bits are unused. 4
BC1_Typeless = 70Four-component typeless block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC1_UNorm = 71Four-component block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC1_UNorm_SRgb = 72Four-component block-compression format for sRGB data. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC2_Typeless = 73Four-component typeless block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC2_UNorm = 74Four-component block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC2_UNorm_SRgb = 75Four-component block-compression format for sRGB data. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC3_Typeless = 76Four-component typeless block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC3_UNorm = 77Four-component block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC3_UNorm_SRgb = 78Four-component block-compression format for sRGB data. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC4_SNorm = 81One-component block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC4_Typeless = 79One-component typeless block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC4_UNorm = 80One-component block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC5_SNorm = 84Two-component block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC5_Typeless = 82Two-component typeless block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC5_UNorm = 83Two-component block-compression format. For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC6H_Sf16 = 96A block-compression format. 4 For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC6H_Typeless = 94A typeless block-compression format. 4 For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC6H_Uf16 = 95A block-compression format. 4 For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC7_Typeless = 97A typeless block-compression format. 4 For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC7_UNorm = 98A block-compression format. 4 For information about block-compression formats, see Texture Block Compression in Direct3D 11.
BC7_UNorm_SRgb = 99A block-compression format. 4 For information about block-compression formats, see Texture Block Compression in Direct3D 11.
D16_UNorm = 55A single-component, 16-bit unsigned-normalized-integer format that supports 16 bits for depth.
D24_UNorm_S8_UInt = 45A 32-bit z-buffer format that supports 24 bits for depth and 8 bits for stencil.
D32_Float = 40A single-component, 32-bit floating-point format that supports 32 bits for depth.
D32_Float_S8X24_UInt = 20A 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.
EAC_R11_Signed = 1093EAC_R11_Unsigned = 1092EAC_RG11_Signed = 1095EAC_RG11_Unsigned = 1094ETC1 = 1088ETC2_RGB = 1089ETC2_RGBA = 1090ETC2_RGBA_SRgb = 1096ETC2_RGB_A1 = 1091ETC2_RGB_SRgb = 1097G8R8_G8B8_UNorm = 69A 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. 3
None = 0The format is not known.
R10G10B10A2_Typeless = 23A four-component, 32-bit typeless format that supports 10 bits for each color and 2 bits for alpha.
R10G10B10A2_UInt = 25A four-component, 32-bit unsigned-integer format that supports 10 bits for each color and 2 bits for alpha.
R10G10B10A2_UNorm = 24A four-component, 32-bit unsigned-normalized-integer format that supports 10 bits for each color and 2 bits for alpha.
R10G10B10_Xr_Bias_A2_UNorm = 89A four-component, 32-bit 2.8-biased fixed-point format that supports 10 bits for each color channel and 2-bit alpha.
R11G11B10_Float = 26Three 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, as shown in the following illustration.
R16G16B16A16_Float = 10A four-component, 64-bit floating-point format that supports 16 bits per channel including alpha.
R16G16B16A16_SInt = 14A four-component, 64-bit signed-integer format that supports 16 bits per channel including alpha.
R16G16B16A16_SNorm = 13A four-component, 64-bit signed-normalized-integer format that supports 16 bits per channel including alpha.
R16G16B16A16_Typeless = 9A four-component, 64-bit typeless format that supports 16 bits per channel including alpha.
R16G16B16A16_UInt = 12A four-component, 64-bit unsigned-integer format that supports 16 bits per channel including alpha.
R16G16B16A16_UNorm = 11A four-component, 64-bit unsigned-normalized-integer format that supports 16 bits per channel including alpha.
R16G16_Float = 34A two-component, 32-bit floating-point format that supports 16 bits for the red channel and 16 bits for the green channel.
R16G16_SInt = 38A two-component, 32-bit signed-integer format that supports 16 bits for the red channel and 16 bits for the green channel.
R16G16_SNorm = 37A two-component, 32-bit signed-normalized-integer format that supports 16 bits for the red channel and 16 bits for the green channel.
R16G16_Typeless = 33A two-component, 32-bit typeless format that supports 16 bits for the red channel and 16 bits for the green channel.
R16G16_UInt = 36A two-component, 32-bit unsigned-integer format that supports 16 bits for the red channel and 16 bits for the green channel.
R16G16_UNorm = 35A two-component, 32-bit unsigned-normalized-integer format that supports 16 bits each for the green and red channels.
R16_Float = 54A single-component, 16-bit floating-point format that supports 16 bits for the red channel.
R16_SInt = 59A single-component, 16-bit signed-integer format that supports 16 bits for the red channel.
R16_SNorm = 58A single-component, 16-bit signed-normalized-integer format that supports 16 bits for the red channel.
R16_Typeless = 53A single-component, 16-bit typeless format that supports 16 bits for the red channel.
R16_UInt = 57A single-component, 16-bit unsigned-integer format that supports 16 bits for the red channel.
R16_UNorm = 56A single-component, 16-bit unsigned-normalized-integer format that supports 16 bits for the red channel.
R1_UNorm = 66A single-component, 1-bit unsigned-normalized integer format that supports 1 bit for the red channel. 2.
R24G8_Typeless = 44A two-component, 32-bit typeless format that supports 24 bits for the red channel and 8 bits for the green channel.
R24_UNorm_X8_Typeless = 46A 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.
R32G32B32A32_Float = 2A four-component, 128-bit floating-point format that supports 32 bits per channel including alpha. 1
R32G32B32A32_SInt = 4A four-component, 128-bit signed-integer format that supports 32 bits per channel including alpha. 1
R32G32B32A32_Typeless = 1A four-component, 128-bit typeless format that supports 32 bits per channel including alpha. 1
R32G32B32A32_UInt = 3A four-component, 128-bit unsigned-integer format that supports 32 bits per channel including alpha. 1
R32G32B32_Float = 6A three-component, 96-bit floating-point format that supports 32 bits per color channel.
R32G32B32_SInt = 8A three-component, 96-bit signed-integer format that supports 32 bits per color channel.
R32G32B32_Typeless = 5A three-component, 96-bit typeless format that supports 32 bits per color channel.
R32G32B32_UInt = 7A three-component, 96-bit unsigned-integer format that supports 32 bits per color channel.
R32G32_Float = 16A two-component, 64-bit floating-point format that supports 32 bits for the red channel and 32 bits for the green channel.
R32G32_SInt = 18A two-component, 64-bit signed-integer format that supports 32 bits for the red channel and 32 bits for the green channel.
R32G32_Typeless = 15A two-component, 64-bit typeless format that supports 32 bits for the red channel and 32 bits for the green channel.
R32G32_UInt = 17A two-component, 64-bit unsigned-integer format that supports 32 bits for the red channel and 32 bits for the green channel.
R32G8X24_Typeless = 19A 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.
R32_Float = 41A single-component, 32-bit floating-point format that supports 32 bits for the red channel.
R32_Float_X8X24_Typeless = 21A 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.
R32_SInt = 43A single-component, 32-bit signed-integer format that supports 32 bits for the red channel.
R32_Typeless = 39A single-component, 32-bit typeless format that supports 32 bits for the red channel.
R32_UInt = 42A single-component, 32-bit unsigned-integer format that supports 32 bits for the red channel.
R8G8B8A8_SInt = 32A four-component, 32-bit signed-integer format that supports 8 bits per channel including alpha.
R8G8B8A8_SNorm = 31A four-component, 32-bit signed-normalized-integer format that supports 8 bits per channel including alpha.
R8G8B8A8_Typeless = 27A four-component, 32-bit typeless format that supports 8 bits per channel including alpha.
R8G8B8A8_UInt = 30A four-component, 32-bit unsigned-integer format that supports 8 bits per channel including alpha.
R8G8B8A8_UNorm = 28A four-component, 32-bit unsigned-normalized-integer format that supports 8 bits per channel including alpha.
R8G8B8A8_UNorm_SRgb = 29A four-component, 32-bit unsigned-normalized integer sRGB format that supports 8 bits per channel including alpha.
R8G8_B8G8_UNorm = 68A 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. 3
R8G8_SInt = 52A two-component, 16-bit signed-integer format that supports 8 bits for the red channel and 8 bits for the green channel.
R8G8_SNorm = 51A two-component, 16-bit signed-normalized-integer format that supports 8 bits for the red channel and 8 bits for the green channel.
R8G8_Typeless = 48A two-component, 16-bit typeless format that supports 8 bits for the red channel and 8 bits for the green channel.
R8G8_UInt = 50A two-component, 16-bit unsigned-integer format that supports 8 bits for the red channel and 8 bits for the green channel.
R8G8_UNorm = 49A two-component, 16-bit unsigned-normalized-integer format that supports 8 bits for the red channel and 8 bits for the green channel.
R8_SInt = 64A single-component, 8-bit signed-integer format that supports 8 bits for the red channel.
R8_SNorm = 63A single-component, 8-bit signed-normalized-integer format that supports 8 bits for the red channel.
R8_Typeless = 60A single-component, 8-bit typeless format that supports 8 bits for the red channel.
R8_UInt = 62A single-component, 8-bit unsigned-integer format that supports 8 bits for the red channel.
R8_UNorm = 61A single-component, 8-bit unsigned-normalized-integer format that supports 8 bits for the red channel.
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, as shown in the following illustration. 2.
X24_Typeless_G8_UInt = 47A 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.
X32_Typeless_G8X24_UInt = 22A 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.