UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NE:d3dukmdt._D3DDDIFORMAT |
D3DDDIFORMAT (d3dukmdt.h) |
The D3DDDIFORMAT enumeration type contains values that identify surface formats. |
display\d3dddiformat.htm |
display |
12/09/2021 |
|
D3DDDIFMT_A1, D3DDDIFMT_A16B16G16R16, D3DDDIFMT_A16B16G16R16F, D3DDDIFMT_A1R5G5B5, D3DDDIFMT_A2B10G10R10, D3DDDIFMT_A2B10G10R10_XR_BIAS, D3DDDIFMT_A2R10G10B10, D3DDDIFMT_A2W10V10U10, D3DDDIFMT_A32B32G32R32F, D3DDDIFMT_A4L4, D3DDDIFMT_A4R4G4B4, D3DDDIFMT_A8, D3DDDIFMT_A8B8G8R8, D3DDDIFMT_A8L8, D3DDDIFMT_A8P8, D3DDDIFMT_A8R3G3B2, D3DDDIFMT_A8R8G8B8, D3DDDIFMT_BINARYBUFFER, D3DDDIFMT_BITSTREAMDATA, D3DDDIFMT_CxV8U8, D3DDDIFMT_D15S1, D3DDDIFMT_D16, D3DDDIFMT_D16_LOCKABLE, D3DDDIFMT_D24FS8, D3DDDIFMT_D24S8, D3DDDIFMT_D24X4S4, D3DDDIFMT_D24X8, D3DDDIFMT_D32, D3DDDIFMT_D32F_LOCKABLE, D3DDDIFMT_D32_LOCKABLE, D3DDDIFMT_DEBLOCKINGDATA, D3DDDIFMT_DXT1, D3DDDIFMT_DXT2, D3DDDIFMT_DXT3, D3DDDIFMT_DXT4, D3DDDIFMT_DXT5, D3DDDIFMT_DXVACOMPBUFFER_BASE, D3DDDIFMT_DXVACOMPBUFFER_MAX, D3DDDIFMT_DXVA_RESERVED10, D3DDDIFMT_DXVA_RESERVED11, D3DDDIFMT_DXVA_RESERVED12, D3DDDIFMT_DXVA_RESERVED13, D3DDDIFMT_DXVA_RESERVED14, D3DDDIFMT_DXVA_RESERVED15, D3DDDIFMT_DXVA_RESERVED16, D3DDDIFMT_DXVA_RESERVED17, D3DDDIFMT_DXVA_RESERVED18, D3DDDIFMT_DXVA_RESERVED19, D3DDDIFMT_DXVA_RESERVED20, D3DDDIFMT_DXVA_RESERVED21, D3DDDIFMT_DXVA_RESERVED22, D3DDDIFMT_DXVA_RESERVED23, D3DDDIFMT_DXVA_RESERVED24, D3DDDIFMT_DXVA_RESERVED25, D3DDDIFMT_DXVA_RESERVED26, D3DDDIFMT_DXVA_RESERVED27, D3DDDIFMT_DXVA_RESERVED28, D3DDDIFMT_DXVA_RESERVED29, D3DDDIFMT_DXVA_RESERVED30, D3DDDIFMT_DXVA_RESERVED31, D3DDDIFMT_DXVA_RESERVED9, D3DDDIFMT_FILMGRAINBUFFER, D3DDDIFMT_FORCE_UINT, D3DDDIFMT_G16R16, D3DDDIFMT_G16R16F, D3DDDIFMT_G32R32F, D3DDDIFMT_G8R8, D3DDDIFMT_G8R8_G8B8, D3DDDIFMT_INDEX16, D3DDDIFMT_INDEX32, D3DDDIFMT_INVERSEQUANTIZATIONDATA, D3DDDIFMT_L16, D3DDDIFMT_L6V5U5, D3DDDIFMT_L8, D3DDDIFMT_MACROBLOCKDATA, D3DDDIFMT_MOTIONVECTORBUFFER, D3DDDIFMT_MULTI2_ARGB8, D3DDDIFMT_P8, D3DDDIFMT_PICTUREPARAMSDATA, D3DDDIFMT_Q16W16V16U16, D3DDDIFMT_Q8W8V8U8, D3DDDIFMT_R16F, D3DDDIFMT_R32F, D3DDDIFMT_R3G3B2, D3DDDIFMT_R5G6B5, D3DDDIFMT_R8, D3DDDIFMT_R8G8B8, D3DDDIFMT_R8G8_B8G8, D3DDDIFMT_RESIDUALDIFFERENCEDATA, D3DDDIFMT_S1D15, D3DDDIFMT_S8D24, D3DDDIFMT_S8_LOCKABLE, D3DDDIFMT_SLICECONTROLDATA, D3DDDIFMT_UNKNOWN, D3DDDIFMT_UYVY, D3DDDIFMT_V16U16, D3DDDIFMT_V8U8, D3DDDIFMT_VERTEXDATA, D3DDDIFMT_W11V11U10, D3DDDIFMT_X1R5G5B5, D3DDDIFMT_X4R4G4B4, D3DDDIFMT_X4S4D24, D3DDDIFMT_X8B8G8R8, D3DDDIFMT_X8D24, D3DDDIFMT_X8L8V8U8, D3DDDIFMT_X8R8G8B8, D3DDDIFMT_YUY2, D3DDDIFORMAT, D3DDDIFORMAT enumeration [Display Devices], D3D_other_Structs_6ff68bd1-8492-4c82-bdf3-d13bdeee8b7a.xml, _D3DDDIFORMAT, d3dukmdt/D3DDDIFMT_A1, d3dukmdt/D3DDDIFMT_A16B16G16R16, d3dukmdt/D3DDDIFMT_A16B16G16R16F, d3dukmdt/D3DDDIFMT_A1R5G5B5, d3dukmdt/D3DDDIFMT_A2B10G10R10, d3dukmdt/D3DDDIFMT_A2B10G10R10_XR_BIAS, d3dukmdt/D3DDDIFMT_A2R10G10B10, d3dukmdt/D3DDDIFMT_A2W10V10U10, d3dukmdt/D3DDDIFMT_A32B32G32R32F, d3dukmdt/D3DDDIFMT_A4L4, d3dukmdt/D3DDDIFMT_A4R4G4B4, d3dukmdt/D3DDDIFMT_A8, d3dukmdt/D3DDDIFMT_A8B8G8R8, d3dukmdt/D3DDDIFMT_A8L8, d3dukmdt/D3DDDIFMT_A8P8, d3dukmdt/D3DDDIFMT_A8R3G3B2, d3dukmdt/D3DDDIFMT_A8R8G8B8, d3dukmdt/D3DDDIFMT_BINARYBUFFER, d3dukmdt/D3DDDIFMT_BITSTREAMDATA, d3dukmdt/D3DDDIFMT_CxV8U8, d3dukmdt/D3DDDIFMT_D15S1, d3dukmdt/D3DDDIFMT_D16, d3dukmdt/D3DDDIFMT_D16_LOCKABLE, d3dukmdt/D3DDDIFMT_D24FS8, d3dukmdt/D3DDDIFMT_D24S8, d3dukmdt/D3DDDIFMT_D24X4S4, d3dukmdt/D3DDDIFMT_D24X8, d3dukmdt/D3DDDIFMT_D32, d3dukmdt/D3DDDIFMT_D32F_LOCKABLE, d3dukmdt/D3DDDIFMT_D32_LOCKABLE, d3dukmdt/D3DDDIFMT_DEBLOCKINGDATA, d3dukmdt/D3DDDIFMT_DXT1, d3dukmdt/D3DDDIFMT_DXT2, d3dukmdt/D3DDDIFMT_DXT3, d3dukmdt/D3DDDIFMT_DXT4, d3dukmdt/D3DDDIFMT_DXT5, d3dukmdt/D3DDDIFMT_DXVACOMPBUFFER_BASE, d3dukmdt/D3DDDIFMT_DXVACOMPBUFFER_MAX, d3dukmdt/D3DDDIFMT_DXVA_RESERVED10, d3dukmdt/D3DDDIFMT_DXVA_RESERVED11, d3dukmdt/D3DDDIFMT_DXVA_RESERVED12, d3dukmdt/D3DDDIFMT_DXVA_RESERVED13, d3dukmdt/D3DDDIFMT_DXVA_RESERVED14, d3dukmdt/D3DDDIFMT_DXVA_RESERVED15, d3dukmdt/D3DDDIFMT_DXVA_RESERVED16, d3dukmdt/D3DDDIFMT_DXVA_RESERVED17, d3dukmdt/D3DDDIFMT_DXVA_RESERVED18, d3dukmdt/D3DDDIFMT_DXVA_RESERVED19, d3dukmdt/D3DDDIFMT_DXVA_RESERVED20, d3dukmdt/D3DDDIFMT_DXVA_RESERVED21, d3dukmdt/D3DDDIFMT_DXVA_RESERVED22, d3dukmdt/D3DDDIFMT_DXVA_RESERVED23, d3dukmdt/D3DDDIFMT_DXVA_RESERVED24, d3dukmdt/D3DDDIFMT_DXVA_RESERVED25, d3dukmdt/D3DDDIFMT_DXVA_RESERVED26, d3dukmdt/D3DDDIFMT_DXVA_RESERVED27, d3dukmdt/D3DDDIFMT_DXVA_RESERVED28, d3dukmdt/D3DDDIFMT_DXVA_RESERVED29, d3dukmdt/D3DDDIFMT_DXVA_RESERVED30, d3dukmdt/D3DDDIFMT_DXVA_RESERVED31, d3dukmdt/D3DDDIFMT_DXVA_RESERVED9, d3dukmdt/D3DDDIFMT_FILMGRAINBUFFER, d3dukmdt/D3DDDIFMT_FORCE_UINT, d3dukmdt/D3DDDIFMT_G16R16, d3dukmdt/D3DDDIFMT_G16R16F, d3dukmdt/D3DDDIFMT_G32R32F, d3dukmdt/D3DDDIFMT_G8R8, d3dukmdt/D3DDDIFMT_G8R8_G8B8, d3dukmdt/D3DDDIFMT_INDEX16, d3dukmdt/D3DDDIFMT_INDEX32, d3dukmdt/D3DDDIFMT_INVERSEQUANTIZATIONDATA, d3dukmdt/D3DDDIFMT_L16, d3dukmdt/D3DDDIFMT_L6V5U5, d3dukmdt/D3DDDIFMT_L8, d3dukmdt/D3DDDIFMT_MACROBLOCKDATA, d3dukmdt/D3DDDIFMT_MOTIONVECTORBUFFER, d3dukmdt/D3DDDIFMT_MULTI2_ARGB8, d3dukmdt/D3DDDIFMT_P8, d3dukmdt/D3DDDIFMT_PICTUREPARAMSDATA, d3dukmdt/D3DDDIFMT_Q16W16V16U16, d3dukmdt/D3DDDIFMT_Q8W8V8U8, d3dukmdt/D3DDDIFMT_R16F, d3dukmdt/D3DDDIFMT_R32F, d3dukmdt/D3DDDIFMT_R3G3B2, d3dukmdt/D3DDDIFMT_R5G6B5, d3dukmdt/D3DDDIFMT_R8, d3dukmdt/D3DDDIFMT_R8G8B8, d3dukmdt/D3DDDIFMT_R8G8_B8G8, d3dukmdt/D3DDDIFMT_RESIDUALDIFFERENCEDATA, d3dukmdt/D3DDDIFMT_S1D15, d3dukmdt/D3DDDIFMT_S8D24, d3dukmdt/D3DDDIFMT_S8_LOCKABLE, d3dukmdt/D3DDDIFMT_SLICECONTROLDATA, d3dukmdt/D3DDDIFMT_UNKNOWN, d3dukmdt/D3DDDIFMT_UYVY, d3dukmdt/D3DDDIFMT_V16U16, d3dukmdt/D3DDDIFMT_V8U8, d3dukmdt/D3DDDIFMT_VERTEXDATA, d3dukmdt/D3DDDIFMT_W11V11U10, d3dukmdt/D3DDDIFMT_X1R5G5B5, d3dukmdt/D3DDDIFMT_X4R4G4B4, d3dukmdt/D3DDDIFMT_X4S4D24, d3dukmdt/D3DDDIFMT_X8B8G8R8, d3dukmdt/D3DDDIFMT_X8D24, d3dukmdt/D3DDDIFMT_X8L8V8U8, d3dukmdt/D3DDDIFMT_X8R8G8B8, d3dukmdt/D3DDDIFMT_YUY2, d3dukmdt/D3DDDIFORMAT, display.d3dddiformat |
d3dukmdt.h |
D3dumddi.h, D3dkmddi.h |
Windows |
Windows Vista |
Windows |
D3DDDIFORMAT |
|
|
|
|
|
The D3DDDIFORMAT enumeration type contains values that identify surface formats.
An unknown format.
24-bit RGB unsigned pixel format with 8 bits for each channel.
32-bit ARGB unsigned pixel format with alpha that uses 8 bits for each channel.
32-bit RGB unsigned pixel format, where 8 bits are reserved for each color.
16-bit RGB unsigned pixel format with 5 bits for red, 6 bits for green, and 5 bits for blue.
16-bit unsigned pixel format where 5 bits are reserved for each color.
16-bit unsigned pixel format where 5 bits are reserved for each color and 1 bit is reserved for alpha.
16-bit ARGB unsigned pixel format with 4 bits for each channel.
8-bit RGB unsigned texture format that uses 3 bits for red, 3 bits for green, and 2 bits for blue.
8-bit alpha only.
16-bit ARGB unsigned texture format that uses 8 bits for alpha, 3 bits each for red and green, and 2 bits for blue.
16-bit RGB unsigned pixel format that uses 4 bits for each color.
32-bit unsigned pixel format that uses 10 bits for each color and 2 bits for alpha.
32-bit ARGB unsigned pixel format with alpha that uses 8 bits for each channel.
32-bit RGB unsigned pixel format, where 8 bits are reserved for each color.
32-bit unsigned pixel format that uses 16 bits each for green and red.
32-bit unsigned pixel format that uses 10 bits for each color and 2 bits for alpha.
64-bit unsigned pixel format that uses 16 bits for each component.
8-bit color indexed with 8 bits of alpha.
8-bit color indexed.
8-bit luminance only.
16-bit format that uses 8 bits each for alpha and luminance.
8-bit format that uses 4 bits each for alpha and luminance.
16-bit signed bump-map format that uses 8 bits each for u and v data.
16-bit mixed signed and unsigned bump-map format with luminance that uses 6 bits for luminance and 5 bits each for v and u data.
32-bit mixed signed and unsigned bump-map format with luminance that uses 8 bits for each channel.
32-bit signed bump-map format that uses 8 bits for each channel.
32-bit signed bump-map format using 16 bits each for u and v data.
32-bit signed bump-map format that uses 11 bits each for w and v and 10 bits for u.
32-bit mixed signed and unsigned bump-map format that uses 2 bits for alpha and 10 bits each for w, v, and u.
UYVY FOURCC format (MAKEFOURCC('U', 'Y', 'V', 'Y')).
RGBG FOURCC format (MAKEFOURCC('R', 'G', 'B', 'G')).
A 16-bit packed RGB format that is analogous to UYVY (U0Y0, V0Y1, U2Y2, and so on). RGBG FOURCC format requires a pixel pair to represent the color value. The first pixel in the pair contains 8 bits of green (in the low 8 bits) and 8 bits of red (in the high 8 bits). The second pixel contains 8 bits of green (in the low 8 bits) and 8 bits of blue (in the high 8 bits). The two pixels share the red and blue components, and each has a unique green component (R0G0, B0G1, R2G2, and so on).
The texture sampler does not normalize the colors when looking up into a pixel shader; they remain in the range from 0.0f through 255.0f. This situation occurs for all programmable pixel shader models. For the fixed function pixel shader, the hardware should normalize to the range from 0.f through 1.f and treat it as the YUY2 texture. Hardware that exposes this format must have the PixelShader1xMaxValue member of the D3DCAPS9 structure set to a value that is capable of handling that range (0.f through 1.f).
YUY2 FOURCC format (MAKEFOURCC('Y', 'U', 'Y', '2')).
GRGB FOURCC format (MAKEFOURCC('G', 'R', 'G', 'B')).
A 16-bit packed RGB format that is analogous to YUY2 (Y0U0, Y1V0, Y2U2, and so on). GRGB FOURCC format requires a pixel pair to represent the color value. The first pixel in the pair contains 8 bits of green (in the high 8 bits) and 8 bits of red (in the low 8 bits). The second pixel contains 8 bits of green (in the high 8 bits) and 8 bits of blue (in the low 8 bits). The two pixels share the red and blue components, and each has a unique green component (G0R0, G1B0, G2R2, and so on).
The texture sampler does not normalize the colors when looking up into a pixel shader; they remain in the range from 0.0f through 255.0f. This situation occurs for all programmable pixel shader models. For the fixed function pixel shader, the hardware should normalize to the range from 0.f through 1.f and treat it as the YUY2 texture. Hardware that exposes this format must have the PixelShader1xMaxValue member of D3DCAPS9 set to a value that is capable of handling that range (0.f through 1.f).
DXT1 FOURCC compression texture format (MAKEFOURCC('D', 'X', 'T', '1')).
DXT2 FOURCC compression texture format (MAKEFOURCC('D', 'X', 'T', '2')).
DXT3 FOURCC compression texture format (MAKEFOURCC('D', 'X', 'T', '3')).
DXT4 FOURCC compression texture format (MAKEFOURCC('D', 'X', 'T', '4')).
DXT5 FOURCC compression texture format (MAKEFOURCC('D', 'X', 'T', '5')).
16-bit z-buffer bit depth.
32-bit z-buffer bit depth.
16-bit z-buffer bit depth where 15 bits are reserved for the depth channel and 1 bit is reserved for the stencil channel.
32-bit z-buffer bit depth that uses 24 bits for the depth channel and 8 bits for the stencil channel.
32-bit z-buffer bit depth that uses 24 bits for the depth channel.
32-bit z-buffer bit depth that uses 24 bits for the depth channel and 4 bits for the stencil channel.
16-bit z-buffer bit depth.
A lockable buffer format where the depth value is represented as a standard IEEE floating-point number.
A non-lockable buffer format that contains 24 bits of depth (in a 24-bit floating point format: - 20e4) and 8 bits of stencil.
A lockable buffer format that uses 32 bits for the depth channel.
A lockable buffer format that uses 8 bits for the stencil channel.
16-bit z-buffer bit depth where 15 bits are reserved for the depth channel and 1 bit is reserved for the stencil channel.
32-bit z-buffer bit depth that uses 24 bits for the depth channel and 8 bits for the stencil channel.
32-bit z-buffer bit depth that uses 24 bits for the depth channel.
32-bit z-buffer bit depth that uses 24 bits for the depth channel and 4 bits for the stencil channel.
16-bit luminance only.
A two-component, 16-bit unsigned-normalized-integer format that supports 8 bits for the red channel and 8 bits for the green channel. Equivalent to DXGI_FORMAT_R8G8_UNORM from the DXGI_FORMAT enumeration.
A single-component, 8-bit unsigned-normalized-integer format that supports 8 bits for the red channel. Equivalent to DXGI_FORMAT_R8_UNORM from the DXGI_FORMAT enumeration.
A vertex buffer surface.
16-bit index buffer bit depth.
32-bit index buffer bit depth.
64-bit signed bump-map format that uses 16 bits for each channel.
MultiElement FOURCC noncompressed texture (MAKEFOURCC('M','E','T','1')).
16-bit s10e5 floating-point surface format that uses 16 bits for the red channel.
32-bit s10e5 floating-point surface format that uses 16 bits for the red channel and 16 bits for the green channel.
64-bit s10e5 floating-point surface format that uses 16 bits for each channel (alpha, blue, green, and red).
32-bit s23e8 floating-point surface format that uses 32 bits for the red channel.
64-bit s23e8 floating-point surface format that uses 32 bits for the red channel and 32 bits for the green channel.
128-bit s23e8 floating-point surface format that uses 32 bits for the each channel (alpha, blue, green, and red).
16-bit signed normal compression format. The texture sampler computes the C channel from: C = sqrt(1 - U2 - V2).
A monochrome 1-bit per pixel format.
Supported in Windows 7 and later versions.
32-bit unsigned pixel format that uses 10 bits for each color and 2 bits for alpha along with 2.8 biased fixed point.
A base compressed buffer format value.
Picture parameters decode compressed buffer format.
Macroblock control command decode compressed buffer format.
Residual block difference decode compressed buffer format.
Deblocking filter control command decode compressed buffer format.
Inverse-quantization matrix decode compressed buffer format.
Slice-control decode compressed buffer format.
Bitstream data decode compressed buffer format.
Motion-vector decode compressed buffer format.
Film-grain decode compressed buffer format.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Reserved for a DirectX VA format type.
Indicates that the maximum compressed buffer format value was reached.
A binary-buffer format.
Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. You should not use this value.
Note that formats are supplied by hardware vendors and many FOURCC codes are not listed in the D3DDDIFORMAT enumeration type. The formats in D3DDDIFORMAT are unique because they are sanctioned by the Microsoft Direct3D runtime; that is, the reference rasterizer operates on all of them. Vendors support vendor-supplied formats on a card-by-card basis.