D3D11_VIDEO_COLOR structure (d3d11.h)
Defines a color value for Microsoft Direct3D 11 video.
Syntax
typedef struct D3D11_VIDEO_COLOR {
union {
D3D11_VIDEO_COLOR_YCbCrA YCbCr;
D3D11_VIDEO_COLOR_RGBA RGBA;
};
} D3D11_VIDEO_COLOR;
Members
YCbCr
A D3D11_VIDEO_COLOR_YCbCrA structure that contains a YCbCr color value.
RGBA
A D3D11_VIDEO_COLOR_RGBA structure that contains an RGB color value.
Remarks
The anonymous union can represent both RGB and YCbCr colors. The interpretation of the union depends on the context.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Header | d3d11.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for