Partager via


structure D3DWDDM2_2DDI_CORELAYER_DEVICECALLBACKS (d3d10umddi.h)

Spécifie les fonctions de rappel d’appareil de couche principale.

Syntaxe

typedef struct D3DWDDM2_2DDI_CORELAYER_DEVICECALLBACKS {
  PFND3D10DDI_SETERROR_CB                                      pfnSetErrorCb;
  PFND3D10DDI_STATE_VS_CONSTBUF_CB                             pfnStateVsConstBufCb;
  PFND3D10DDI_STATE_PS_SRV_CB                                  pfnStatePsSrvCb;
  PFND3D10DDI_STATE_PS_SHADER_CB                               pfnStatePsShaderCb;
  PFND3D10DDI_STATE_PS_SAMPLER_CB                              pfnStatePsSamplerCb;
  PFND3D10DDI_STATE_VS_SHADER_CB                               pfnStateVsShaderCb;
  PFND3D10DDI_STATE_PS_CONSTBUF_CB                             pfnStatePsConstBufCb;
  PFND3D10DDI_STATE_IA_INPUTLAYOUT_CB                          pfnStateIaInputLayoutCb;
  PFND3D10DDI_STATE_IA_VERTEXBUF_CB                            pfnStateIaVertexBufCb;
  PFND3D10DDI_STATE_IA_INDEXBUF_CB                             pfnStateIaIndexBufCb;
  PFND3D10DDI_STATE_GS_CONSTBUF_CB                             pfnStateGsConstBufCb;
  PFND3D10DDI_STATE_GS_SHADER_CB                               pfnStateGsShaderCb;
  PFND3D10DDI_STATE_IA_PRIMITIVE_TOPOLOGY_CB                   pfnStateIaPrimitiveTopologyCb;
  PFND3D10DDI_STATE_VS_SRV_CB                                  pfnStateVsSrvCb;
  PFND3D10DDI_STATE_VS_SAMPLER_CB                              pfnStateVsSamplerCb;
  PFND3D10DDI_STATE_GS_SRV_CB                                  pfnStateGsSrvCb;
  PFND3D10DDI_STATE_GS_SAMPLER_CB                              pfnStateGsSamplerCb;
  PFND3D10DDI_STATE_OM_RENDERTARGETS_CB                        pfnStateOmRenderTargetsCb;
  PFND3D10DDI_STATE_OM_BLENDSTATE_CB                           pfnStateOmBlendStateCb;
  PFND3D10DDI_STATE_OM_DEPTHSTATE_CB                           pfnStateOmDepthStateCb;
  PFND3D10DDI_STATE_RS_RASTSTATE_CB                            pfnStateRsRastStateCb;
  PFND3D10DDI_STATE_SO_TARGETS_CB                              pfnStateSoTargetsCb;
  PFND3D10DDI_STATE_RS_VIEWPORTS_CB                            pfnStateRsViewportsCb;
  PFND3D10DDI_STATE_RS_SCISSOR_CB                              pfnStateRsScissorCb;
  PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB pfnDisableDeferredStagingResourceDestruction;
  PFND3D10DDI_STATE_TEXTFILTERSIZE_CB                          pfnStateTextFilterSizeCb;
  PFND3D11DDI_STATE_HS_SRV_CB                                  pfnStateHsSrvCb;
  PFND3D11DDI_STATE_HS_SHADER_CB                               pfnStateHsShaderCb;
  PFND3D11DDI_STATE_HS_SAMPLER_CB                              pfnStateHsSamplerCb;
  PFND3D11DDI_STATE_HS_CONSTBUF_CB                             pfnStateHsConstBufCb;
  PFND3D11DDI_STATE_DS_SRV_CB                                  pfnStateDsSrvCb;
  PFND3D11DDI_STATE_DS_SHADER_CB                               pfnStateDsShaderCb;
  PFND3D11DDI_STATE_DS_SAMPLER_CB                              pfnStateDsSamplerCb;
  PFND3D11DDI_STATE_DS_CONSTBUF_CB                             pfnStateDsConstBufCb;
  PFND3D11DDI_PERFORM_AMORTIZED_PROCESSING_CB                  pfnPerformAmortizedProcessingCb;
  PFND3D11DDI_STATE_CS_SRV_CB                                  pfnStateCsSrvCb;
  PFND3D11DDI_STATE_CS_UAV_CB                                  pfnStateCsUavCb;
  PFND3D11DDI_STATE_CS_SHADER_CB                               pfnStateCsShaderCb;
  PFND3D11DDI_STATE_CS_SAMPLER_CB                              pfnStateCsSamplerCb;
  PFND3D11DDI_STATE_CS_CONSTBUF_CB                             pfnStateCsConstBufCb;
  PFND3DWDDM2_0DDI_CREATECONTEXT_CB                            pfnCreateContextCb;
  PFND3DWDDM2_0DDI_CREATECONTEXTVIRTUAL_CB                     pfnCreateContextVirtualCb;
  PFND3DWDDM2_2DDI_SHADERCACHE_GET_VALUE_CB                    pfnShaderCacheGetValueCb;
  PFND3DWDDM2_2DDI_SHADERCACHE_STORE_VALUE_CB                  pfnShaderCacheStoreValueCb;
  PFND3DWDDM2_2DDI_SHADERCACHE_ADDREF_RELEASE_CB               pfnShaderCacheAddRefCb;
  PFND3DWDDM2_2DDI_SHADERCACHE_ADDREF_RELEASE_CB               pfnShaderCacheReleaseCb;
} D3DWDDM2_2DDI_CORELAYER_DEVICECALLBACKS;

Membres

pfnSetErrorCb

pfnStateVsConstBufCb

pfnStatePsSrvCb

pfnStatePsShaderCb

pfnStatePsSamplerCb

pfnStateVsShaderCb

pfnStatePsConstBufCb

pfnStateIaInputLayoutCb

pfnStateIaVertexBufCb

pfnStateIaIndexBufCb

pfnStateGsConstBufCb

pfnStateGsShaderCb

pfnStateIaPrimitiveTopologyCb

pfnStateVsSrvCb

pfnStateVsSamplerCb

pfnStateGsSrvCb

pfnStateGsSamplerCb

pfnStateOmRenderTargetsCb

pfnStateOmBlendStateCb

pfnStateOmDepthStateCb

pfnStateRsRastStateCb

pfnStateSoTargetsCb

pfnStateRsViewportsCb

pfnStateRsScissorCb

pfnDisableDeferredStagingResourceDestruction

pfnStateTextFilterSizeCb

pfnStateHsSrvCb

pfnStateHsShaderCb

pfnStateHsSamplerCb

pfnStateHsConstBufCb

pfnStateDsSrvCb

pfnStateDsShaderCb

pfnStateDsSamplerCb

pfnStateDsConstBufCb

pfnPerformAmortizedProcessingCb

pfnStateCsSrvCb

pfnStateCsUavCb

pfnStateCsShaderCb

pfnStateCsSamplerCb

pfnStateCsConstBufCb

pfnCreateContextCb

pfnCreateContextVirtualCb

pfnShaderCacheGetValueCb

Fonction de rappel qui obtient la valeur du cache du nuanceur.

pfnShaderCacheStoreValueCb

Fonction de rappel qui stocke la valeur du cache du nuanceur.

pfnShaderCacheAddRefCb

Fonction de rappel qui ajoute une référence au cache du nuanceur.

pfnShaderCacheReleaseCb

Fonction de rappel qui libère une référence à un cache.

Configuration requise

Condition requise Valeur
En-tête d3d10umddi.h