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);

この関数は、次の種類のシェーダーでサポートされています。

Vertex Hull Domain ジオメトリ ピクセル Compute
x x

 

関連項目

RWTexture3D

シェーダー モデル 5