pub struct ID3D12GraphicsCommandListVtbl {
pub parent: ID3D12CommandListVtbl,
pub Close: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList) -> HRESULT,
pub Reset: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pAllocator: *mut ID3D12CommandAllocator, pInitialState: *mut ID3D12PipelineState) -> HRESULT,
pub ClearState: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pPipelineState: *mut ID3D12PipelineState),
pub DrawInstanced: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, VertexCountPerInstance: UINT, InstanceCount: UINT, StartVertexLocation: UINT, StartInstanceLocation: UINT),
pub DrawIndexedInstanced: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, IndexCountPerInstance: UINT, InstanceCount: UINT, StartIndexLocation: UINT, BaseVertexLocation: INT, StartInstanceLocation: UINT),
pub Dispatch: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, ThreadGroupCountX: UINT, ThreadGroupCountY: UINT, ThreadGroupCountZ: UINT),
pub CopyBufferRegion: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pDstBuffer: *mut ID3D12Resource, DstOffset: UINT64, pSrcBuffer: *mut ID3D12Resource, SrcOffset: UINT64, NumBytes: UINT64),
pub CopyTextureRegion: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pDst: *const D3D12_TEXTURE_COPY_LOCATION, DstX: UINT, DstY: UINT, DstZ: UINT, pSrc: *const D3D12_TEXTURE_COPY_LOCATION, pSrcBox: *const D3D12_BOX),
pub CopyResource: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pDstResource: *mut ID3D12Resource, pSrcResource: *mut ID3D12Resource),
pub CopyTiles: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pTiledResource: *mut ID3D12Resource, pTileRegionStartCoordinate: *const D3D12_TILED_RESOURCE_COORDINATE, pTileRegionSize: *const D3D12_TILE_REGION_SIZE, pBuffer: *mut ID3D12Resource, BufferStartOffsetInBytes: UINT64, Flags: D3D12_TILE_COPY_FLAGS),
pub ResolveSubresource: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pDstResource: *mut ID3D12Resource, DstSubresource: UINT, pSrcResource: *mut ID3D12Resource, SrcSubresource: UINT, Format: DXGI_FORMAT),
pub IASetPrimitiveTopology: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, PrimitiveTopology: D3D12_PRIMITIVE_TOPOLOGY),
pub RSSetViewports: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, NumViewports: UINT, pViewports: *const D3D12_VIEWPORT),
pub RSSetScissorRects: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, NumRects: UINT, pRects: *const D3D12_RECT),
pub OMSetBlendFactor: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, BlendFactor: *const [FLOAT; 4]),
pub OMSetStencilRef: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, StencilRef: UINT),
pub SetPipelineState: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pPipelineState: *mut ID3D12PipelineState),
pub ResourceBarrier: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, NumBarriers: UINT, pBarriers: *const D3D12_RESOURCE_BARRIER),
pub ExecuteBundle: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pCommandList: *mut ID3D12GraphicsCommandList),
pub SetDescriptorHeaps: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, NumDescriptorHeaps: UINT, ppDescriptorHeaps: *mut *mut ID3D12DescriptorHeap),
pub SetComputeRootSignature: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pRootSignature: *mut ID3D12RootSignature),
pub SetGraphicsRootSignature: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pRootSignature: *mut ID3D12RootSignature),
pub SetComputeRootDescriptorTable: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, BaseDescriptor: D3D12_GPU_DESCRIPTOR_HANDLE),
pub SetGraphicsRootDescriptorTable: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, BaseDescriptor: D3D12_GPU_DESCRIPTOR_HANDLE),
pub SetComputeRoot32BitConstant: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, SrcData: UINT, DestOffsetIn32BitValues: UINT),
pub SetGraphicsRoot32BitConstant: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, SrcData: UINT, DestOffsetIn32BitValues: UINT),
pub SetComputeRoot32BitConstants: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, Num32BitValuesToSet: UINT, pSrcData: *const c_void, DestOffsetIn32BitValues: UINT),
pub SetGraphicsRoot32BitConstants: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, Num32BitValuesToSet: UINT, pSrcData: *const c_void, DestOffsetIn32BitValues: UINT),
pub SetComputeRootConstantBufferView: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, BufferLocation: D3D12_GPU_VIRTUAL_ADDRESS),
pub SetGraphicsRootConstantBufferView: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, BufferLocation: D3D12_GPU_VIRTUAL_ADDRESS),
pub SetComputeRootShaderResourceView: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, BufferLocation: D3D12_GPU_VIRTUAL_ADDRESS),
pub SetGraphicsRootShaderResourceView: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, BufferLocation: D3D12_GPU_VIRTUAL_ADDRESS),
pub SetComputeRootUnorderedAccessView: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, BufferLocation: D3D12_GPU_VIRTUAL_ADDRESS),
pub SetGraphicsRootUnorderedAccessView: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RootParameterIndex: UINT, BufferLocation: D3D12_GPU_VIRTUAL_ADDRESS),
pub IASetIndexBuffer: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pView: *const D3D12_INDEX_BUFFER_VIEW),
pub IASetVertexBuffers: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, StartSlot: UINT, NumViews: UINT, pViews: *const D3D12_VERTEX_BUFFER_VIEW),
pub SOSetTargets: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, StartSlot: UINT, NumViews: UINT, pViews: *const D3D12_STREAM_OUTPUT_BUFFER_VIEW),
pub OMSetRenderTargets: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, NumRenderTargetDescriptors: UINT, pRenderTargetDescriptors: *const D3D12_CPU_DESCRIPTOR_HANDLE, RTsSingleHandleToDescriptorRange: BOOL, pDepthStencilDescriptor: *const D3D12_CPU_DESCRIPTOR_HANDLE),
pub ClearDepthStencilView: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, DepthStencilView: D3D12_CPU_DESCRIPTOR_HANDLE, ClearFlags: D3D12_CLEAR_FLAGS, Depth: FLOAT, Stencil: UINT8, NumRects: UINT, pRects: *const D3D12_RECT),
pub ClearRenderTargetView: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, RenderTargetView: D3D12_CPU_DESCRIPTOR_HANDLE, ColorRGBA: *const [FLOAT; 4], NumRects: UINT, pRects: *const D3D12_RECT),
pub ClearUnorderedAccessViewUint: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, ViewGPUHandleInCurrentHeap: D3D12_GPU_DESCRIPTOR_HANDLE, ViewCPUHandle: D3D12_CPU_DESCRIPTOR_HANDLE, pResource: *mut ID3D12Resource, Values: *const [UINT; 4], NumRects: UINT, pRects: *const D3D12_RECT),
pub ClearUnorderedAccessViewFloat: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, ViewGPUHandleInCurrentHeap: D3D12_GPU_DESCRIPTOR_HANDLE, ViewCPUHandle: D3D12_CPU_DESCRIPTOR_HANDLE, pResource: *mut ID3D12Resource, Values: *const [FLOAT; 4], NumRects: UINT, pRects: *const D3D12_RECT),
pub DiscardResource: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pResource: *mut ID3D12Resource, pRegion: *const D3D12_DISCARD_REGION),
pub BeginQuery: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pQueryHeap: *mut ID3D12QueryHeap, Type: D3D12_QUERY_TYPE, Index: UINT),
pub EndQuery: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pQueryHeap: *mut ID3D12QueryHeap, Type: D3D12_QUERY_TYPE, Index: UINT),
pub ResolveQueryData: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pQueryHeap: *mut ID3D12QueryHeap, Type: D3D12_QUERY_TYPE, StartIndex: UINT, NumQueries: UINT, pDestinationBuffer: *mut ID3D12Resource, AlignedDestinationBufferOffset: UINT64),
pub SetPredication: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pBuffer: *mut ID3D12Resource, AlignedBufferOffset: UINT64, Operation: D3D12_PREDICATION_OP),
pub SetMarker: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, Metadata: UINT, pData: *const c_void, Size: UINT),
pub BeginEvent: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, Metadata: UINT, pData: *const c_void, Size: UINT),
pub EndEvent: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList),
pub ExecuteIndirect: unsafe extern "system" fn(This: *mut ID3D12GraphicsCommandList, pCommandSignature: *mut ID3D12CommandSignature, MaxCommandCount: UINT, pArgumentBuffer: *mut ID3D12Resource, ArgumentBufferOffset: UINT64, pCountBuffer: *mut ID3D12Resource, CountBufferOffset: UINT64),
}
Fields
parent | |
Close | |
Reset | |
ClearState | |
DrawInstanced | |
DrawIndexedInstanced | |
Dispatch | |
CopyBufferRegion | |
CopyTextureRegion | |
CopyResource | |
CopyTiles | |
ResolveSubresource | |
IASetPrimitiveTopology | |
|
|
OMSetBlendFactor | |
OMSetStencilRef | |
SetPipelineState | |
ResourceBarrier | |
ExecuteBundle | |
SetDescriptorHeaps | |
SetComputeRootSignature | |
SetGraphicsRootSignature | |
SetComputeRootDescriptorTable | |
SetGraphicsRootDescriptorTable | |
SetComputeRoot32BitConstant | |
SetGraphicsRoot32BitConstant | |
SetComputeRoot32BitConstants | |
SetGraphicsRoot32BitConstants | |
SetComputeRootConstantBufferView | |
SetGraphicsRootConstantBufferView | |
SetComputeRootShaderResourceView | |
SetGraphicsRootShaderResourceView | |
SetComputeRootUnorderedAccessView | |
SetGraphicsRootUnorderedAccessView | |
IASetIndexBuffer | |
IASetVertexBuffers | |
SOSetTargets | |
OMSetRenderTargets | |
ClearDepthStencilView | |
ClearRenderTargetView | |
ClearUnorderedAccessViewUint | |
ClearUnorderedAccessViewFloat | |
DiscardResource | |
BeginQuery | |
EndQuery | |
ResolveQueryData | |
SetPredication | |
SetMarker | |
BeginEvent | |
EndEvent | |
ExecuteIndirect | |