Condividi tramite


D3D12DDI_CORELAYER_DEVICECALLBACKS_0003 struttura (d3d12umddi.h)

Contiene funzioni di callback del runtime di Microsoft Direct3D 12 che possono essere usate dal driver di visualizzazione in modalità utente.

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;

Members

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 alla 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 alla funzione per le versioni WDDM inferiori a 2.0.

pfnReservedDestroyPagingQueueCb

Puntatore alla funzione per le versioni WDDM inferiori a 2.0.

pfnReservedMakeResidentCb

Puntatore alla funzione per le versioni WDDM inferiori a 2.0.

pfnReservedEvictCb

Puntatore alla funzione per le versioni WDDM inferiori a 2.0.

pfnReservedReclaimAllocations2Cb

Puntatore alla funzione per le versioni WDDM inferiori a 2.0.

pfnReservedOfferAllocationsCb

Puntatore alla funzione per le versioni WDDM inferiori a 2.0.

Requisiti

Requisito Valore
Client minimo supportato Windows 10, versione 1903
Intestazione d3d12umddi.h