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

コンピューティング ルート署名の定数のグループを設定します。

構文

void SetComputeRoot32BitConstants(
  [in] UINT       RootParameterIndex,
  [in] UINT       Num32BitValuesToSet,
  [in] const void *pSrcData,
  [in] UINT       DestOffsetIn32BitValues
);

パラメーター

[in] RootParameterIndex

型: UINT

バインドのスロット番号。

[in] Num32BitValuesToSet

型: UINT

ルート署名で設定する定数の数。

[in] pSrcData

型: const void*

設定する定数のグループのソース データ。

[in] DestOffsetIn32BitValues

型: UINT

ルート署名のグループの最初の定数を設定するオフセット (32 ビット値)。

戻り値

なし

必要条件

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

関連項目

ID3D12GraphicsCommandList