共用方式為


D3DDDIBOX結構 (d3dumddi.h)

描述磁碟區紋理的界限。

語法

typedef struct _D3DDDIBOX {
  [in] UINT Left;
  [in] UINT Top;
  [in] UINT Right;
  [in] UINT Bottom;
       UINT Front;
  [in] UINT Back;
} D3DDDIBOX;

成員

[in] Left

方塊左側在 X 軸上的位置。

[in] Top

Y 軸上方塊頂端的位置。

[in] Right

方塊右側在 X 軸上的位置。

[in] Bottom

Y 軸上方塊底部的位置。

Front

[in]z 軸上方塊前方的位置。

[in] Back

Z 軸上方塊背面的位置。

言論

磁碟區的高度等於 Bottom 成員中的值減去 Top 成員中的值(也就是 height = bottom – top)。

磁碟區的寬度等於 成員中的值減去左 成員 的值(也就是 width = right – left)。

磁碟區的深度等於 Back 成員中的值減去 Front 成員中的值(也就是 depth = back – front)。

要求

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