structure D3D12DDI_CORELAYER_DEVICECALLBACKS_0062 (d3d12umddi.h)
Contient les fonctions de rappel du runtime Microsoft Direct3D 12 que le pilote d’affichage en mode utilisateur peut utiliser.
Syntaxe
typedef struct D3D12DDI_CORELAYER_DEVICECALLBACKS_0062 {
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;
PFND3D12DDI_ALLOCATE_CB_0022 pfnAllocateCb;
PFND3D12DDI_DEALLOCATE_CB_0022 pfnDeallocateCb;
PFND3D12DDI_CREATESCHEDULINGGROUPCONTEXT_CB_0050 pfnCreateSchedulingGroupContextCb;
PFND3D12DDI_CREATESCHEDULINGGROUPCONTEXTVIRTUAL_CB_0050 pfnCreateSchedulingGroupContextVirtualCb;
PFND3D12DDI_CREATEHWQUEUE_CB_0050 pfnCreateHwQueueCb;
void *pfnReservedCreateSchedulingGroupContextCb;
void *pfnReservedCreateSchedulingGroupContextVirtualCb;
void *pfnReservedCreateHwQueueCb;
PFND3D12DDI_QUEUEPROCESSINGWORK_CB_0062 pfnQueueBackgroundProcessingWorkCb;
} D3D12DDI_CORELAYER_DEVICECALLBACKS_0062;
Membres
pfnSetErrorCb
Pointeur vers la fonction PFND3D12DDI_SETERROR_CB.
pfnSetCommandListErrorCb
Pointeur vers la fonction PFND3D12DDI_SETCOMMANDLISTERROR_CB.
pfnSetCommandListDDITableCb
Pointeur vers la fonction PFND3D12DDI_SETCOMMANDLISTDDITABLE_CB.
pfnCreateContextCb
Pointeur vers la fonction PFND3D12DDI_CREATECONTEXT_CB.
pfnCreateContextVirtualCb
Pointeur vers la fonction PFND3D12DDI_CREATECONTEXTVIRTUAL_CB.
Pris en charge à partir de WDDM 2.0.
pfnReservedCreateContextVirtualCb
Pointeur de fonction pour les versions WDDM inférieures à 2.0.
pfnDestroyContextCb
Pointeur vers la fonction PFND3D12DDI_DESTROYCONTEXT_CB.
pfnCreatePagingQueueCb
Pointeur vers la fonction PFND3D12DDI_CREATEPAGINGQUEUE_CB.
Pris en charge à partir de WDDM 2.0.
pfnDestroyPagingQueueCb
Pointeur vers la fonction PFND3D12DDI_DESTROYPAGINGQUEUE_CB.
Pris en charge à partir de WDDM 2.0.
pfnMakeResidentCb
Pointeur vers la fonction PFND3D12DDI_MAKERESIDENT_CB.
Pris en charge à partir de WDDM 2.0.
pfnEvictCb
Pointeur vers la fonction PFND3D12DDI_EVICT_CB.
Pris en charge à partir de WDDM 2.0.
pfnReclaimAllocations2Cb
Pointeur vers la fonction PFND3D12DDI_RECLAIMALLOCATIONS2_CB.
Pris en charge à partir de WDDM 2.0.
pfnOfferAllocationsCb
Pointeur vers la fonction PFND3D12DDI_OFFERALLOCATIONS_CB.
Pris en charge à partir de WDDM 2.0.
pfnReservedCreatePagingQueueCb
Pointeur de fonction pour les versions WDDM inférieures à 2.0.
pfnReservedDestroyPagingQueueCb
Pointeur de fonction pour les versions WDDM inférieures à 2.0.
pfnReservedMakeResidentCb
Pointeur de fonction pour les versions WDDM inférieures à 2.0.
pfnReservedEvictCb
Pointeur de fonction pour les versions WDDM inférieures à 2.0.
pfnReservedReclaimAllocations2Cb
Pointeur de fonction pour les versions WDDM inférieures à 2.0.
pfnReservedOfferAllocationsCb
Pointeur de fonction pour les versions WDDM inférieures à 2.0.
pfnAllocateCb
Pointeur vers la fonction PFND3D12DDI_ALLOCATE_CB_0022.
pfnDeallocateCb
Pointeur vers la fonction PFND3D12DDI_DEALLOCATE_CB_0022.
pfnCreateSchedulingGroupContextCb
Pointeur vers une fonction PFND3D12DDI_CREATESCHEDULINGGROUPCONTEXT_CB_0050.
Pris en charge à partir de WDDM 2.5.
pfnCreateSchedulingGroupContextVirtualCb
Pointeur vers une fonction PFND3D12DDI_CREATESCHEDULINGGROUPCONTEXTVIRTUAL_CB_0050.
Pris en charge à partir de WDDM 2.5.
pfnCreateHwQueueCb
Pointeur vers une fonction PFND3D12DDI_CREATEHWQUEUE_CB_0050.
Pris en charge à partir de WDDM 2.5.
pfnReservedCreateSchedulingGroupContextCb
Pointeur de fonction pour les versions WDDM inférieures à 2.5.
pfnReservedCreateSchedulingGroupContextVirtualCb
Pointeur de fonction pour les versions WDDM inférieures à 2.5.
pfnReservedCreateHwQueueCb
Pointeur de fonction pour les versions WDDM inférieures à 2.5.
pfnQueueBackgroundProcessingWorkCb
Pointeur vers une fonction PFND3D12DDI_QUEUEPROCESSINGWORK_CB_0062.
Pris en charge à partir de WDDM 2.6.
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows 10 version 1903 |
En-tête | d3d12umddi.h |
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour