标签:container dev values bit count idt address 参数类型 splay
功能 | 参数 | 参数类型 |
指定一组命令 | pCommandSignature | ID3D12CommandSignature |
指定命令参数 | pArgumentBuffer | ID3D12Resource |
指定次数 | pCountBuffer | ID3D12Resource |
命令(统一有D3D12_INDIRECT_ARGUMENT_TYPE_前缀) | 固定参数 | 可变参数(由Argument Buffer 指定) | 对应CommandList函数 |
DRAW | UINT VertexCountPerInstance, UINT InstanceCount, UINT StartVertexLocation, UINT StartInstanceLocation | void DrawInstanced( UINT VertexCountPerInstance, UINT InstanceCount, UINT StartVertexLocation, UINT StartInstanceLocation); | |
DRAW_INDEXED | UINT IndexCountPerInstance, UINT InstanceCount, UINT StartIndexLocation, INT BaseVertexLocation, UINT StartInstanceLocation | void DrawIndexedInstanced( UINT IndexCountPerInstance, UINT InstanceCount, UINT StartIndexLocation, INT BaseVertexLocation, UINT StartInstanceLocation); | |
DISPATCH | UINT ThreadGroupCountX, UINT ThreadGroupCountY, UINT ThreadGroupCountZ | void Dispatch( UINT ThreadGroupCountX, UINT ThreadGroupCountY, UINT ThreadGroupCountZ); | |
VERTEX_BUFFER_VIEW | UINT Slot; | UINT NumViews, const D3D12_VERTEX_BUFFER_VIEW *pViews | void IASetVertexBuffers( UINT StartSlot, UINT NumViews, const D3D12_VERTEX_BUFFER_VIEW *pViews); |
INDEX_BUFFER_VIEW | const D3D12_INDEX_BUFFER_VIEW *pView | void IASetIndexBuffer( const D3D12_INDEX_BUFFER_VIEW *pView); | |
CONSTANT | UINT RootParameterIndex; UINT DestOffsetIn32BitValues; UINT Num32BitValuesToSet; | void *pSrcData | void SetComputeRoot32BitConstants( UINT RootParameterIndex, UINT Num32BitValuesToSet, const void *pSrcData, UINT DestOffsetIn32BitValues); void SetGraphicsRoot32BitConstants( UINT RootParameterIndex, UINT Num32BitValuesToSet, const void *pSrcData, UINT DestOffsetIn32BitValues); |
CONSTANT_BUFFER_VIEW | UINT RootParameterIndex; | D3D12_GPU_VIRTUAL_ADDRESS BufferLocation | void SetComputeRootConstantBufferView( UINT RootParameterIndex, D3D12_GPU_VIRTUAL_ADDRESS BufferLocation); void SetGraphicsRootConstantBufferView( UINT RootParameterIndex, D3D12_GPU_VIRTUAL_ADDRESS BufferLocation); |
SHADER_RESOURCE_VIEW | UINT RootParameterIndex; | D3D12_GPU_VIRTUAL_ADDRESS BufferLocation | void SetComputeRootShaderResourceView( UINT RootParameterIndex, D3D12_GPU_VIRTUAL_ADDRESS BufferLocation); void SetGraphicsRootShaderResourceView( UINT RootParameterIndex, D3D12_GPU_VIRTUAL_ADDRESS BufferLocation); |
UNORDERED_ACCESS_VIEW | UINT RootParameterIndex; | D3D12_GPU_VIRTUAL_ADDRESS BufferLocation | void SetComputeRootUnorderedAccessView( UINT RootParameterIndex, D3D12_GPU_VIRTUAL_ADDRESS BufferLocation); void SetGraphicsRootUnorderedAccessView( UINT RootParameterIndex, D3D12_GPU_VIRTUAL_ADDRESS BufferLocation); |
标签:container dev values bit count idt address 参数类型 splay
原文地址:https://www.cnblogs.com/dydx/p/10994457.html