ID3D12GraphicsCommandList::IASetVertexBuffers メソッド (d3d12.h)

頂点バッファーの CPU 記述子ハンドルを設定します。

構文

void IASetVertexBuffers(
  [in]           UINT                           StartSlot,
  [in]           UINT                           NumViews,
  [in, optional] const D3D12_VERTEX_BUFFER_VIEW *pViews
);

パラメーター

[in] StartSlot

型: UINT

頂点バッファーの設定を開始するには、デバイスの 0 から始まる配列にインデックスを作成します。

[in] NumViews

型: UINT

pViews 配列内のビューの数。

[in, optional] pViews

型: const D3D12_VERTEX_BUFFER_VIEW*

D3D12_VERTEX_BUFFER_VIEW構造体の配列内の頂点バッファー ビューを指定します。

戻り値

なし

必要条件

   
対象プラットフォーム Windows
ヘッダー d3d12.h
Library D3d12.lib
[DLL] D3d12.dll

関連項目

IASetIndexBuffer

ID3D12GraphicsCommandList