分享方式:


D3D11_1DDI_VIDEO_COLOR_RGBA結構 (d3d10umddi.h)

指定 RGB 色彩值。

語法

typedef struct D3D11_1DDI_VIDEO_COLOR_RGBA {
  float R;
  float G;
  float B;
  float A;
} D3D11_1DDI_VIDEO_COLOR_RGBA;

成員

R

紅色值。

G

綠色值。

B

藍色值。

A

Alpha 值。 值的範圍從 0 (透明) 到 1 (不透明)。

要求

要求 價值
最低支援的用戶端 Windows 8
支援的最低伺服器 Windows Server 2012
標頭 d3d10umddi.h (包括 D3d10umddi.h)