> ## 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.

# D3D12_ROOT_DESCRIPTOR

> シェーダー内に現れる、ルート シグネチャ バージョン 1.0 のインライン デスクリプターを記述します。

シェーダー内に現れる、ルート シグネチャ バージョン 1.0 のインライン デスクリプターを記述します。

## 構文

```cpp theme={null}
typedef struct D3D12_ROOT_DESCRIPTOR
{
    UINT ShaderRegister;
    UINT RegisterSpace;
} D3D12_ROOT_DESCRIPTOR
```

### メンバー

*ShaderRegister*\
型: UINT

シェーダー レジスター。

*RegisterSpace*\
型: UINT

レジスター空間。

## 解説

**D3D12\_ROOT\_DESCRIPTOR** は [D3D12\_ROOT\_PARAMETER](/reference/graphics/d3d12/structs/d3d12_root_parameter_public) の **Descriptor** メンバーのデータ型です。
**D3D12\_ROOT\_PARAMETER** の **ParameterType** フィールドを [D3D12\_ROOT\_PARAMETER\_TYPE](/reference/graphics/d3d12/enums/d3d12_root_parameter_type_public) の D3D12\_ROOT\_PARAMETER\_TYPE\_CBV、D3D12\_ROOT\_PARAMETER\_TYPE\_SRV、または D3D12\_ROOT\_PARAMETER\_TYPE\_UAV メンバーに設定する場合は、**D3D12\_ROOT\_DESCRIPTOR** を使用します。

## 要件

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

## 関連項目

[CD3DX12\_ROOT\_DESCRIPTOR](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-root-descriptor)

[コア構造体](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)

[D3D12\_ROOT\_DESCRIPTOR1](/reference/graphics/d3d12/structs/d3d12_root_descriptor1_public)

[ルート シグネチャで直接デスクリプターを使用する](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/using-descriptors-directly-in-the-root-signature)


## Related topics

- [D3D12_ROOT_DESCRIPTOR1](/ja-jp/reference/graphics/d3d12/structs/d3d12_root_descriptor1_public.md)
- [D3D12_ROOT_PARAMETER](/ja-jp/reference/graphics/d3d12/structs/d3d12_root_parameter_public.md)
- [D3D12_ROOT_DESCRIPTOR_TABLE](/ja-jp/reference/graphics/d3d12/structs/d3d12_root_descriptor_table_public.md)
- [D3D12_ROOT_DESCRIPTOR_FLAGS](/ja-jp/reference/graphics/d3d12/enums/d3d12_root_descriptor_flags_public.md)
- [D3D12_ROOT_DESCRIPTOR_TABLE1](/ja-jp/reference/graphics/d3d12/structs/d3d12_root_descriptor_table1_public.md)
