Skip to content

Latest commit

 

History

History
172 lines (104 loc) · 7.64 KB

ns-d3d10umddi-d3d10ddi_corelayer_devicecallbacks.md

File metadata and controls

172 lines (104 loc) · 7.64 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3d10umddi.D3D10DDI_CORELAYER_DEVICECALLBACKS
D3D10DDI_CORELAYER_DEVICECALLBACKS (d3d10umddi.h)
The D3D10DDI_CORELAYER_DEVICECALLBACKS structure contains Microsoft Direct3D 10 runtime callback functions that the user-mode display driver can use.
display\d3d10ddi_corelayer_devicecallbacks.htm
05/10/2018
D3D10DDI_CORELAYER_DEVICECALLBACKS structure
D3D10DDI_CORELAYER_DEVICECALLBACKS, D3D10DDI_CORELAYER_DEVICECALLBACKS structure [Display Devices], UMDisplayDriver_Dx10param_Structs_4c7782a0-4963-4f18-802e-98c8eb39c1a1.xml, d3d10umddi/D3D10DDI_CORELAYER_DEVICECALLBACKS, display.d3d10ddi_corelayer_devicecallbacks
d3d10umddi.h
D3d10umddi.h
Windows
Available in Windows Vista and later versions of the Windows operating systems.
Windows
display
D3D10DDI_CORELAYER_DEVICECALLBACKS
D3D10DDI_CORELAYER_DEVICECALLBACKS
d3d10umddi/D3D10DDI_CORELAYER_DEVICECALLBACKS
APIRef
kbSyntax
HeaderDef
d3d10umddi.h
D3D10DDI_CORELAYER_DEVICECALLBACKS

D3D10DDI_CORELAYER_DEVICECALLBACKS structure

-description

The D3D10DDI_CORELAYER_DEVICECALLBACKS structure contains Microsoft Direct3D 10 runtime callback functions that the user-mode display driver can use.

-struct-fields

-field pfnSetErrorCb

A pointer to the pfnSetErrorCb function, which the driver uses to send errors back to the Direct3D 10 runtime because many of the driver's functions (in D3D10DDI_DEVICEFUNCS) return void.

-field pfnStateVsConstBufCb

A pointer to the pfnStateVsConstBufCb function.

-field pfnStatePsSrvCb

A pointer to the pfnStatePsSrvCb function.

-field pfnStatePsShaderCb

A pointer to the pfnStatePsShaderCb function.

-field pfnStatePsSamplerCb

A pointer to the pfnStatePsSamplerCb function.

-field pfnStateVsShaderCb

A pointer to the pfnStateVsShaderCb function.

-field pfnStatePsConstBufCb

A pointer to the pfnStatePsConstBufCb function.

-field pfnStateIaInputLayoutCb

A pointer to the pfnStateIaInputLayoutCb function.

-field pfnStateIaVertexBufCb

A pointer to the pfnStateIaVertexBufCb function.

-field pfnStateIaIndexBufCb

A pointer to the pfnStateIaIndexBufCb function.

-field pfnStateGsConstBufCb

A pointer to the pfnStateGsConstBufCb function.

-field pfnStateGsShaderCb

A pointer to the pfnStateGsShaderCb function.

-field pfnStateIaPrimitiveTopologyCb

A pointer to the pfnStateIaPrimitiveTopologyCb function.

-field pfnStateVsSrvCb

A pointer to the pfnStateVsSrvCb function.

-field pfnStateVsSamplerCb

A pointer to the pfnStateVsSamplerCb function.

-field pfnStateGsSrvCb

A pointer to the pfnStateGsSrvCb function.

-field pfnStateGsSamplerCb

A pointer to the pfnStateGsSamplerCb function.

-field pfnStateOmRenderTargetsCb

A pointer to the pfnStateOmRenderTargetsCb function.

-field pfnStateOmBlendStateCb

A pointer to the pfnStateOmBlendStateCb function.

-field pfnStateOmDepthStateCb

A pointer to the pfnStateOmDepthStateCb function.

-field pfnStateRsRastStateCb

A pointer to the pfnStateRsRastStateCb function.

-field pfnStateSoTargetsCb

A pointer to the pfnStateSoTargetsCb function.

-field pfnStateRsViewportsCb

A pointer to the pfnStateRsViewportsCb function.

-field pfnStateRsScissorCb

A pointer to the pfnStateRsScissorCb function.

-field pfnDisableDeferredStagingResourceDestruction

A pointer to the pfnDisableDeferredStagingResourceDestruction function. By default, the Direct3D 10 runtime defers the destruction of staging resources until the driver indicates that the hardware no longer requires them. The driver can call this function to disable this feature if the driver does not require the deferred destruction functionality.

-field pfnStateTextFilterSizeCb

A pointer to the pfnStateTextFilterSizeCb function.

-remarks

Because the Direct3D 10 runtime might change the function pointers dynamically, the user-mode display driver cannot cache the function pointers directly.

The driver uses the functions with "State" in their name to retrieve the current state of the pipeline.

-see-also

CreateDevice(D3D10)

D3D10DDIARG_CREATEDEVICE

D3D10DDI_DEVICEFUNCS