AppendStructuredBuffer::GetDimensions 関数

リソース ディメンションを取得します。

構文

void GetDimensions(
  out uint numStructs,
  out uint stride
);

パラメーター

numStructs [out]

型: uint

構造体の数。

stride [out]

型: uint

各要素のバイト数。

戻り値

この関数は値を返しません。

注釈

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

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

 

関連項目

AppendStructuredBuffer

シェーダー モデル 5