次の方法で共有


GetDimensions

リソースのサイズを返します。

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

パラメータ

  • Width
    リソースの幅。
  • Height
    リソースの高さ。
  • Depth
    リソースの深度。

戻り値

なし

解説 

このメソッドのオーバーロード バージョンのリストです。

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

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

頂点 ハル ドメイン ジオメトリ ピクセル 演算
x x

関連項目

シェーダー モデル 5