Condividi tramite


struttura D3D12DDI_CORELAYER_DEVICECALLBACKS_0003 (d3d12umddi.h)

Contiene le funzioni di callback di runtime di Microsoft Direct3D 12 che il driver di visualizzazione in modalità utente può usare.

Sintassi

typedef struct D3D12DDI_CORELAYER_DEVICECALLBACKS_0003 {
  PFND3D12DDI_SETERROR_CB               pfnSetErrorCb;
  PFND3D12DDI_SETCOMMANDLISTERROR_CB    pfnSetCommandListErrorCb;
  PFND3D12DDI_SETCOMMANDLISTDDITABLE_CB pfnSetCommandListDDITableCb;
  PFND3D12DDI_CREATECONTEXT_CB          pfnCreateContextCb;
  PFND3D12DDI_CREATECONTEXTVIRTUAL_CB   pfnCreateContextVirtualCb;
  void                                  *pfnReservedCreateContextVirtualCb;
  PFND3D12DDI_DESTROYCONTEXT_CB         pfnDestroyContextCb;
  PFND3D12DDI_CREATEPAGINGQUEUE_CB      pfnCreatePagingQueueCb;
  PFND3D12DDI_DESTROYPAGINGQUEUE_CB     pfnDestroyPagingQueueCb;
  PFND3D12DDI_MAKERESIDENT_CB           pfnMakeResidentCb;
  PFND3D12DDI_EVICT_CB                  pfnEvictCb;
  PFND3D12DDI_RECLAIMALLOCATIONS2_CB    pfnReclaimAllocations2Cb;
  PFND3D12DDI_OFFERALLOCATIONS_CB       pfnOfferAllocationsCb;
  void                                  *pfnReservedCreatePagingQueueCb;
  void                                  *pfnReservedDestroyPagingQueueCb;
  void                                  *pfnReservedMakeResidentCb;
  void                                  *pfnReservedEvictCb;
  void                                  *pfnReservedReclaimAllocations2Cb;
  void                                  *pfnReservedOfferAllocationsCb;
} D3D12DDI_CORELAYER_DEVICECALLBACKS_0003;

Membri

pfnSetErrorCb

Puntatore alla funzione PFND3D12DDI_SETERROR_CB.

pfnSetCommandListErrorCb

Puntatore alla funzione PFND3D12DDI_SETCOMMANDLISTERROR_CB.

pfnSetCommandListDDITableCb

Puntatore alla funzione PFND3D12DDI_SETCOMMANDLISTDDITABLE_CB.

pfnCreateContextCb

Puntatore alla funzione PFND3D12DDI_CREATECONTEXT_CB.

pfnCreateContextVirtualCb

Puntatore alla funzione PFND3D12DDI_CREATECONTEXTVIRTUAL_CB.

Supportato a partire da WDDM 2.0.

pfnReservedCreateContextVirtualCb

Puntatore a funzione per le versioni WDDM inferiori a 2.0.

pfnDestroyContextCb

Puntatore alla funzione PFND3D12DDI_DESTROYCONTEXT_CB.

pfnCreatePagingQueueCb

Puntatore alla funzione PFND3D12DDI_CREATEPAGINGQUEUE_CB.

Supportato a partire da WDDM 2.0.

pfnDestroyPagingQueueCb

Puntatore alla funzione PFND3D12DDI_DESTROYPAGINGQUEUE_CB.

Supportato a partire da WDDM 2.0.

pfnMakeResidentCb

Puntatore alla funzione PFND3D12DDI_MAKERESIDENT_CB.

Supportato a partire da WDDM 2.0.

pfnEvictCb

Puntatore alla funzione PFND3D12DDI_EVICT_CB.

Supportato a partire da WDDM 2.0.

pfnReclaimAllocations2Cb

Puntatore alla funzione PFND3D12DDI_RECLAIMALLOCATIONS2_CB.

Supportato a partire da WDDM 2.0.

pfnOfferAllocationsCb

Puntatore alla funzione PFND3D12DDI_OFFERALLOCATIONS_CB.

Supportato a partire da WDDM 2.0.

pfnReservedCreatePagingQueueCb

Puntatore a funzione per le versioni WDDM inferiori a 2.0.

pfnReservedDestroyPagingQueueCb

Puntatore a funzione per le versioni WDDM inferiori a 2.0.

pfnReservedMakeResidentCb

Puntatore a funzione per le versioni WDDM inferiori a 2.0.

pfnReservedEvictCb

Puntatore a funzione per le versioni WDDM inferiori a 2.0.

pfnReservedReclaimAllocations2Cb

Puntatore a funzione per le versioni WDDM inferiori a 2.0.

pfnReservedOfferAllocationsCb

Puntatore a funzione per le versioni WDDM inferiori a 2.0.

Fabbisogno

Requisito Valore
client minimo supportato Windows 10, versione 1903
intestazione d3d12umddi.h