D3D12_ROOT_DESCRIPTOR1 structure (d3d12.h)

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

Syntax

typedef struct D3D12_ROOT_DESCRIPTOR1 {
  UINT                        ShaderRegister;
  UINT                        RegisterSpace;
  D3D12_ROOT_DESCRIPTOR_FLAGS Flags;
} D3D12_ROOT_DESCRIPTOR1;

Members

ShaderRegister

The shader register.

RegisterSpace

The register space.

Flags

Specifies the D3D12_ROOT_DESCRIPTOR_FLAGS that determine the volatility of descriptors and the data they reference.

Remarks

D3D12_ROOT_DESCRIPTOR1 is the data type of the Descriptor member of D3D12_ROOT_PARAMETER1. Use a D3D12_ROOT_DESCRIPTOR1 when you set D3D12_ROOT_PARAMETER1'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.

Refer to the helper structure CD3DX12_ROOT_DESCRIPTOR1.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures

D3D12_ROOT_DESCRIPTOR

Root Signature Version 1.1