> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SetGraphicsRoot32BitConstants

> グラフィックス ルート シグネチャに一連の定数を設定します。

グラフィックス ルート シグネチャに一連の定数を設定します。

## 構文

```cpp theme={null}
void SetGraphicsRoot32BitConstants(
    UINT RootParameterIndex,
    UINT Num32BitValuesToSet,
    const void  pSrcData,
    UINT DestOffsetIn32BitValues
)
```

### パラメーター

*RootParameterIndex \[in]*\
型: UINT

バインドするスロット番号。

*Num32BitValuesToSet \[in]*\
型: UINT

ルート シグネチャに設定する定数の数。

*pSrcData \[in]*\
型: const void \*

設定する一連の定数のソース データ。

*DestOffsetIn32BitValues \[in]*\
型: UINT

ルート シグネチャ内で最初の定数を設定する 32 ビット値単位のオフセット。

### 戻り値

型: void

なし。

## 要件

**ヘッダー:** d3d12\_xs.h または d3d12\_x.h\
**ライブラリ:** d3d12\_xs.lib または d3d12\_x.lib\
**サポートされるプラットフォーム**: XBOX Series 本体および XBOX One ファミリ

## 関連項目

[ID3D12GraphicsCommandList](/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs)


## Related topics

- [SetGraphicsRoot32BitConstant](/ja-jp/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsroot32bitconstant_public.md)
- [SetComputeRoot32BitConstant](/ja-jp/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputeroot32bitconstant_public.md)
- [SetComputeRoot32BitConstants](/ja-jp/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputeroot32bitconstants_public.md)
- [SetGraphicsRootConstantBufferView](/ja-jp/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootconstantbufferview_public.md)
- [D3D12_ROOT_CONSTANTS](/ja-jp/reference/graphics/d3d12/structs/d3d12_root_constants_public.md)
