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

> 描述描述符表的根签名 1.1 布局，作为都相对于单个基描述符句柄的描述符范围集合。

描述描述符表的根签名 1.1 布局，作为都相对于单个基描述符句柄的描述符范围集合。

## 语法

```cpp theme={null}
typedef struct D3D12_ROOT_DESCRIPTOR_TABLE1
{
    UINT NumDescriptorRanges;
    const D3D12_DESCRIPTOR_RANGE1  pDescriptorRanges;
} D3D12_ROOT_DESCRIPTOR_TABLE1
```

### 成员

*NumDescriptorRanges*\
类型：UINT

表布局中的描述符范围数。

*pDescriptorRanges*\
类型：const D3D12\_DESCRIPTOR\_RANGE1 \*

一个 [D3D12\_DESCRIPTOR\_RANGE1](/reference/graphics/d3d12/structs/d3d12_descriptor_range1_public) 结构数组，用于描述描述符范围。

## 备注

采样器不允许与常量缓冲区视图 (CBV)、无序访问视图 (UAV) 和着色器资源视图 (SRV) 位于同一描述符表中。

**D3D12\_ROOT\_DESCRIPTOR\_TABLE1** 是
[D3D12\_ROOT\_PARAMETER1](/reference/graphics/d3d12/structs/d3d12_root_parameter1_public) 的
**DescriptorTable** 成员的数据类型。
当你将 **D3D12\_ROOT\_PARAMETER1** 的 **SlotType** 成员设置为 [D3D12\_ROOT\_PARAMETER\_TYPE\_DESCRIPTOR\_TABLE](/reference/graphics/d3d12/enums/d3d12_root_parameter_type_public) 时，请使用
**D3D12\_ROOT\_DESCRIPTOR\_TABLE1**。

请参阅辅助结构 [CD3DX12\_ROOT\_DESCRIPTOR\_TABLE1](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-root-descriptor-table1)。

## 要求

**头文件：** d3d12\_xs.h 或 d3d12\_x.h\
**库：** d3d12\_xs.lib 或 d3d12\_x.lib\
**支持的平台**：XBOX Series 主机和 XBOX One 系列

## 另请参阅

[Core Structures](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)

[D3D12\_ROOT\_DESCRIPTOR\_TABLE](/reference/graphics/d3d12/structs/d3d12_root_descriptor_table_public)

[Root Signature Version 1.1](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/root-signature-version-1-1)


## Related topics

- [D3D12_DESCRIPTOR_RANGE1](/zh-CN/reference/graphics/d3d12/structs/d3d12_descriptor_range1_public.md)
- [D3D12_ROOT_DESCRIPTOR_TABLE](/zh-CN/reference/graphics/d3d12/structs/d3d12_root_descriptor_table_public.md)
- [D3D12_ROOT_PARAMETER1](/zh-CN/reference/graphics/d3d12/structs/d3d12_root_parameter1_public.md)
- [D3D12_DESCRIPTOR_RANGE_FLAGS](/zh-CN/reference/graphics/d3d12/enums/d3d12_descriptor_range_flags_public.md)
- [D3D12_ROOT_DESCRIPTOR](/zh-CN/reference/graphics/d3d12/structs/d3d12_root_descriptor_public.md)
