Bagikan melalui


struktur D3D12DDI_DEVICE_FUNCS_CORE_0052 (d3d12umddi.h)

Fungsi perangkat inti.

Sintaks

typedef struct D3D12DDI_DEVICE_FUNCS_CORE_0052 {
  PFND3D12DDI_CHECKFORMATSUPPORT                                   pfnCheckFormatSupport;
  PFND3D12DDI_CHECKMULTISAMPLEQUALITYLEVELS                        pfnCheckMultisampleQualityLevels;
  PFND3D12DDI_GETMIPPACKING                                        pfnGetMipPacking;
  PFND3D12DDI_CALCPRIVATEELEMENTLAYOUTSIZE_0010                    pfnCalcPrivateElementLayoutSize;
  PFND3D12DDI_CREATEELEMENTLAYOUT_0010                             pfnCreateElementLayout;
  PFND3D12DDI_DESTROYELEMENTLAYOUT                                 pfnDestroyElementLayout;
  PFND3D12DDI_CALCPRIVATEBLENDSTATESIZE_0010                       pfnCalcPrivateBlendStateSize;
  PFND3D12DDI_CREATEBLENDSTATE_0010                                pfnCreateBlendState;
  PFND3D12DDI_DESTROYBLENDSTATE                                    pfnDestroyBlendState;
  PFND3D12DDI_CALCPRIVATEDEPTHSTENCILSTATESIZE_0025                pfnCalcPrivateDepthStencilStateSize;
  PFND3D12DDI_CREATEDEPTHSTENCILSTATE_0025                         pfnCreateDepthStencilState;
  PFND3D12DDI_DESTROYDEPTHSTENCILSTATE                             pfnDestroyDepthStencilState;
  PFND3D12DDI_CALCPRIVATERASTERIZERSTATESIZE_0010                  pfnCalcPrivateRasterizerStateSize;
  PFND3D12DDI_CREATERASTERIZERSTATE_0010                           pfnCreateRasterizerState;
  PFND3D12DDI_DESTROYRASTERIZERSTATE                               pfnDestroyRasterizerState;
  PFND3D12DDI_CALC_PRIVATE_SHADER_SIZE_0026                        pfnCalcPrivateShaderSize;
  PFND3D12DDI_CREATE_SHADER_0026                                   pfnCreateVertexShader;
  PFND3D12DDI_CREATE_SHADER_0026                                   pfnCreatePixelShader;
  PFND3D12DDI_CREATE_SHADER_0026                                   pfnCreateGeometryShader;
  PFND3D12DDI_CREATE_SHADER_0026                                   pfnCreateComputeShader;
  PFND3D12DDI_CALC_PRIVATE_GEOMETRY_SHADER_WITH_STREAM_OUTPUT_0026 pfnCalcPrivateGeometryShaderWithStreamOutput;
  PFND3D12DDI_CREATE_GEOMETRY_SHADER_WITH_STREAM_OUTPUT_0026       pfnCreateGeometryShaderWithStreamOutput;
  PFND3D12DDI_CALC_PRIVATE_SHADER_SIZE_0026                        pfnCalcPrivateTessellationShaderSize;
  PFND3D12DDI_CREATE_SHADER_0026                                   pfnCreateHullShader;
  PFND3D12DDI_CREATE_SHADER_0026                                   pfnCreateDomainShader;
  PFND3D12DDI_DESTROYSHADER                                        pfnDestroyShader;
  PFND3D12DDI_CALCPRIVATECOMMANDQUEUESIZE_0050                     pfnCalcPrivateCommandQueueSize;
  PFND3D12DDI_CREATECOMMANDQUEUE_0050                              pfnCreateCommandQueue;
  PFND3D12DDI_DESTROYCOMMANDQUEUE                                  pfnDestroyCommandQueue;
  PFND3D12DDI_CALC_PRIVATE_COMMAND_POOL_SIZE_0040                  pfnCalcPrivateCommandPoolSize;
  PFND3D12DDI_CREATE_COMMAND_POOL_0040                             pfnCreateCommandPool;
  PFND3D12DDI_DESTROY_COMMAND_POOL_0040                            pfnDestroyCommandPool;
  PFND3D12DDI_RESET_COMMAND_POOL_0040                              pfnResetCommandPool;
  PFND3D12DDI_CALC_PRIVATE_PIPELINE_STATE_SIZE_0033                pfnCalcPrivatePipelineStateSize;
  PFND3D12DDI_CREATE_PIPELINE_STATE_0033                           pfnCreatePipelineState;
  PFND3D12DDI_DESTROY_PIPELINE_STATE                               pfnDestroyPipelineState;
  PFND3D12DDI_CALC_PRIVATE_COMMAND_LIST_SIZE_0040                  pfnCalcPrivateCommandListSize;
  PFND3D12DDI_CREATE_COMMAND_LIST_0040                             pfnCreateCommandList;
  PFND3D12DDI_DESTROYCOMMANDLIST                                   pfnDestroyCommandList;
  PFND3D12DDI_CALCPRIVATEFENCESIZE                                 pfnCalcPrivateFenceSize;
  PFND3D12DDI_CREATEFENCE                                          pfnCreateFence;
  PFND3D12DDI_DESTROYFENCE                                         pfnDestroyFence;
  PFND3D12DDI_CALC_PRIVATE_DESCRIPTOR_HEAP_SIZE_0001               pfnCalcPrivateDescriptorHeapSize;
  PFND3D12DDI_CREATE_DESCRIPTOR_HEAP_0001                          pfnCreateDescriptorHeap;
  PFND3D12DDI_DESTROY_DESCRIPTOR_HEAP                              pfnDestroyDescriptorHeap;
  PFND3D12DDI_GET_DESCRIPTOR_SIZE_IN_BYTES                         pfnGetDescriptorSizeInBytes;
  PFND3D12DDI_GET_CPU_DESCRIPTOR_HANDLE_FOR_HEAP_START             pfnGetCPUDescriptorHandleForHeapStart;
  PFND3D12DDI_GET_GPU_DESCRIPTOR_HANDLE_FOR_HEAP_START             pfnGetGPUDescriptorHandleForHeapStart;
  PFND3D12DDI_CREATE_SHADER_RESOURCE_VIEW_0002                     pfnCreateShaderResourceView;
  PFND3D12DDI_CREATE_CONSTANT_BUFFER_VIEW                          pfnCreateConstantBufferView;
  PFND3D12DDI_CREATE_SAMPLER                                       pfnCreateSampler;
  PFND3D12DDI_CREATE_UNORDERED_ACCESS_VIEW_0002                    pfnCreateUnorderedAccessView;
  PFND3D12DDI_CREATE_RENDER_TARGET_VIEW_0002                       pfnCreateRenderTargetView;
  PFND3D12DDI_CREATE_DEPTH_STENCIL_VIEW                            pfnCreateDepthStencilView;
  PFND3D12DDI_CALC_PRIVATE_ROOT_SIGNATURE_SIZE_0013                pfnCalcPrivateRootSignatureSize;
  PFND3D12DDI_CREATE_ROOT_SIGNATURE_0013                           pfnCreateRootSignature;
  PFND3D12DDI_DESTROY_ROOT_SIGNATURE                               pfnDestroyRootSignature;
  PFND3D12DDI_MAPHEAP                                              pfnMapHeap;
  PFND3D12DDI_UNMAPHEAP                                            pfnUnmapHeap;
  PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0030                 pfnCalcPrivateHeapAndResourceSizes;
  PFND3D12DDI_CREATEHEAPANDRESOURCE_0030                           pfnCreateHeapAndResource;
  PFND3D12DDI_DESTROYHEAPANDRESOURCE                               pfnDestroyHeapAndResource;
  PFND3D12DDI_MAKERESIDENT_0001                                    pfnMakeResident;
  PFND3D12DDI_EVICT2                                               pfnEvict;
  PFND3D12DDI_CALCPRIVATEOPENEDHEAPANDRESOURCESIZES_0043           pfnCalcPrivateOpenedHeapAndResourceSizes;
  PFND3D12DDI_OPENHEAPANDRESOURCE_0043                             pfnOpenHeapAndResource;
  PFND3D12DDI_COPY_DESCRIPTORS_0003                                pfnCopyDescriptors;
  PFND3D12DDI_COPY_DESCRIPTORS_SIMPLE_0003                         pfnCopyDescriptorsSimple;
  PFND3D12DDI_CALC_PRIVATE_QUERY_HEAP_SIZE_0001                    pfnCalcPrivateQueryHeapSize;
  PFND3D12DDI_CREATE_QUERY_HEAP_0001                               pfnCreateQueryHeap;
  PFND3D12DDI_DESTROY_QUERY_HEAP                                   pfnDestroyQueryHeap;
  PFND3D12DDI_CALC_PRIVATE_COMMAND_SIGNATURE_SIZE_0001             pfnCalcPrivateCommandSignatureSize;
  PFND3D12DDI_CREATE_COMMAND_SIGNATURE_0001                        pfnCreateCommandSignature;
  PFND3D12DDI_DESTROY_COMMAND_SIGNATURE                            pfnDestroyCommandSignature;
  PFND3D12DDI_CHECKRESOURCEVIRTUALADDRESS                          pfnCheckResourceVirtualAddress;
  PFND3D12DDI_CHECKRESOURCEALLOCATIONINFO_0022                     pfnCheckResourceAllocationInfo;
  PFND3D12DDI_CHECKSUBRESOURCEINFO                                 pfnCheckSubresourceInfo;
  PFND3D12DDI_CHECKEXISITINGRESOURCEALLOCATIONINFO_0022            pfnCheckExistingResourceAllocationInfo;
  PFND3D12DDI_OFFERRESOURCES                                       pfnOfferResources;
  PFND3D12DDI_RECLAIMRESOURCES_0001                                pfnReclaimResources;
  PFND3D12DDI_GETIMPLICITPHYSICALADAPTERMASK                       pfnGetImplicitPhysicalAdapterMask;
  PFND3D12DDI_GET_PRESENT_PRIVATE_DRIVER_DATA_SIZE                 pfnGetPresentPrivateDriverDataSize;
  PFND3D12DDI_QUERY_NODE_MAP                                       pfnQueryNodeMap;
  PFND3D12DDI_RETRIEVE_SHADER_COMMENT_0003                         pfnRetrieveShaderComment;
  PFND3D12DDI_CHECKRESOURCEALLOCATIONHANDLE                        pfnCheckResourceAllocationHandle;
  PFND3D12DDI_CALC_PRIVATE_PIPELINE_LIBRARY_SIZE_0010              pfnCalcPrivatePipelineLibrarySize;
  PFND3D12DDI_CREATE_PIPELINE_LIBRARY_0010                         pfnCreatePipelineLibrary;
  PFND3D12DDI_DESTROY_PIPELINE_LIBRARY_0010                        pfnDestroyPipelineLibrary;
  PFND3D12DDI_ADD_PIPELINE_STATE_TO_LIBRARY_0010                   pfnAddPipelineStateToLibrary;
  PFND3D12DDI_CALC_SERIALIZED_LIBRARY_SIZE_0010                    pfnCalcSerializedLibrarySize;
  PFND3D12DDI_SERIALIZE_LIBRARY_0010                               pfnSerializeLibrary;
  PFND3D12DDI_GET_DEBUG_ALLOCATION_INFO_0014                       pfnGetDebugAllocationInfo;
  PFND3D12DDI_CALC_PRIVATE_COMMAND_RECORDER_SIZE_0040              pfnCalcPrivateCommandRecorderSize;
  PFND3D12DDI_CREATE_COMMAND_RECORDER_0040                         pfnCreateCommandRecorder;
  PFND3D12DDI_DESTROY_COMMAND_RECORDER_0040                        pfnDestroyCommandRecorder;
  PFND3D12DDI_COMMAND_RECORDER_SET_COMMAND_POOL_AS_TARGET_0040     pfnCommandRecorderSetCommandPoolAsTarget;
  PFND3D12DDI_CALCPRIVATESCHEDULINGGROUPSIZE_0050                  pfnCalcPrivateSchedulingGroupSize;
  PFND3D12DDI_CREATESCHEDULINGGROUP_0050                           pfnCreateSchedulingGroup;
  PFND3D12DDI_DESTROYSCHEDULINGGROUP_0050                          pfnDestroySchedulingGroup;
  PFND3D12DDI_ENUMERATE_META_COMMANDS_0052                         pfnEnumerateMetaCommands;
  PFND3D12DDI_ENUMERATE_META_COMMAND_PARAMETERS_0052               pfnEnumerateMetaCommandParameters;
  PFND3D12DDI_CALC_PRIVATE_META_COMMAND_SIZE_0052                  pfnCalcPrivateMetaCommandSize;
  PFND3D12DDI_CREATE_META_COMMAND_0052                             pfnCreateMetaCommand;
  PFND3D12DDI_DESTROY_META_COMMAND_0052                            pfnDestroyMetaCommand;
  PFND3D12DDI_GET_META_COMMAND_REQUIRED_PARAMETER_INFO_0052        pfnGetMetaCommandRequiredParameterInfo;
} D3D12DDI_DEVICE_FUNCS_CORE_0052;

Anggota

pfnCheckFormatSupport

Periksa dukungan format.

pfnCheckMultisampleQualityLevels

Periksa tingkat kualitas multi sampel.

pfnGetMipPacking

Dapatkan pengepakan MIP.

pfnCalcPrivateElementLayoutSize

Menghitung ukuran tata letak elemen privat.

pfnCreateElementLayout

Buat tata letak elemen.

pfnDestroyElementLayout

Menghancurkan tata letak elemen.

pfnCalcPrivateBlendStateSize

Hitung ukuran status campuran privat.

pfnCreateBlendState

Buat status campuran.

pfnDestroyBlendState

Hancurkan keadaan campuran.

pfnCalcPrivateDepthStencilStateSize

Hitung ukuran status stensil kedalaman privat.

pfnCreateDepthStencilState

Buat status stensil kedalaman.

pfnDestroyDepthStencilState

Menghancurkan status stensil kedalaman.

pfnCalcPrivateRasterizerStateSize

Hitung ukuran status rasterizer privat.

pfnCreateRasterizerState

Buat status rasterizer.

pfnDestroyRasterizerState

Hancurkan keadaan rasterizer.

pfnCalcPrivateShaderSize

Menghitung ukuran shader privat.

pfnCreateVertexShader

Buat shader vertex.

pfnCreatePixelShader

Buat piksel shader.

pfnCreateGeometryShader

Buat shader geometri.

pfnCreateComputeShader

Buat shader komputasi.

pfnCalcPrivateGeometryShaderWithStreamOutput

Hitung shader geometri privat dengan output aliran.

pfnCreateGeometryShaderWithStreamOutput

Buat shader geometri dengan output aliran.

pfnCalcPrivateTessellationShaderSize

Hitung ukuran shader tessellation privat.

pfnCreateHullShader

Buat shader lambung.

pfnCreateDomainShader

Membuat shader domain.

pfnDestroyShader

Hancurkan shader.

pfnCalcPrivateCommandQueueSize

Menghitung ukuran antrean perintah privat.

pfnCreateCommandQueue

Buat antrean perintah.

pfnDestroyCommandQueue

Hancurkan antrean perintah.

pfnCalcPrivateCommandPoolSize

Hitung ukuran kumpulan perintah privat.

pfnCreateCommandPool

Buat kumpulan perintah.

pfnDestroyCommandPool

Hancurkan kumpulan perintah.

pfnResetCommandPool

Reset kumpulan perintah.

pfnCalcPrivatePipelineStateSize

Menghitung ukuran status alur privat.

pfnCreatePipelineState

Buat status alur.

pfnDestroyPipelineState

Hancurkan status alur.

pfnCalcPrivateCommandListSize

Menghitung ukuran daftar perintah privat.

pfnCreateCommandList

Buat daftar perintah.

pfnDestroyCommandList

Hancurkan daftar perintah.

pfnCalcPrivateFenceSize

Hitung ukuran pagar privat.

pfnCreateFence

Buat pagar.

pfnDestroyFence

Menghancurkan pagar.

pfnCalcPrivateDescriptorHeapSize

Menghitung ukuran timbunan deskriptor privat.

pfnCreateDescriptorHeap

Buat tumpuk deskriptor.

pfnDestroyDescriptorHeap

Hancurkan tumpuk deskriptor.

pfnGetDescriptorSizeInBytes

Dapatkan ukuran deskriptor dalam byte.

pfnGetCPUDescriptorHandleForHeapStart

Dapatkan handel deskriptor CPU untuk heap start.

pfnGetGPUDescriptorHandleForHeapStart

Dapatkan handel deskriptor GPU untuk heap start.

pfnCreateShaderResourceView

Membuat tampilan sumber daya shader.

pfnCreateConstantBufferView

Membuat tampilan buffer konstanta.

pfnCreateSampler

Buat sampler.

pfnCreateUnorderedAccessView

Membuat tampilan akses yang tidak berurut.

pfnCreateRenderTargetView

Membuat tampilan target render.

pfnCreateDepthStencilView

Membuat tampilan stensil kedalaman.

pfnCalcPrivateRootSignatureSize

Hitung ukuran tanda tangan akar privat.

pfnCreateRootSignature

Buat tanda tangan akar.

pfnDestroyRootSignature

Hancurkan tanda tangan akar.

pfnMapHeap

Tumpuk peta.

pfnUnmapHeap

Batalkan timbunan.

pfnCalcPrivateHeapAndResourceSizes

Menghitung heap privat dan ukuran sumber daya.

pfnCreateHeapAndResource

Buat timbunan dan sumber daya.

pfnDestroyHeapAndResource

Hancurkan timbunan dan sumber daya.

pfnMakeResident

Jadikan residen.

pfnEvict

Membatalkan.

pfnCalcPrivateOpenedHeapAndResourceSizes

Menghitung heap dan ukuran sumber daya yang dibuka secara privat.

pfnOpenHeapAndResource

Buka timbunan dan sumber daya.

pfnCopyDescriptors

Salin deskriptor.

pfnCopyDescriptorsSimple

Menyalin sampel deskriptor.

pfnCalcPrivateQueryHeapSize

Menghitung ukuran timbunan kueri privat.

pfnCreateQueryHeap

Membuat timbunan kueri.

pfnDestroyQueryHeap

Menghancurkan tumpukan kueri.

pfnCalcPrivateCommandSignatureSize

Hitung ukuran tanda tangan perintah privat.

pfnCreateCommandSignature

Buat tanda tangan perintah.

pfnDestroyCommandSignature

Hancurkan tanda tangan perintah.

pfnCheckResourceVirtualAddress

Periksa alamat virtual sumber daya.

pfnCheckResourceAllocationInfo

Periksa info alokasi sumber daya.

pfnCheckSubresourceInfo

periksa info subsumber daya.

pfnCheckExistingResourceAllocationInfo

Periksa info alokasi sumber daya yang ada.

pfnOfferResources

Menawarkan sumber daya.

pfnReclaimResources

Mengklaim kembali sumber daya.

pfnGetImplicitPhysicalAdapterMask

Dapatkan masker adaptor fisik implisit.

pfnGetPresentPrivateDriverDataSize

Dapatkan ukuran data driver privat yang ada.

pfnQueryNodeMap

Peta simpul kueri.

pfnRetrieveShaderComment

Ambil komentar shader.

pfnCheckResourceAllocationHandle

Periksa handel alokasi sumber daya.

pfnCalcPrivatePipelineLibrarySize

Menghitung ukuran pustaka alur privat.

pfnCreatePipelineLibrary

Buat pustaka alur.

pfnDestroyPipelineLibrary

Menghancurkan pustaka alur.

pfnAddPipelineStateToLibrary

Tambahkan status alur ke pustaka.

pfnCalcSerializedLibrarySize

Hitung ukuran pustaka berseri.

pfnSerializeLibrary

Membuat serialisasi pustaka.

pfnGetDebugAllocationInfo

Mendapatkan info alokasi debug.

pfnCalcPrivateCommandRecorderSize

Menghitung ukuran perekam perintah privat.

pfnCreateCommandRecorder

Buat perekam perintah.

pfnDestroyCommandRecorder

Hancurkan perekam perintah.

pfnCommandRecorderSetCommandPoolAsTarget

Atur kumpulan perintah sebagai target untuk perekam perintah.

pfnCalcPrivateSchedulingGroupSize

Menghitung ukuran grup penjadwalan privat.

pfnCreateSchedulingGroup

Membuat grup penjadwalan.

pfnDestroySchedulingGroup

Menghancurkan grup penjadwalan.

pfnEnumerateMetaCommands

Menghitung meta-command.

pfnEnumerateMetaCommandParameters

Menghitung parameter meta-command.

pfnCalcPrivateMetaCommandSize

Hitung ukuran meta-command privat.

pfnCreateMetaCommand

Buat meta-command.

pfnDestroyMetaCommand

Hancurkan meta-command.

pfnGetMetaCommandRequiredParameterInfo

Dapatkan info parameter meta-command yang diperlukan.

Persyaratan

Persyaratan Nilai
Klien minimum yang didukung Windows 10, version 1809
Header d3d12umddi.h