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

> Describes the root signature 1.1 layout of a descriptor table as a collection of descriptor ranges that are all relative to a single base descriptor handle.

Describes the root signature 1.1 layout of a descriptor table as a collection of descriptor ranges that are all relative to a single base descriptor handle.

## Syntax

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

### Members

*NumDescriptorRanges*\
Type: UINT

The number of descriptor ranges in the table layout.

*pDescriptorRanges*\
Type: const D3D12\_DESCRIPTOR\_RANGE1 \*

An array of [D3D12\_DESCRIPTOR\_RANGE1](/reference/graphics/d3d12/structs/d3d12_descriptor_range1_public) structures that describe the descriptor ranges.

## Remarks

Samplers are not allowed in the same descriptor table as constant-buffer views (CBVs), unordered-access views (UAVs), and shader-resource views (SRVs).

**D3D12\_ROOT\_DESCRIPTOR\_TABLE1** is the data type of the
**DescriptorTable** member of
[D3D12\_ROOT\_PARAMETER1](/reference/graphics/d3d12/structs/d3d12_root_parameter1_public).
Use a
**D3D12\_ROOT\_DESCRIPTOR\_TABLE1** when you set **D3D12\_ROOT\_PARAMETER1**'s **SlotType** member to [D3D12\_ROOT\_PARAMETER\_TYPE\_DESCRIPTOR\_TABLE](/reference/graphics/d3d12/enums/d3d12_root_parameter_type_public).

Refer to the helper structure [CD3DX12\_ROOT\_DESCRIPTOR\_TABLE1](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-root-descriptor-table1).

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[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](/reference/graphics/d3d12/structs/d3d12_descriptor_range1_public.md)
- [D3D12_ROOT_DESCRIPTOR_TABLE](/reference/graphics/d3d12/structs/d3d12_root_descriptor_table_public.md)
- [D3D12_ROOT_PARAMETER1](/reference/graphics/d3d12/structs/d3d12_root_parameter1_public.md)
- [D3D12_DESCRIPTOR_RANGE_FLAGS](/reference/graphics/d3d12/enums/d3d12_descriptor_range_flags_public.md)
- [D3D12_ROOT_DESCRIPTOR](/reference/graphics/d3d12/structs/d3d12_root_descriptor_public.md)
