ID3D12CommandList::SetComputeRootUnorderedAccessView method

[This documentation is preliminary and is subject to change.]

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

Syntax


void SetComputeRootUnorderedAccessView(
  [in]  UINT RootParameterIndex,
  [in]  D3D12_CPU_DESCRIPTOR_HANDLE DescriptorHandle
);

Parameters

RootParameterIndex [in]

Type: UINT

The slot number for binding.

DescriptorHandle [in]

Type: D3D12_CPU_DESCRIPTOR_HANDLE

A D3D12_CPU_DESCRIPTOR_HANDLE structure that describes the CPU descriptor handle that represents the start of the heap.

Return value

Returns nothing.

Requirements

Header

D3D12.h

Library

D3D12.lib

DLL

D3D12.dll

See also

ID3D12CommandList

 

 

Show: