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

> 描述根簽章 1.1 版的配置。

描述根簽章 1.1 版的配置。

## 語法

```cpp theme={null}
typedef struct D3D12_ROOT_SIGNATURE_DESC1
{
    UINT NumParameters;
    const D3D12_ROOT_PARAMETER1  pParameters;
    UINT NumStaticSamplers;
    const D3D12_STATIC_SAMPLER_DESC  pStaticSamplers;
    D3D12_ROOT_SIGNATURE_FLAGS Flags;
} D3D12_ROOT_SIGNATURE_DESC1
```

### 成員

*NumParameters*\
類型：UINT

根簽章中的插槽數目。此數目也是 <i>pParameters</i> 陣列中的元素數目。

*pParameters*\
類型：const D3D12\_ROOT\_PARAMETER1 \*

根簽章中插槽的 [D3D12\_ROOT\_PARAMETER1](/zh-TW/reference/graphics/d3d12/structs/d3d12_root_parameter1_public) 結構陣列。

*NumStaticSamplers*\
類型：UINT

指定靜態取樣器的數目。

*pStaticSamplers*\
類型：const D3D12\_STATIC\_SAMPLER\_DESC \*

指向一或多個 [D3D12\_STATIC\_SAMPLER\_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_static_sampler_desc_public) 結構的指標。

*Flags*\
類型：D3D12\_ROOT\_SIGNATURE\_FLAGS

指定決定資料變動性的 [D3D12\_ROOT\_SIGNATURE\_FLAGS](/zh-TW/reference/graphics/d3d12_xs/enums/d3d12_root_signature_flags_xs)。

## 備註

將此結構搭配 [D3D12\_VERSIONED\_ROOT\_SIGNATURE\_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_versioned_root_signature_desc_public) 結構使用。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列

## 另請參閱

[核心結構](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)

[D3D12\_ROOT\_SIGNATURE\_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_root_signature_desc_public)

[根簽章 1.1 版](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/root-signature-version-1-1)


## Related topics

- [D3D12_VERSIONED_ROOT_SIGNATURE_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_versioned_root_signature_desc_public.md)
- [D3D12_ROOT_SIGNATURE_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_root_signature_desc_public.md)
- [ID3D12VersionedRootSignatureDeserializer](/zh-TW/reference/graphics/d3d12/interfaces/id3d12versionedrootsignaturedeserializer/id3d12versionedrootsignaturedeserializer_public.md)
- [D3D12_ROOT_PARAMETER1](/zh-TW/reference/graphics/d3d12/structs/d3d12_root_parameter1_public.md)
- [D3D12CreateVersionedRootSignatureDeserializer](/zh-TW/reference/graphics/d3d12/functions/d3d12createversionedrootsignaturedeserializer_public.md)
