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

> Describes descriptors inline in the root signature version 1.0 that appear in shaders.

Describes descriptors inline in the root signature version 1.0 that appear in shaders.

## Syntax

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

### Members

*ShaderRegister*\
Type: UINT

The shader register.

*RegisterSpace*\
Type: UINT

The register space.

## Remarks

**D3D12\_ROOT\_DESCRIPTOR** is the data type of the **Descriptor** member of [D3D12\_ROOT\_PARAMETER](/reference/graphics/d3d12/structs/d3d12_root_parameter_public).
Use a **D3D12\_ROOT\_DESCRIPTOR** when you set **D3D12\_ROOT\_PARAMETER**'s **ParameterType** field to the D3D12\_ROOT\_PARAMETER\_TYPE\_CBV, D3D12\_ROOT\_PARAMETER\_TYPE\_SRV, or D3D12\_ROOT\_PARAMETER\_TYPE\_UAV members of [D3D12\_ROOT\_PARAMETER\_TYPE](/reference/graphics/d3d12/enums/d3d12_root_parameter_type_public).

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

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

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

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

[Using descriptors directly in the root signature](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/using-descriptors-directly-in-the-root-signature)


## Related topics

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