// d3d10umddi.h
typedef struct D3D11_1DDI_VIDEO_COLOR {
union {
D3D11_1DDI_VIDEO_COLOR_YCbCrA YCbCr;
D3D11_1DDI_VIDEO_COLOR_RGBA RGBA;
};
} D3D11_1DDI_VIDEO_COLOR;
View the official Windows Driver Kit DDI referenceNo description available.
Defines a color value for Microsoft Direct3D 11 video.
YCbCrA D3D11_1DDI_VIDEO_COLOR_YCbCrA structure that contains a YCbCr color value.
RGBAA D3D11_1DDI_VIDEO_COLOR_RGBA structure that contains an RGB color value.
The anonymous union can represent both RGB and YCbCr colors. The interpretation of the union depends on the context.