共用方式為


D3D12DDI_COMMAND_LIST_FUNCS_3D_0051結構 (d3d12umddi.h)

3D 的命令清單函式。

語法

typedef struct D3D12DDI_COMMAND_LIST_FUNCS_3D_0051 {
  PFND3D12DDI_CLOSECOMMANDLIST                       pfnCloseCommandList;
  PFND3D12DDI_RESETCOMMANDLIST_0040                  pfnResetCommandList;
  PFND3D12DDI_DRAWINSTANCED                          pfnDrawInstanced;
  PFND3D12DDI_DRAWINDEXEDINSTANCED                   pfnDrawIndexedInstanced;
  PFND3D12DDI_DISPATCH                               pfnDispatch;
  PFND3D12DDI_CLEAR_UNORDERED_ACCESS_VIEW_UINT_0003  pfnClearUnorderedAccessViewUint;
  PFND3D12DDI_CLEAR_UNORDERED_ACCESS_VIEW_FLOAT_0003 pfnClearUnorderedAccessViewFloat;
  PFND3D12DDI_CLEAR_RENDER_TARGET_VIEW_0003          pfnClearRenderTargetView;
  PFND3D12DDI_CLEAR_DEPTH_STENCIL_VIEW_0003          pfnClearDepthStencilView;
  PFND3D12DDI_DISCARD_RESOURCE_0003                  pfnDiscardResource;
  PFND3D12DDI_COPYTEXTUREREGION_0003                 pfnCopyTextureRegion;
  PFND3D12DDI_RESOURCECOPY                           pfnResourceCopy;
  PFND3D12DDI_COPYTILES                              pfnCopyTiles;
  PFND3D12DDI_COPYBUFFERREGION_0003                  pfnCopyBufferRegion;
  PFND3D12DDI_RESOURCERESOLVESUBRESOURCE             pfnResourceResolveSubresource;
  PFND3D12DDI_EXECUTE_BUNDLE                         pfnExecuteBundle;
  PFND3D12DDI_EXECUTE_INDIRECT                       pfnExecuteIndirect;
  PFND3D12DDI_RESOURCEBARRIER_0022                   pfnResourceBarrier;
  PFND3D12DDI_BLT                                    pfnBlt;
  PFND3D12DDI_PRESENT_0051                           pfnPresent;
  PFND3D12DDI_BEGIN_END_QUERY_0003                   pfnBeginQuery;
  PFND3D12DDI_BEGIN_END_QUERY_0003                   pfnEndQuery;
  PFND3D12DDI_RESOLVE_QUERY_DATA                     pfnResolveQueryData;
  PFND3D12DDI_SET_PREDICATION                        pfnSetPredication;
  PFND3D12DDI_IA_SETTOPOLOGY_0003                    pfnIaSetTopology;
  PFND3D12DDI_RS_SETVIEWPORTS_0003                   pfnRsSetViewports;
  PFND3D12DDI_RS_SETSCISSORRECTS_0003                pfnRsSetScissorRects;
  PFND3D12DDI_OM_SETBLENDFACTOR                      pfnOmSetBlendFactor;
  PFND3D12DDI_OM_SETSTENCILREF                       pfnOmSetStencilRef;
  PFND3D12DDI_SET_PIPELINE_STATE                     pfnSetPipelineState;
  PFND3D12DDI_SET_DESCRIPTOR_HEAPS_0003              pfnSetDescriptorHeaps;
  PFND3D12DDI_SET_ROOT_SIGNATURE                     pfnSetComputeRootSignature;
  PFND3D12DDI_SET_ROOT_SIGNATURE                     pfnSetGraphicsRootSignature;
  PFND3D12DDI_SET_ROOT_DESCRIPTOR_TABLE              pfnSetComputeRootDescriptorTable;
  PFND3D12DDI_SET_ROOT_DESCRIPTOR_TABLE              pfnSetGraphicsRootDescriptorTable;
  PFND3D12DDI_SET_ROOT_32BIT_CONSTANT                pfnSetComputeRoot32BitConstant;
  PFND3D12DDI_SET_ROOT_32BIT_CONSTANT                pfnSetGraphicsRoot32BitConstant;
  PFND3D12DDI_SET_ROOT_32BIT_CONSTANTS_0003          pfnSetComputeRoot32BitConstants;
  PFND3D12DDI_SET_ROOT_32BIT_CONSTANTS_0003          pfnSetGraphicsRoot32BitConstants;
  PFND3D12DDI_SET_ROOT_BUFFER_VIEW                   pfnSetComputeRootConstantBufferView;
  PFND3D12DDI_SET_ROOT_BUFFER_VIEW                   pfnSetGraphicsRootConstantBufferView;
  PFND3D12DDI_SET_ROOT_BUFFER_VIEW                   pfnSetComputeRootShaderResourceView;
  PFND3D12DDI_SET_ROOT_BUFFER_VIEW                   pfnSetGraphicsRootShaderResourceView;
  PFND3D12DDI_SET_ROOT_BUFFER_VIEW                   pfnSetComputeRootUnorderedAccessView;
  PFND3D12DDI_SET_ROOT_BUFFER_VIEW                   pfnSetGraphicsRootUnorderedAccessView;
  PFND3D12DDI_IA_SET_INDEX_BUFFER                    pfnIASetIndexBuffer;
  PFND3D12DDI_IA_SET_VERTEX_BUFFERS_0003             pfnIASetVertexBuffers;
  PFND3D12DDI_SO_SET_TARGETS_0003                    pfnSOSetTargets;
  PFND3D12DDI_OM_SET_RENDER_TARGETS_0003             pfnOMSetRenderTargets;
  PFND3D12DDI_SET_MARKER                             pfnSetMarker;
  PFND3D12DDI_CLEAR_ROOT_ARGUMENTS                   pfnClearRootArguments;
  PFND3D12DDI_COPYBUFFERREGION_0003                  pfnAtomicCopyBufferRegion;
  PFND3D12DDI_OM_SETDEPTHBOUNDS_0025                 pfnOMSetDepthBounds;
  PFND3D12DDI_SETSAMPLEPOSITIONS_0027                pfnSetSamplePositions;
  PFND3D12DDI_RESOURCERESOLVESUBRESOURCEREGION_0027  pfnResourceResolveSubresourceRegion;
  PFND3D12DDI_SETPROTECTEDRESOURCESESSION_0030       pfnSetProtectedResourceSession;
  PFND3D12DDI_WRITEBUFFERIMMEDIATE_0032              pfnWriteBufferImmediate;
  PFND3D12DDI_SETVIEWINSTANCEMASK_0033               pfnSetViewInstanceMask;
} D3D12DDI_COMMAND_LIST_FUNCS_3D_0051;

成員

pfnCloseCommandList

關閉命令清單。

pfnResetCommandList

重設命令清單。

pfnDrawInstanced

繪製實例。

pfnDrawIndexedInstanced

繪製已編製索引的實例。

pfnDispatch

調度。

pfnClearUnorderedAccessViewUint

清除 UINT 值的未排序存取檢視。

pfnClearUnorderedAccessViewFloat

清除 FLOAT 值的未排序存取檢視。

pfnClearRenderTargetView

清除轉譯目標檢視。

pfnClearDepthStencilView

清除深度樣板檢視。

pfnDiscardResource

捨棄資源。

pfnCopyTextureRegion

複製紋理區域。

pfnResourceCopy

資源複本。

pfnCopyTiles

複製磚。

pfnCopyBufferRegion

複製緩衝區區域。

pfnResourceResolveSubresource

資源解析子資源。

pfnExecuteBundle

執行套件組合。

pfnExecuteIndirect

執行間接。

pfnResourceBarrier

資源屏障。

pfnBlt

Blt。

pfnPresent

目前。

pfnBeginQuery

開始查詢。

pfnEndQuery

結束查詢。

pfnResolveQueryData

解析查詢數據。

pfnSetPredication

設定預先部署。

pfnIaSetTopology

設定拓撲。

pfnRsSetViewports

設定檢視埠。

pfnRsSetScissorRects

設定剪刀矩形。

pfnOmSetBlendFactor

設定混合因數。

pfnOmSetStencilRef

設定樣板參考。

pfnSetPipelineState

設定管線狀態。

pfnSetDescriptorHeaps

設定描述項堆積。

pfnSetComputeRootSignature

設定計算根簽章。

pfnSetGraphicsRootSignature

設定圖形根簽章。

pfnSetComputeRootDescriptorTable

設定計算根描述元數據表。

pfnSetGraphicsRootDescriptorTable

設定圖形根描述元數據表。

pfnSetComputeRoot32BitConstant

設定計算根 32 位常數。

pfnSetGraphicsRoot32BitConstant

設定圖形根 32 位常數。

pfnSetComputeRoot32BitConstants

設定計算根 32 位常數。

pfnSetGraphicsRoot32BitConstants

設定圖形根 32 位常數。

pfnSetComputeRootConstantBufferView

設定計算根常數緩衝區檢視。

pfnSetGraphicsRootConstantBufferView

設定圖形根常數緩衝區檢視。

pfnSetComputeRootShaderResourceView

設定計算根著色器資源檢視。

pfnSetGraphicsRootShaderResourceView

設定圖形根著色器資源檢視。

pfnSetComputeRootUnorderedAccessView

設定計算根未排序存取檢視。

pfnSetGraphicsRootUnorderedAccessView

設定圖形根目錄未排序的存取檢視。

pfnIASetIndexBuffer

設定索引緩衝區。

pfnIASetVertexBuffers

設定頂點緩衝區。

pfnSOSetTargets

設定目標。

pfnOMSetRenderTargets

設定轉譯目標。

pfnSetMarker

設定標記。

pfnClearRootArguments

清除根自變數。

pfnAtomicCopyBufferRegion

不可部分完成的複製緩衝區區域。

pfnOMSetDepthBounds

設定深度界限。

pfnSetSamplePositions

設定範例位置。

pfnResourceResolveSubresourceRegion

資源解析子資源區域。

pfnSetProtectedResourceSession

設定受保護的資源會話。

pfnWriteBufferImmediate

立即寫入緩衝區。

pfnSetViewInstanceMask

設定檢視實例遮罩。

規格需求

需求
最低支援的用戶端 Windows 10 版本 1809
標頭 d3d12umddi.h