Condividi tramite


struttura D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU (d3dkmthk.h)

D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU viene usato con D3DKMTWaitForSynchronizationObjectFromGpu attendere che un recinto monitorato raggiunga un determinato valore.

Sintassi

typedef struct _D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {
  [in] D3DKMT_HANDLE       hContext;
  [in] UINT                ObjectCount;
  [in] const D3DKMT_HANDLE *ObjectHandleArray;
  union {
    [in] const UINT64          *MonitoredFenceValueArray;
    [in] D3DKMT_ALIGN64 UINT64 FenceValue;
         D3DKMT_ALIGN64 UINT64 Reserved[8];
  };
} D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU;

Membri

[in] hContext

Handle in modalità kernel per il flusso di contesto in cui viene inserita un'attesa per gli eventi di sincronizzazione nella matrice specificata dal membro ObjectHandleArray.

[in] ObjectCount

Numero di eventi di sincronizzazione nelle matrici matrice e recinto ObjectHandleArray in MonitoredFenceValueArray matrici.

[in] ObjectHandleArray

Matrice di handle in modalità kernel per gli eventi di sincronizzazione che il contesto specificato dal membro hContext attende.

[in] MonitoredFenceValueArray

Matrice di valori di limite monitorati a 64 bit da attendere, ogni valore corrispondente a un oggetto di sincronizzazione in ObjectHandleArray.

[in] FenceValue

Valore di recinto da attendere quando l'oggetto di input è di tipo D3DDDI_FENCE.

Reserved[8]

Questo membro è riservato e deve essere impostato su zero.

Fabbisogno

Requisito Valore
client minimo supportato Windows 10
server minimo supportato Windows Server 2016
intestazione d3dkmthk.h (include D3dkmthk.h)

Vedere anche

D3DKMTWaitForSynchronizationObjectFromGpu