D3D12_ROOT_PARAMETER1 structure

Describes the slot of a root signature version 1.1.

Syntax

typedef struct D3D12_ROOT_PARAMETER1 {
  D3D12_ROOT_PARAMETER_TYPE ParameterType;
  union {
    D3D12_ROOT_DESCRIPTOR_TABLE1 DescriptorTable;
    D3D12_ROOT_CONSTANTS         Constants;
    D3D12_ROOT_DESCRIPTOR1       Descriptor;
  };
  D3D12_SHADER_VISIBILITY   ShaderVisibility;
} D3D12_ROOT_PARAMETER1;

Members

ParameterType

A D3D12_ROOT_PARAMETER_TYPE-typed value that specifies the type of root signature slot. This member determines which type to use in the union below.

__unnamed_union_0727_9

__unnamed_union_0727_9.DescriptorTable

__unnamed_union_0727_9.Constants

__unnamed_union_0727_9.Descriptor

ShaderVisibility

A D3D12_SHADER_VISIBILITY-typed value that specifies the shaders that can access the contents of the root signature slot.

Remarks

Use this structure with the D3D12_ROOT_SIGNATURE_DESC1 structure.

Refer to the helper structure CD3DX12_ROOT_PARAMETER1.

Requirements

   
Header d3d12.h

See Also

Core Structures

D3D12_ROOT_PARAMETER

Root Signature Version 1.1