D3DWDDM2_2DDI_DEVICEFUNCS 結構 (d3d10umddi.h)
指定在著色器快取上運作的回呼函式。
語法
typedef struct D3DWDDM2_2DDI_DEVICEFUNCS {
PFND3D11_1DDI_RESOURCEUPDATESUBRESOURCEUP pfnDefaultConstantBufferUpdateSubresourceUP;
PFND3D11_1DDI_SETCONSTANTBUFFERS pfnVsSetConstantBuffers;
PFND3D10DDI_SETSHADERRESOURCES pfnPsSetShaderResources;
PFND3D10DDI_SETSHADER pfnPsSetShader;
PFND3D10DDI_SETSAMPLERS pfnPsSetSamplers;
PFND3D10DDI_SETSHADER pfnVsSetShader;
PFND3D10DDI_DRAWINDEXED pfnDrawIndexed;
PFND3D10DDI_DRAW pfnDraw;
PFND3D10DDI_RESOURCEMAP pfnDynamicIABufferMapNoOverwrite;
PFND3D10DDI_RESOURCEUNMAP pfnDynamicIABufferUnmap;
PFND3D10DDI_RESOURCEMAP pfnDynamicConstantBufferMapDiscard;
PFND3D10DDI_RESOURCEMAP pfnDynamicIABufferMapDiscard;
PFND3D10DDI_RESOURCEUNMAP pfnDynamicConstantBufferUnmap;
PFND3D11_1DDI_SETCONSTANTBUFFERS pfnPsSetConstantBuffers;
PFND3D10DDI_SETINPUTLAYOUT pfnIaSetInputLayout;
PFND3D10DDI_IA_SETVERTEXBUFFERS pfnIaSetVertexBuffers;
PFND3D10DDI_IA_SETINDEXBUFFER pfnIaSetIndexBuffer;
PFND3D10DDI_DRAWINDEXEDINSTANCED pfnDrawIndexedInstanced;
PFND3D10DDI_DRAWINSTANCED pfnDrawInstanced;
PFND3D10DDI_RESOURCEMAP pfnDynamicResourceMapDiscard;
PFND3D10DDI_RESOURCEUNMAP pfnDynamicResourceUnmap;
PFND3D11_1DDI_SETCONSTANTBUFFERS pfnGsSetConstantBuffers;
PFND3D10DDI_SETSHADER pfnGsSetShader;
PFND3D10DDI_IA_SETTOPOLOGY pfnIaSetTopology;
PFND3D10DDI_RESOURCEMAP pfnStagingResourceMap;
PFND3D10DDI_RESOURCEUNMAP pfnStagingResourceUnmap;
PFND3D10DDI_SETSHADERRESOURCES pfnVsSetShaderResources;
PFND3D10DDI_SETSAMPLERS pfnVsSetSamplers;
PFND3D10DDI_SETSHADERRESOURCES pfnGsSetShaderResources;
PFND3D10DDI_SETSAMPLERS pfnGsSetSamplers;
PFND3D11DDI_SETRENDERTARGETS pfnSetRenderTargets;
PFND3D10DDI_SHADERRESOURCEVIEWREADAFTERWRITEHAZARD pfnShaderResourceViewReadAfterWriteHazard;
PFND3D10DDI_RESOURCEREADAFTERWRITEHAZARD pfnResourceReadAfterWriteHazard;
PFND3D10DDI_SETBLENDSTATE pfnSetBlendState;
PFND3D10DDI_SETDEPTHSTENCILSTATE pfnSetDepthStencilState;
PFND3D10DDI_SETRASTERIZERSTATE pfnSetRasterizerState;
PFND3D10DDI_QUERYEND pfnQueryEnd;
PFND3D10DDI_QUERYBEGIN pfnQueryBegin;
PFND3D11_1DDI_RESOURCECOPYREGION pfnResourceCopyRegion;
PFND3D11_1DDI_RESOURCEUPDATESUBRESOURCEUP pfnResourceUpdateSubresourceUP;
PFND3D10DDI_SO_SETTARGETS pfnSoSetTargets;
PFND3D10DDI_DRAWAUTO pfnDrawAuto;
PFND3D10DDI_SETVIEWPORTS pfnSetViewports;
PFND3D10DDI_SETSCISSORRECTS pfnSetScissorRects;
PFND3D10DDI_CLEARRENDERTARGETVIEW pfnClearRenderTargetView;
PFND3D10DDI_CLEARDEPTHSTENCILVIEW pfnClearDepthStencilView;
PFND3D10DDI_SETPREDICATION pfnSetPredication;
PFND3D10DDI_QUERYGETDATA pfnQueryGetData;
PFND3DWDDM2_0DDI_FLUSH pfnFlush;
PFND3D10DDI_GENMIPS pfnGenMips;
PFND3D10DDI_RESOURCECOPY pfnResourceCopy;
PFND3D10DDI_RESOURCERESOLVESUBRESOURCE pfnResourceResolveSubresource;
PFND3D10DDI_RESOURCEMAP pfnResourceMap;
PFND3D10DDI_RESOURCEUNMAP pfnResourceUnmap;
PFND3D10DDI_RESOURCEISSTAGINGBUSY pfnResourceIsStagingBusy;
PFND3DWDDM2_2DDI_RELOCATEDEVICEFUNCS pfnRelocateDeviceFuncs;
PFND3D11DDI_CALCPRIVATERESOURCESIZE pfnCalcPrivateResourceSize;
PFND3D10DDI_CALCPRIVATEOPENEDRESOURCESIZE pfnCalcPrivateOpenedResourceSize;
PFND3D11DDI_CREATERESOURCE pfnCreateResource;
PFND3D10DDI_OPENRESOURCE pfnOpenResource;
PFND3D10DDI_DESTROYRESOURCE pfnDestroyResource;
PFND3DWDDM2_0DDI_CALCPRIVATESHADERRESOURCEVIEWSIZE pfnCalcPrivateShaderResourceViewSize;
PFND3DWDDM2_0DDI_CREATESHADERRESOURCEVIEW pfnCreateShaderResourceView;
PFND3D10DDI_DESTROYSHADERRESOURCEVIEW pfnDestroyShaderResourceView;
PFND3DWDDM2_0DDI_CALCPRIVATERENDERTARGETVIEWSIZE pfnCalcPrivateRenderTargetViewSize;
PFND3DWDDM2_0DDI_CREATERENDERTARGETVIEW pfnCreateRenderTargetView;
PFND3D10DDI_DESTROYRENDERTARGETVIEW pfnDestroyRenderTargetView;
PFND3D11DDI_CALCPRIVATEDEPTHSTENCILVIEWSIZE pfnCalcPrivateDepthStencilViewSize;
PFND3D11DDI_CREATEDEPTHSTENCILVIEW pfnCreateDepthStencilView;
PFND3D10DDI_DESTROYDEPTHSTENCILVIEW pfnDestroyDepthStencilView;
PFND3D10DDI_CALCPRIVATEELEMENTLAYOUTSIZE pfnCalcPrivateElementLayoutSize;
PFND3D10DDI_CREATEELEMENTLAYOUT pfnCreateElementLayout;
PFND3D10DDI_DESTROYELEMENTLAYOUT pfnDestroyElementLayout;
PFND3D11_1DDI_CALCPRIVATEBLENDSTATESIZE pfnCalcPrivateBlendStateSize;
PFND3D11_1DDI_CREATEBLENDSTATE pfnCreateBlendState;
PFND3D10DDI_DESTROYBLENDSTATE pfnDestroyBlendState;
PFND3D10DDI_CALCPRIVATEDEPTHSTENCILSTATESIZE pfnCalcPrivateDepthStencilStateSize;
PFND3D10DDI_CREATEDEPTHSTENCILSTATE pfnCreateDepthStencilState;
PFND3D10DDI_DESTROYDEPTHSTENCILSTATE pfnDestroyDepthStencilState;
PFND3DWDDM2_0DDI_CALCPRIVATERASTERIZERSTATESIZE pfnCalcPrivateRasterizerStateSize;
PFND3DWDDM2_0DDI_CREATERASTERIZERSTATE pfnCreateRasterizerState;
PFND3D10DDI_DESTROYRASTERIZERSTATE pfnDestroyRasterizerState;
PFND3D11_1DDI_CALCPRIVATESHADERSIZE pfnCalcPrivateShaderSize;
PFND3D11_1DDI_CREATEVERTEXSHADER pfnCreateVertexShader;
PFND3D11_1DDI_CREATEGEOMETRYSHADER pfnCreateGeometryShader;
PFND3D11_1DDI_CREATEPIXELSHADER pfnCreatePixelShader;
PFND3D11_1DDI_CALCPRIVATEGEOMETRYSHADERWITHSTREAMOUTPUT pfnCalcPrivateGeometryShaderWithStreamOutput;
PFND3D11_1DDI_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT pfnCreateGeometryShaderWithStreamOutput;
PFND3D10DDI_DESTROYSHADER pfnDestroyShader;
PFND3D10DDI_CALCPRIVATESAMPLERSIZE pfnCalcPrivateSamplerSize;
PFND3D10DDI_CREATESAMPLER pfnCreateSampler;
PFND3D10DDI_DESTROYSAMPLER pfnDestroySampler;
PFND3DWDDM2_0DDI_CALCPRIVATEQUERYSIZE pfnCalcPrivateQuerySize;
PFND3DWDDM2_0DDI_CREATEQUERY pfnCreateQuery;
PFND3D10DDI_DESTROYQUERY pfnDestroyQuery;
PFND3D10DDI_CHECKFORMATSUPPORT pfnCheckFormatSupport;
PFND3DWDDM1_3DDI_CHECKMULTISAMPLEQUALITYLEVELS pfnCheckMultisampleQualityLevels;
PFND3D10DDI_CHECKCOUNTERINFO pfnCheckCounterInfo;
PFND3D10DDI_CHECKCOUNTER pfnCheckCounter;
PFND3D10DDI_DESTROYDEVICE pfnDestroyDevice;
PFND3D10DDI_SETTEXTFILTERSIZE pfnSetTextFilterSize;
PFND3D10DDI_RESOURCECOPY pfnResourceConvert;
PFND3D11_1DDI_RESOURCECOPYREGION pfnResourceConvertRegion;
PFND3D10DDI_RESETPRIMITIVEID pfnResetPrimitiveID;
PFND3D10DDI_SETVERTEXPIPELINEOUTPUT pfnSetVertexPipelineOutput;
PFND3D11DDI_DRAWINDEXEDINSTANCEDINDIRECT pfnDrawIndexedInstancedIndirect;
PFND3D11DDI_DRAWINSTANCEDINDIRECT pfnDrawInstancedIndirect;
PFND3D11DDI_COMMANDLISTEXECUTE pfnCommandListExecute;
PFND3D10DDI_SETSHADERRESOURCES pfnHsSetShaderResources;
PFND3D10DDI_SETSHADER pfnHsSetShader;
PFND3D10DDI_SETSAMPLERS pfnHsSetSamplers;
PFND3D11_1DDI_SETCONSTANTBUFFERS pfnHsSetConstantBuffers;
PFND3D10DDI_SETSHADERRESOURCES pfnDsSetShaderResources;
PFND3D10DDI_SETSHADER pfnDsSetShader;
PFND3D10DDI_SETSAMPLERS pfnDsSetSamplers;
PFND3D11_1DDI_SETCONSTANTBUFFERS pfnDsSetConstantBuffers;
PFND3D11_1DDI_CREATEHULLSHADER pfnCreateHullShader;
PFND3D11_1DDI_CREATEDOMAINSHADER pfnCreateDomainShader;
PFND3D11DDI_CHECKDEFERREDCONTEXTHANDLESIZES pfnCheckDeferredContextHandleSizes;
PFND3D11DDI_CALCDEFERREDCONTEXTHANDLESIZE pfnCalcDeferredContextHandleSize;
PFND3D11DDI_CALCPRIVATEDEFERREDCONTEXTSIZE pfnCalcPrivateDeferredContextSize;
PFND3D11DDI_CREATEDEFERREDCONTEXT pfnCreateDeferredContext;
PFND3D11DDI_ABANDONCOMMANDLIST pfnAbandonCommandList;
PFND3D11DDI_CALCPRIVATECOMMANDLISTSIZE pfnCalcPrivateCommandListSize;
PFND3D11DDI_CREATECOMMANDLIST pfnCreateCommandList;
PFND3D11DDI_DESTROYCOMMANDLIST pfnDestroyCommandList;
PFND3D11_1DDI_CALCPRIVATETESSELLATIONSHADERSIZE pfnCalcPrivateTessellationShaderSize;
PFND3D11DDI_SETSHADER_WITH_IFACES pfnPsSetShaderWithIfaces;
PFND3D11DDI_SETSHADER_WITH_IFACES pfnVsSetShaderWithIfaces;
PFND3D11DDI_SETSHADER_WITH_IFACES pfnGsSetShaderWithIfaces;
PFND3D11DDI_SETSHADER_WITH_IFACES pfnHsSetShaderWithIfaces;
PFND3D11DDI_SETSHADER_WITH_IFACES pfnDsSetShaderWithIfaces;
PFND3D11DDI_SETSHADER_WITH_IFACES pfnCsSetShaderWithIfaces;
PFND3D11DDI_CREATECOMPUTESHADER pfnCreateComputeShader;
PFND3D10DDI_SETSHADER pfnCsSetShader;
PFND3D10DDI_SETSHADERRESOURCES pfnCsSetShaderResources;
PFND3D10DDI_SETSAMPLERS pfnCsSetSamplers;
PFND3D11_1DDI_SETCONSTANTBUFFERS pfnCsSetConstantBuffers;
PFND3DWDDM2_0DDI_CALCPRIVATEUNORDEREDACCESSVIEWSIZE pfnCalcPrivateUnorderedAccessViewSize;
PFND3DWDDM2_0DDI_CREATEUNORDEREDACCESSVIEW pfnCreateUnorderedAccessView;
PFND3D11DDI_DESTROYUNORDEREDACCESSVIEW pfnDestroyUnorderedAccessView;
PFND3D11DDI_CLEARUNORDEREDACCESSVIEWUINT pfnClearUnorderedAccessViewUint;
PFND3D11DDI_CLEARUNORDEREDACCESSVIEWFLOAT pfnClearUnorderedAccessViewFloat;
PFND3D11DDI_SETUNORDEREDACCESSVIEWS pfnCsSetUnorderedAccessViews;
PFND3D11DDI_DISPATCH pfnDispatch;
PFND3D11DDI_DISPATCHINDIRECT pfnDispatchIndirect;
PFND3D11DDI_SETRESOURCEMINLOD pfnSetResourceMinLOD;
PFND3D11DDI_COPYSTRUCTURECOUNT pfnCopyStructureCount;
PFND3D11DDI_RECYCLECOMMANDLIST pfnRecycleCommandList;
PFND3D11DDI_RECYCLECREATECOMMANDLIST pfnRecycleCreateCommandList;
PFND3D11DDI_RECYCLECREATEDEFERREDCONTEXT pfnRecycleCreateDeferredContext;
PFND3D11DDI_DESTROYCOMMANDLIST pfnRecycleDestroyCommandList;
PFND3D11_1DDI_DISCARD pfnDiscard;
PFND3D11_1DDI_ASSIGNDEBUGBINARY pfnAssignDebugBinary;
PFND3D10DDI_RESOURCEMAP pfnDynamicConstantBufferMapNoOverwrite;
PFND3D11_1DDI_CHECKDIRECTFLIPSUPPORT pfnCheckDirectFlipSupport;
PFND3D11_1DDI_CLEARVIEW pfnClearView;
PFND3DWDDM1_3DDI_UPDATETILEMAPPINGS pfnUpdateTileMappings;
PFND3DWDDM1_3DDI_COPYTILEMAPPINGS pfnCopyTileMappings;
PFND3DWDDM1_3DDI_COPYTILES pfnCopyTiles;
PFND3DWDDM1_3DDI_UPDATETILES pfnUpdateTiles;
PFND3DWDDM1_3DDI_TILEDRESOURCEBARRIER pfnTiledResourceBarrier;
PFND3DWDDM1_3DDI_GETMIPPACKING pfnGetMipPacking;
PFND3DWDDM1_3DDI_RESIZETILEPOOL pfnResizeTilePool;
PFND3DWDDM1_3DDI_SETMARKER pfnSetMarker;
PFND3DWDDM1_3DDI_SETMARKERMODE pfnSetMarkerMode;
PFND3DWDDM2_0DDI_SETHARDWAREPROTECTION pfnSetHardwareProtection;
PFND3DWDDM2_0DDI_GETRESOURCELAYOUT pfnGetResourceLayout;
PFND3DWDDM2_0DDI_RETRIEVE_SHADER_COMMENT pfnRetrieveShaderComment;
PFND3DWDDM2_0DDI_SETHARDWAREPROTECTIONSTATE pfnSetHardwareProtectionState;
PFND3DWDDM2_1DDI_SYNC_TOKEN pfnAcquireResource;
PFND3DWDDM2_1DDI_SYNC_TOKEN pfnReleaseResource;
PFND3DWDDM2_2DDI_CALCPRIVATE_SHADERCACHE_SESSION_SIZE pfnCalcPrivateShaderCacheSessionSize;
PFND3DWDDM2_2DDI_CREATE_SHADERCACHE_SESSION pfnCreateShaderCacheSession;
PFND3DWDDM2_2DDI_DESTROY_SHADERCACHE_SESSION pfnDestroyShaderCacheSession;
PFND3DWDDM2_2DDI_SET_SHADERCACHE_SESSION pfnSetShaderCacheSession;
} D3DWDDM2_2DDI_DEVICEFUNCS;
成員
pfnDefaultConstantBufferUpdateSubresourceUP
pfnVsSetConstantBuffers
pfnPsSetShaderResources
pfnPsSetShader
pfnPsSetSamplers
pfnVsSetShader
pfnDrawIndexed
pfnDraw
pfnDynamicIABufferMapNoOverwrite
pfnDynamicIABufferUnmap
pfnDynamicConstantBufferMapDiscard
pfnDynamicIABufferMapDiscard
pfnDynamicConstantBufferUnmap
pfnPsSetConstantBuffers
pfnIaSetInputLayout
pfnIaSetVertexBuffers
pfnIaSetIndexBuffer
pfnDrawIndexedInstanced
pfnDrawInstanced
pfnDynamicResourceMapDiscard
pfnDynamicResourceUnmap
pfnGsSetConstantBuffers
pfnGsSetShader
pfnIaSetTopology
pfnStagingResourceMap
pfnStagingResourceUnmap
pfnVsSetShaderResources
pfnVsSetSamplers
pfnGsSetShaderResources
pfnGsSetSamplers
pfnSetRenderTargets
pfnShaderResourceViewReadAfterWriteHazard
pfnResourceReadAfterWriteHazard
pfnSetBlendState
pfnSetDepthStencilState
pfnSetRasterizerState
pfnQueryEnd
pfnQueryBegin
pfnResourceCopyRegion
pfnResourceUpdateSubresourceUP
pfnSoSetTargets
pfnDrawAuto
pfnSetViewports
pfnSetScissorRects
pfnClearRenderTargetView
pfnClearDepthStencilView
pfnSetPredication
pfnQueryGetData
pfnFlush
pfnGenMips
pfnResourceCopy
pfnResourceResolveSubresource
pfnResourceMap
pfnResourceUnmap
pfnResourceIsStagingBusy
pfnRelocateDeviceFuncs
pfnCalcPrivateResourceSize
pfnCalcPrivateOpenedResourceSize
pfnCreateResource
pfnOpenResource
pfnDestroyResource
pfnCalcPrivateShaderResourceViewSize
pfnCreateShaderResourceView
pfnDestroyShaderResourceView
pfnCalcPrivateRenderTargetViewSize
pfnCreateRenderTargetView
pfnDestroyRenderTargetView
pfnCalcPrivateDepthStencilViewSize
pfnCreateDepthStencilView
pfnDestroyDepthStencilView
pfnCalcPrivateElementLayoutSize
pfnCreateElementLayout
pfnDestroyElementLayout
pfnCalcPrivateBlendStateSize
pfnCreateBlendState
pfnDestroyBlendState
pfnCalcPrivateDepthStencilStateSize
pfnCreateDepthStencilState
pfnDestroyDepthStencilState
pfnCalcPrivateRasterizerStateSize
pfnCreateRasterizerState
pfnDestroyRasterizerState
pfnCalcPrivateShaderSize
pfnCreateVertexShader
pfnCreateGeometryShader
pfnCreatePixelShader
pfnCalcPrivateGeometryShaderWithStreamOutput
pfnCreateGeometryShaderWithStreamOutput
pfnDestroyShader
pfnCalcPrivateSamplerSize
pfnCreateSampler
pfnDestroySampler
pfnCalcPrivateQuerySize
pfnCreateQuery
pfnDestroyQuery
pfnCheckFormatSupport
pfnCheckMultisampleQualityLevels
pfnCheckCounterInfo
pfnCheckCounter
pfnDestroyDevice
pfnSetTextFilterSize
pfnResourceConvert
pfnResourceConvertRegion
pfnResetPrimitiveID
pfnSetVertexPipelineOutput
pfnDrawIndexedInstancedIndirect
pfnDrawInstancedIndirect
pfnCommandListExecute
pfnHsSetShaderResources
pfnHsSetShader
pfnHsSetSamplers
pfnHsSetConstantBuffers
pfnDsSetShaderResources
pfnDsSetShader
pfnDsSetSamplers
pfnDsSetConstantBuffers
pfnCreateHullShader
pfnCreateDomainShader
pfnCheckDeferredContextHandleSizes
pfnCalcDeferredContextHandleSize
pfnCalcPrivateDeferredContextSize
pfnCreateDeferredContext
pfnAbandonCommandList
pfnCalcPrivateCommandListSize
pfnCreateCommandList
pfnDestroyCommandList
pfnCalcPrivateTessellationShaderSize
pfnPsSetShaderWithIfaces
pfnVsSetShaderWithIfaces
pfnGsSetShaderWithIfaces
pfnHsSetShaderWithIfaces
pfnDsSetShaderWithIfaces
pfnCsSetShaderWithIfaces
pfnCreateComputeShader
pfnCsSetShader
pfnCsSetShaderResources
pfnCsSetSamplers
pfnCsSetConstantBuffers
pfnCalcPrivateUnorderedAccessViewSize
pfnCreateUnorderedAccessView
pfnDestroyUnorderedAccessView
pfnClearUnorderedAccessViewUint
pfnClearUnorderedAccessViewFloat
pfnCsSetUnorderedAccessViews
pfnDispatch
pfnDispatchIndirect
pfnSetResourceMinLOD
pfnCopyStructureCount
pfnRecycleCommandList
pfnRecycleCreateCommandList
pfnRecycleCreateDeferredContext
pfnRecycleDestroyCommandList
pfnDiscard
pfnAssignDebugBinary
pfnDynamicConstantBufferMapNoOverwrite
pfnCheckDirectFlipSupport
pfnClearView
pfnUpdateTileMappings
pfnCopyTileMappings
pfnCopyTiles
pfnUpdateTiles
pfnTiledResourceBarrier
pfnGetMipPacking
pfnResizeTilePool
pfnSetMarker
pfnSetMarkerMode
pfnSetHardwareProtection
pfnGetResourceLayout
pfnRetrieveShaderComment
pfnSetHardwareProtectionState
pfnAcquireResource
pfnReleaseResource
pfnCalcPrivateShaderCacheSessionSize
傳回私人著色器快取會話大小的回呼函式。
pfnCreateShaderCacheSession
建立著色器快取會話的回呼函式。
pfnDestroyShaderCacheSession
終結著色器快取會話的回呼函式。
pfnSetShaderCacheSession
設定著色器快取會話的回呼函式。
規格需求
需求 | 值 |
---|---|
標頭 | d3d10umddi.h |