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 別名。

傳回值

規格需求

需求
目標平台 Windows
標頭 d3d12.h
程式庫 D3d12.lib
Dll D3d12.dll

另請參閱

ID3D12GraphicsCommandList