struttura D3D12DDIARG_ADD_TO_STATE_OBJECT_0072 (d3d12umddi.h)
Struttura utilizzata per aggiungere oggetti secondari a un oggetto stato tramite il callback PFND3D12DDI_ADD_TO_STATE_OBJECT_0072.
Sintassi
typedef struct D3D12DDIARG_ADD_TO_STATE_OBJECT_0072 {
D3D12DDI_STATE_OBJECT_TYPE Type;
UINT NumSubobjects;
const D3D12DDI_STATE_SUBOBJECT_0054 *pSubobjects;
D3D12DDI_HSTATEOBJECT_0054 StateObjectToGrowFrom;
} D3D12DDIARG_ADD_TO_STATE_OBJECT_0072;
Membri
Type
Valore D3D12DDI_STATE_OBJECT_TYPE che indica il tipo di pipeline GPU con cui deve essere usato l'oggetto di stato.
NumSubobjects
Numero di oggetti secondari in pSubobjects.
pSubobjects
Matrice di strutture di D3D12DDI_STATE_SUBOBJECT_0054.
StateObjectToGrowFrom
Gestire l'oggetto di stato da cui crescere.
Osservazioni
Per altre informazioni, vedere le specifiche DirectX RayTracing (DXR).
Fabbisogno
Requisito | Valore |
---|---|
client minimo supportato | Windows 10, versione 2004 |
intestazione | d3d12umddi.h |