Share via


RWTexture3D::GetDimensions 函式

傳回資源的維度。

語法

void GetDimensions(
  out UINT Width,
  out UINT Height,
  out UINT Depth
);

參數

寬度 [out]

類型: UINT

資源寬度,以紋素表示。

高度 [out]

類型: UINT

資源高度,以紋素表示。

深度 [out]

類型: UINT

資源深度,以紋素表示。

傳回值

此函式不會傳回值。

備註

這是此方法的多載版本清單。

void GetDimensions (out UINT Width,
  out UINT Height,
  out UINT Depth);

void GetDimensions(out float Width,
  out float Height,
  out float Depth);

下列著色器類型支援此函式:

頂點 船體 網域 幾何形狀 像素 計算
x x

 

另請參閱

RWTexture3D

著色器模型 5