ID3D12GraphicsCommandList::SetGraphicsRootUnorderedAccessView method

Sets a CPU descriptor handle for the unordered-access-view resource in the graphics root signature.

Syntax

void SetGraphicsRootUnorderedAccessView(
  UINT                      RootParameterIndex,
  D3D12_GPU_VIRTUAL_ADDRESS BufferLocation
);

Parameters

RootParameterIndex

Type: UINT

The slot number for binding.

BufferLocation

Type: D3D12_GPU_VIRTUAL_ADDRESS

The GPU virtual address of the buffer. D3D12_GPU_VIRTUAL_ADDRESS is a typedef'd alias of UINT64.

Return Value

This method does not return a value.

Requirements

   
Target Platform Windows
Header d3d12.h
Library D3d12.lib
DLL D3d12.dll

See Also

ID3D12GraphicsCommandList