ID3D12GraphicsCommandList::SetComputeRootUnorderedAccessView 方法 (d3d12.h)
設定計算根簽章中 unordered-access-view 資源的 CPU 描述元句柄。
語法
void SetComputeRootUnorderedAccessView(
[in] UINT RootParameterIndex,
[in] D3D12_GPU_VIRTUAL_ADDRESS BufferLocation
);
參數
[in] RootParameterIndex
類型:UINT
系結的插槽編號。
[in] BufferLocation
類型:D3D12_GPU_VIRTUAL_ADDRESS
緩衝區的 GPU 虛擬位址。 D3D12_GPU_VIRTUAL_ADDRESS是 UINT64 的 typedef'd 別名。
傳回值
沒有
要求
要求 | 價值 |
---|---|
目標平臺 | 窗戶 |
標頭 | d3d12.h |
連結庫 | D3d12.lib |
DLL | D3d12.dll |