D3D12_ROOT_SIGNATURE_DESC1 structure (d3d12.h)
Describes the layout of a root signature version 1.1.
Syntax
typedef struct D3D12_ROOT_SIGNATURE_DESC1 {
UINT NumParameters;
const D3D12_ROOT_PARAMETER1 *pParameters;
UINT NumStaticSamplers;
const D3D12_STATIC_SAMPLER_DESC *pStaticSamplers;
D3D12_ROOT_SIGNATURE_FLAGS Flags;
} D3D12_ROOT_SIGNATURE_DESC1;
Members
NumParameters
The number of slots in the root signature. This number is also the number of elements in the pParameters array.
pParameters
An array of D3D12_ROOT_PARAMETER1 structures for the slots in the root signature.
NumStaticSamplers
Specifies the number of static samplers.
pStaticSamplers
Pointer to one or more D3D12_STATIC_SAMPLER_DESC structures.
Flags
Specifies the D3D12_ROOT_SIGNATURE_FLAGS that determine the data volatility.
Remarks
Use this structure with the D3D12_VERSIONED_ROOT_SIGNATURE_DESC structure.
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |