D3DWDDM2_0DDI_CORELAYER_DEVICECALLBACKS 結構 (d3d10umddi.h)
此結構包含核心層裝置回呼函式的函式數據表。
語法
typedef struct D3DWDDM2_0DDI_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;
} D3DWDDM2_0DDI_CORELAYER_DEVICECALLBACKS;
成員
pfnSetErrorCb
pfnSetErrorCb 函式的指標。
pfnStateVsConstBufCb
pfnStatePsSrvCb
pfnStatePsSrvCb 函式的指標。
pfnStatePsShaderCb
pfnStatePsShaderCb 函式的指標。
pfnStatePsSamplerCb
pfnStatePsSamplerCb 函式的指標。
pfnStateVsShaderCb
pfnStateVsShaderCb 函式的指標。
pfnStatePsConstBufCb
pfnStateIaInputLayoutCb
pfnStateIaInputLayoutCb 函式的指標。
pfnStateIaVertexBufCb
pfnStateIaVertexBufCb 函式的指標。
pfnStateIaIndexBufCb
pfnStateIaIndexBufCb 函式的指標。
pfnStateGsConstBufCb
pfnStateGsShaderCb
pfnStateGsShaderCb 函式的指標。
pfnStateIaPrimitiveTopologyCb
pfnStateIaPrimitiveTopologyCb 函式的指標。
pfnStateVsSrvCb
pfnStateVsSrvCb 函式的指標。
pfnStateVsSamplerCb
pfnStateVsSamplerCb 函式的指標。
pfnStateGsSrvCb
pfnStateGsSrvCb 函式的指標。
pfnStateGsSamplerCb
pfnStateGsSamplerCb 函式的指標。
pfnStateOmRenderTargetsCb
pfnStateOmRenderTargetsCb 函式的指標。
pfnStateOmBlendStateCb
pfnStateOmBlendStateCb 函式的指標。
pfnStateOmDepthStateCb
pfnStateOmDepthStateCb 函式的指標。
pfnStateRsRastStateCb
pfnStateRsRastateCb 函式的指標。
pfnStateSoTargetsCb
pfnStateSoTargetsCb 函式的指標。
pfnStateRsViewportsCb
pfnStateRsViewportsCb 函式的指標。
pfnStateRsScissorCb
pfnStateRsScissorCb 函式的指標。
pfnDisableDeferredStagingResourceDestruction
pfnDisableDeferredStagingResourceDestruction 函式的指標。
pfnStateTextFilterSizeCb
pfnStateTextFilterSizeCb 函式的指標。
pfnStateHsSrvCb
pfnStateHsSrvCb 函式的指標。
pfnStateHsShaderCb
pfnStateHsShaderCb 函式的指標。
pfnStateHsSamplerCb
pfnStateHsSamplerCb 函式的指標。
pfnStateHsConstBufCb
pfnStateHsConstBufCb 函式的指標。
pfnStateDsSrvCb
pfnStateDsSrvCb 函式的指標。
pfnStateDsShaderCb
pfnStateDsShaderCb 函式的指標。
pfnStateDsSamplerCb
pfnStateDsSamplerCb 函式的指標。
pfnStateDsConstBufCb
pfnStateDsConstBufCb 函式的指標。
pfnPerformAmortizedProcessingCb
pfnPerformAmortizedProcessingCb 函式的指標。
pfnStateCsSrvCb
pfnStateCsSrvCb 函式的指標。
pfnStateCsUavCb
pfnStateCsUavCb 函式的指標。
pfnStateCsShaderCb
pfnStateCsShaderCb 函式的指標。
pfnStateCsSamplerCb
pfnStateCsSamplerCb 函式的指標。
pfnStateCsConstBufCb
pfnCreateContextCb
pfnCreateContextCb 函式的指標。
pfnCreateContextVirtualCb
pfnCreateContextVirtualCb 函式的指標。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 10 |
最低支援的伺服器 | Windows Server 2016 |
標頭 | d3d10umddi.h (include D3d10umddi.h) |