Skip to content

Latest commit

 

History

History
697 lines (367 loc) · 37 KB

ns-d3d10umddi-d3d11_1ddi_devicefuncs.md

File metadata and controls

697 lines (367 loc) · 37 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.D3D11_1DDI_DEVICEFUNCS
D3D11_1DDI_DEVICEFUNCS (d3d10umddi.h)
Contains functions that a user-mode display driver that is optimized for the Microsoft Direct3D version 11.1 runtime can implement to render graphics primitives and process state changes.
display\d3d11_1ddi_devicefuncs.htm
05/10/2018
D3D11_1DDI_DEVICEFUNCS structure
D3D11_1DDI_DEVICEFUNCS, D3D11_1DDI_DEVICEFUNCS structure [Display Devices], d3d10umddi/D3D11_1DDI_DEVICEFUNCS, display.d3d11_1ddi_devicefuncs
d3d10umddi.h
D3d10umddi.h
Windows
Windows 8
Windows Server 2012
Windows
display
D3D11_1DDI_DEVICEFUNCS
D3D11_1DDI_DEVICEFUNCS
d3d10umddi/D3D11_1DDI_DEVICEFUNCS
APIRef
kbSyntax
HeaderDef
D3d10umddi.h
D3D11_1DDI_DEVICEFUNCS

D3D11_1DDI_DEVICEFUNCS structure

-description

Contains functions that a user-mode display driver that is optimized for the Microsoft Direct3D version 11.1 runtime can implement to render graphics primitives and process state changes.

-struct-fields

-field pfnDefaultConstantBufferUpdateSubresourceUP

A pointer to the driver's DefaultConstantBufferUpdateSubresourceUP(D3D11_1) function.

-field pfnVsSetConstantBuffers

A pointer to the driver's VsSetConstantBuffers(D3D11_1) function.

-field pfnPsSetShaderResources

A pointer to the driver's PsSetShaderResources function.

-field pfnPsSetShader

A pointer to the driver's PsSetShader function.

-field pfnPsSetSamplers

A pointer to the driver's PsSetSamplers function.

-field pfnVsSetShader

A pointer to the driver's VsSetShader function.

-field pfnDrawIndexed

A pointer to the driver's DrawIndexed function.

-field pfnDraw

A pointer to the driver's Draw function.

-field pfnDynamicIABufferMapNoOverwrite

A pointer to the driver's ResourceMap function. For more information about whether to implement a separate DynamicIABufferMapNoOverwrite function or to point to the multipurpose ResourceMap, see the Remarks section of ResourceMap.

-field pfnDynamicIABufferUnmap

A pointer to the driver's ResourceUnmap function. For more information about whether to implement a separate DynamicIABufferUnmap function or to point to the multipurpose ResourceUnmap, see the Remarks section of ResourceMap.

-field pfnDynamicConstantBufferMapDiscard

A pointer to the driver's ResourceMap function. For more information about whether to implement a separate DynamicConstantBufferMapDiscard function or to point to the multipurpose ResourceMap, see the Remarks section of ResourceMap.

-field pfnDynamicIABufferMapDiscard

A pointer to the driver's ResourceMap function. For more information about whether to implement a separate DynamicIABufferMapDiscard function or to point to the multipurpose ResourceMap, see the Remarks section of ResourceMap.

-field pfnDynamicConstantBufferUnmap

A pointer to the driver's ResourceUnmap function. For more information about whether to implement a separate DynamicConstantBufferUnmap function or to point to the multipurpose ResourceUnmap, see the Remarks section of ResourceMap.

-field pfnPsSetConstantBuffers

A pointer to the driver's PsSetConstantBuffers(D3D11_1) function.

-field pfnIaSetInputLayout

A pointer to the driver's IaSetInputLayout function.

-field pfnIaSetVertexBuffers

A pointer to the driver's IaSetVertexBuffers function.

-field pfnIaSetIndexBuffer

A pointer to the driver's IaSetIndexBuffer function.

-field pfnDrawIndexedInstanced

A pointer to the driver's DrawIndexedInstanced function.

-field pfnDrawInstanced

A pointer to the driver's DrawInstanced function.

-field pfnDynamicResourceMapDiscard

A pointer to the driver's ResourceMap function. For more information about whether to implement a separate DynamicResourceMapDiscard function or to point to the multipurpose ResourceMap, see the Remarks section of ResourceMap.

-field pfnDynamicResourceUnmap

A pointer to the driver's ResourceUnmap function. For more information about whether to implement a separate DynamicResourceUnmap function or to point to the multipurpose ResourceUnmap, see the Remarks section of ResourceMap.

-field pfnGsSetConstantBuffers

A pointer to the driver's GsSetConstantBuffers(D3D11_1) function.

-field pfnGsSetShader

A pointer to the driver's GsSetShader function.

-field pfnIaSetTopology

A pointer to the driver's IaSetTopology function.

-field pfnStagingResourceMap

A pointer to the driver's ResourceMap function. For more information about whether to implement a separate StagingResourceMap function or to point to the multipurpose ResourceMap, see the Remarks section of ResourceMap.

-field pfnStagingResourceUnmap

A pointer to the driver's ResourceUnmap function. For more information about whether to implement a separate StagingResourceUnmap function or to point to the multipurpose ResourceUnmap, see the Remarks section of ResourceMap.

-field pfnVsSetShaderResources

A pointer to the driver's VsSetShaderResources function.

-field pfnVsSetSamplers

A pointer to the driver's VsSetSamplers function.

-field pfnGsSetShaderResources

A pointer to the driver's GsSetShaderResources function.

-field pfnGsSetSamplers

A pointer to the driver's GsSetSamplers function.

-field pfnSetRenderTargets

A pointer to the driver's SetRenderTargets(D3D11) function.

-field pfnShaderResourceViewReadAfterWriteHazard

A pointer to the driver's ShaderResourceViewReadAfterWriteHazard function.

-field pfnResourceReadAfterWriteHazard

A pointer to the driver's ResourceReadAfterWriteHazard function.

-field pfnSetBlendState

A pointer to the driver's SetBlendState function.

-field pfnSetDepthStencilState

A pointer to the driver's SetDepthStencilState function.

-field pfnSetRasterizerState

A pointer to the driver's SetRasterizerState function.

-field pfnQueryEnd

A pointer to the driver's QueryEnd function.

-field pfnQueryBegin

A pointer to the driver's QueryBegin function.

-field pfnResourceCopyRegion

A pointer to the driver's ResourceCopyRegion(D3D11_1) function.

-field pfnResourceUpdateSubresourceUP

A pointer to the driver's ResourceUpdateSubresourceUP(D3D11_1) function.

-field pfnSoSetTargets

A pointer to the driver's SoSetTargets function.

-field pfnDrawAuto

A pointer to the driver's DrawAuto function.

-field pfnSetViewports

A pointer to the driver's SetViewports function.

-field pfnSetScissorRects

A pointer to the driver's SetScissorRects function.

-field pfnClearRenderTargetView

A pointer to the driver's ClearRenderTargetView function.

-field pfnClearDepthStencilView

A pointer to the driver's ClearDepthStencilView function.

-field pfnSetPredication

A pointer to the driver's SetPredication function.

-field pfnQueryGetData

A pointer to the driver's QueryGetData function.

-field pfnFlush

A pointer to the driver's Flush(D3D11_1) function.

-field pfnGenMips

A pointer to the driver's GenMips function.

-field pfnResourceCopy

A pointer to the driver's ResourceCopy function.

-field pfnResourceResolveSubresource

A pointer to the driver's ResourceResolveSubresource function.

-field pfnResourceMap

A pointer to the driver's ResourceMap function.

-field pfnResourceUnmap

A pointer to the driver's ResourceUnmap function.

-field pfnResourceIsStagingBusy

A pointer to the driver's ResourceIsStagingBusy function.

-field pfnRelocateDeviceFuncs

A pointer to the driver's RelocateDeviceFuncs(D3D11_1) function.

-field pfnCalcPrivateResourceSize

A pointer to the driver's CalcPrivateResourceSize(D3D11) function.

-field pfnCalcPrivateOpenedResourceSize

A pointer to the driver's CalcPrivateOpenedResourceSize function.

-field pfnCreateResource

A pointer to the driver's CreateResource(D3D11) function.

-field pfnOpenResource

A pointer to the driver's OpenResource(D3D10) function.

-field pfnDestroyResource

A pointer to the driver's DestroyResource(D3D10) function.

-field pfnCalcPrivateShaderResourceViewSize

A pointer to the driver's CalcPrivateShaderResourceViewSize(D3D11) function.

-field pfnCreateShaderResourceView

A pointer to the driver's CreateShaderResourceView(D3D11) function.

-field pfnDestroyShaderResourceView

A pointer to the driver's DestroyShaderResourceView function.

-field pfnCalcPrivateRenderTargetViewSize

A pointer to the driver's CalcPrivateRenderTargetViewSize function.

-field pfnCreateRenderTargetView

A pointer to the driver's CreateRenderTargetView function.

-field pfnDestroyRenderTargetView

A pointer to the driver's DestroyRenderTargetView function.

-field pfnCalcPrivateDepthStencilViewSize

A pointer to the driver's CalcPrivateDepthStencilViewSize(D3D11) function.

-field pfnCreateDepthStencilView

A pointer to the driver's CreateDepthStencilView(D3D11) function.

-field pfnDestroyDepthStencilView

A pointer to the driver's DestroyDepthStencilView function.

-field pfnCalcPrivateElementLayoutSize

A pointer to the driver's CalcPrivateElementLayoutSize function.

-field pfnCreateElementLayout

A pointer to the driver's CreateElementLayout function.

-field pfnDestroyElementLayout

A pointer to the driver's DestroyElementLayout function.

-field pfnCalcPrivateBlendStateSize

A pointer to the driver's CalcPrivateBlendStateSize(D3D11_1) function.

-field pfnCreateBlendState

A pointer to the driver's CreateBlendState(D3D11_1) function.

-field pfnDestroyBlendState

A pointer to the driver's DestroyBlendState function.

-field pfnCalcPrivateDepthStencilStateSize

A pointer to the driver's CalcPrivateDepthStencilStateSize function.

-field pfnCreateDepthStencilState

A pointer to the driver's CreateDepthStencilState function.

-field pfnDestroyDepthStencilState

A pointer to the driver's DestroyDepthStencilState function.

-field pfnCalcPrivateRasterizerStateSize

A pointer to the driver's CalcPrivateRasterizerStateSize(D3D11_1) function.

-field pfnCreateRasterizerState

A pointer to the driver's CreateRasterizerState(D3D11_1) function.

-field pfnDestroyRasterizerState

A pointer to the driver's DestroyRasterizerState function.

-field pfnCalcPrivateShaderSize

A pointer to the driver's CalcPrivateShaderSize(D3D11_1) function.

-field pfnCreateVertexShader

A pointer to the driver's CreateVertexShader(D3D11_1) function.

-field pfnCreateGeometryShader

A pointer to the driver's CreateGeometryShader(D3D11_1) function.

-field pfnCreatePixelShader

A pointer to the driver's CreatePixelShader(D3D11_1) function.

-field pfnCalcPrivateGeometryShaderWithStreamOutput

A pointer to the driver's CalcPrivateGeometryShaderWithStreamOutput(D3D11_1) function.

-field pfnCreateGeometryShaderWithStreamOutput

A pointer to the driver's CreateGeometryShaderWithStreamOutput(D3D11_1) function.

-field pfnDestroyShader

A pointer to the driver's DestroyShader function.

-field pfnCalcPrivateSamplerSize

A pointer to the driver's CalcPrivateSamplerSize function.

-field pfnCreateSampler

A pointer to the driver's CreateSampler function.

-field pfnDestroySampler

A pointer to the driver's DestroySampler function.

-field pfnCalcPrivateQuerySize

A pointer to the driver's CalcPrivateQuerySize function.

-field pfnCreateQuery

A pointer to the driver's CreateQuery(D3D10) function.

-field pfnDestroyQuery

A pointer to the driver's DestroyQuery(D3D10) function.

-field pfnCheckFormatSupport

A pointer to the driver's CheckFormatSupport function.

-field pfnCheckMultisampleQualityLevels

A pointer to the driver's CheckMultisampleQualityLevels function.

-field pfnCheckCounterInfo

A pointer to the driver's CheckCounterInfo function.

-field pfnCheckCounter

A pointer to the driver's CheckCounter function.

-field pfnDestroyDevice

A pointer to the driver's DestroyDevice(D3D10) function.

-field pfnSetTextFilterSize

A pointer to the driver's SetTextFilterSize function.

-field pfnResourceConvert

A pointer to the driver's ResourceCopy function. For more information about whether to implement a separate ResourceConvert function or to point to the multipurpose ResourceCopy, see the Remarks section of ResourceCopy.

-field pfnResourceConvertRegion

A pointer to the driver's ResourceCopyRegion(D3D11_1) function. For more information about whether to implement a separate ResourceConvertRegion(D3D11_1) function or to point to the multipurpose ResourceCopyRegion(D3D11_1), see the Remarks section of ResourceCopyRegion(D3D11_1).

-field pfnResetPrimitiveID

-field pfnSetVertexPipelineOutput

-field pfnDrawIndexedInstancedIndirect

A pointer to the driver's DrawIndexedInstancedIndirect function.

-field pfnDrawInstancedIndirect

A pointer to the driver's DrawInstancedIndirect function.

-field pfnCommandListExecute

A pointer to the driver's CommandListExecute function. The driver is only required to implement CommandListExecute if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability.

-field pfnHsSetShaderResources

A pointer to the driver's HsSetShaderResources function.

-field pfnHsSetShader

A pointer to the driver's HsSetShader function.

-field pfnHsSetSamplers

A pointer to the driver's HsSetSamplers function.

-field pfnHsSetConstantBuffers

A pointer to the driver's HsSetConstantBuffers(D3D11_1) function.

-field pfnDsSetShaderResources

A pointer to the driver's DsSetShaderResources function.

-field pfnDsSetShader

A pointer to the driver's DsSetShader function.

-field pfnDsSetSamplers

A pointer to the driver's DsSetSamplers function.

-field pfnDsSetConstantBuffers

A pointer to the driver's DsSetConstantBuffers(D3D11_1) function.

-field pfnCreateHullShader

A pointer to the driver's CreateHullShader(D3D11_1) function.

-field pfnCreateDomainShader

A pointer to the driver's CreateDomainShader(D3D11_1) function.

-field pfnCheckDeferredContextHandleSizes

A pointer to the driver's CheckDeferredContextHandleSizes function. The driver is only required to implement CheckDeferredContextHandleSizes if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability.

-field pfnCalcDeferredContextHandleSize

A pointer to the driver's CalcDeferredContextHandleSize function. The driver is only required to implement CalcDeferredContextHandleSize if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability.

-field pfnCalcPrivateDeferredContextSize

A pointer to the driver's CalcPrivateDeferredContextSize function. The driver is only required to implement CalcPrivateDeferredContextSize if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability.

-field pfnCreateDeferredContext

A pointer to the driver's CreateDeferredContext function. The driver is only required to implement CreateDeferredContext if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability.

-field pfnAbandonCommandList

A pointer to the driver's AbandonCommandList function. The driver is only required to implement AbandonCommandList if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability.

-field pfnCalcPrivateCommandListSize

A pointer to the driver's CalcPrivateCommandListSize function. The driver is only required to implement CalcPrivateCommandListSize if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability.

-field pfnCreateCommandList

A pointer to the driver's CreateCommandList function. The driver is only required to implement CreateCommandList if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability.

-field pfnDestroyCommandList

A pointer to the driver's DestroyCommandList function. The driver is only required to implement DestroyCommandList if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability.

-field pfnCalcPrivateTessellationShaderSize

A pointer to the driver's CalcPrivateTessellationShaderSize(D3D11_1) function.

-field pfnPsSetShaderWithIfaces

A pointer to the driver's PsSetShaderWithIfaces function.

-field pfnVsSetShaderWithIfaces

A pointer to the driver's VsSetShaderWithIfaces function.

-field pfnGsSetShaderWithIfaces

A pointer to the driver's GsSetShaderWithIfaces function.

-field pfnHsSetShaderWithIfaces

A pointer to the driver's HsSetShaderWithIfaces function.

-field pfnDsSetShaderWithIfaces

A pointer to the driver's DsSetShaderWithIfaces function.

-field pfnCsSetShaderWithIfaces

A pointer to the driver's CsSetShaderWithIfaces function.

-field pfnCreateComputeShader

A pointer to the driver's CreateComputeShader function.

-field pfnCsSetShader

A pointer to the driver's CsSetShader function.

-field pfnCsSetShaderResources

A pointer to the driver's CsSetShaderResources function.

-field pfnCsSetSamplers

A pointer to the driver's CsSetSamplers function.

-field pfnCsSetConstantBuffers

A pointer to the driver's CsSetConstantBuffers(D3D11_1) function.

-field pfnCalcPrivateUnorderedAccessViewSize

A pointer to the driver's CalcPrivateUnorderedAccessViewSize function.

-field pfnCreateUnorderedAccessView

A pointer to the driver's CreateUnorderedAccessView function.

-field pfnDestroyUnorderedAccessView

A pointer to the driver's DestroyUnorderedAccessView function.

-field pfnClearUnorderedAccessViewUint

A pointer to the driver's ClearUnorderedAccessViewUINT function.

-field pfnClearUnorderedAccessViewFloat

A pointer to the driver's ClearUnorderedAccessViewFLOAT function.

-field pfnCsSetUnorderedAccessViews

A pointer to the driver's CsSetUnorderedAccessViews function.

-field pfnDispatch

A pointer to the driver's Dispatch function.

-field pfnDispatchIndirect

A pointer to the driver's DispatchIndirect function.

-field pfnSetResourceMinLOD

A pointer to the driver's SetResourceMinLOD function.

-field pfnCopyStructureCount

A pointer to the driver's CopyStructureCount function.

-field pfnRecycleCommandList

A pointer to the driver's RecycleCommandList function.

-field pfnRecycleCreateCommandList

A pointer to the driver's RecycleCreateCommandList function.

-field pfnRecycleCreateDeferredContext

A pointer to the driver's RecycleCreateDeferredContext function.

-field pfnRecycleDestroyCommandList

A pointer to the driver's RecycleDestroyCommandList function.

-field pfnDiscard

A pointer to the driver's Discard(D3D11_1) function.

-field pfnAssignDebugBinary

A pointer to the driver's AssignDebugBinary function.

-field pfnDynamicConstantBufferMapNoOverwrite

A pointer to the driver's ResourceMap function.

-field pfnCheckDirectFlipSupport

A pointer to the driver's CheckDirectFlipSupport(D3D11_1) function.

-field pfnClearView

A pointer to the driver's ClearView function.

-remarks

The order of user-mode display driver functions (that is, the order of the members of the D3D11_1DDI_DEVICEFUNCS structure) is in decreasing order of priority (in regard to performance).

The user-mode display driver can use different names for these functions because the address of the function table (this structure) is shared between the Direct3D 11.1 runtime and the driver through the call to the driver's CreateDevice(D3D10) function.

The pfnResetPrimitiveID and pfnSetVertexPipelineOutput members (not shown here) and their data types are reserved for system use and should not be used in your driver.

Deferred contexts

For a list of the functions that are not leveraged for deferred contexts, see Excluding DDI Functions for Deferred Contexts.

-see-also

CreateDevice(D3D10)

D3D10DDIARG_CREATEDEVICE

D3D11DDI_DEVICEFUNCS