D3D10DDI_MIPINFO 結構 (d3d10umddi.h)

D3D10DDI_MIPINFO結構描述表面的 MIP 層級紋理和實體座標。

語法

typedef struct D3D10DDI_MIPINFO {
  [in] UINT TexelWidth;
  [in] UINT TexelHeight;
  [in] UINT TexelDepth;
  [in] UINT PhysicalWidth;
  [in] UINT PhysicalHeight;
  [in] UINT PhysicalDepth;
} D3D10DDI_MIPINFO;

成員

[in] TexelWidth

表面或磁碟區的寬度,或線性資源的材質長度。

[in] TexelHeight

表面或音量的高度,以紋素表示。

[in] TexelDepth

磁碟區的深度,以紋素表示。

[in] PhysicalWidth

表面或磁碟區的寬度,或線性資源的長度,以像素為單位。

[in] PhysicalHeight

表面或磁碟區的高度,以像素為單位。

[in] PhysicalDepth

磁碟區的深度,以像素為單位。

規格需求

需求
最低支援的用戶端 可在 Windows Vista 和更新版本的 Windows 作業系統中使用。
標頭 d3d10umddi.h (包含 D3d10umddi.h)

另請參閱

D3D10DDIARG_CREATERESOURCE